drm/amdgpu: Enable CP idle interrupts
authorLijo Lazar <lijo.lazar@amd.com>
Sat, 16 Jan 2021 05:57:55 +0000 (13:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:57:36 +0000 (22:57 -0400)
commit8cf3dccb0726482cdda6b1ae687b571e84519fb7
tree8ce013d75c79cf6fb015c8eec35f10e6da7f3bf8
parent8a6b6b667cc2b394a94198e85e6c7f920445b589
drm/amdgpu: Enable CP idle interrupts

v1: The interrupts need to be enabled to move to DS clocks.
v2: Don't enable GFX IDLE interrupts if there are no GFX rings.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c