drm/amdgpu: enable context empty interrupt on sdma v4.4.2
authorLe Ma <le.ma@amd.com>
Fri, 3 Feb 2023 06:38:33 +0000 (14:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:52:41 +0000 (09:52 -0400)
commit35ff4301ebc37bd45c18edae08afd2983dc9a338
tree71800dd74286de678a6c9e43c49f8d9c24ddbd66
parent7b08b2e1caa04757bc7a35a46b3d5c83b1748423
drm/amdgpu: enable context empty interrupt on sdma v4.4.2

With SDMA_CTNL.CTXEMPTY_INT_ENABLE set, the F32 clock can be gated when
SDMA finishes all job and goes to idle.

And no specific interrupt handling is required in driver.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c