• Tim Huang's avatar
    drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix · 603b9a57
    Tim Huang authored
    GFX v11.0.1 reported fence fallback timer expired issue on
    SDMA and GFX rings after S0ix resume. This is generated by
    EOP interrupts are disabled when S0ix suspend but fails to
    re-enable when resume because of the GFX is in GFXOFF.
    
    [  203.349571] [drm] Fence fallback timer expired on ring sdma0
    [  203.349572] [drm] Fence fallback timer expired on ring gfx_0.0.0
    [  203.861635] [drm] Fence fallback timer expired on ring gfx_0.0.0
    
    For S0ix, GFX is in GFXOFF state, avoid to touch the GFX registers
    to configure the fence driver interrupts for rings that belong to GFX.
    The interrupts configuration will be restored by GFXOFF exit.
    Signed-off-by: default avatarTim Huang <Tim.Huang@amd.com>
    Reviewed-by: default avatarMario Limonciello <mario.limonciello@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    603b9a57
amdgpu_fence.c 26.8 KB