]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: check gfx pipe availability before toggling its interrupts
authorHawking Zhang <Hawking.Zhang@amd.com>
Sat, 21 Nov 2020 13:58:19 +0000 (21:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:01:11 +0000 (15:01 -0500)
commit507a241f897628260faa1e7f4efb8f122044690c
tree40519069b9f3439c71ce21ae5de7fe018c996f66
parent7a6407cdca20bdc011e21035efccb1f82be5d8e2
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>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c