diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2020-11-21 21:58:19 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-23 15:01:11 -0500 |
commit | 462fbeb1fcfcd35e453eeaa80d6d3d26464269fd (patch) | |
tree | 40519069b9f3439c71ce21ae5de7fe018c996f66 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | |
parent | d0f2f634f59d8f35e70644daf956bf04d2ff2d0c (diff) | |
download | linux-462fbeb1fcfcd35e453eeaa80d6d3d26464269fd.tar.gz linux-462fbeb1fcfcd35e453eeaa80d6d3d26464269fd.tar.bz2 linux-462fbeb1fcfcd35e453eeaa80d6d3d26464269fd.zip |
drm/amdgpu: check gfx pipe availability before toggling its interrupts
GUI_IDLE interrupts controlled by CP_INT_CNTL_RING0
are only applicable to me0 pipe0.
For ASICs that have gfx pipe removed, don't toggle
those bits.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c')
0 files changed, 0 insertions, 0 deletions