drm/amdgpu: Add handler for SDMA context empty
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 1 Jan 2025 04:31:50 +0000 (10:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Jan 2025 14:52:43 +0000 (09:52 -0500)
commitb1df8050e7c7b7c1ff8ce9715e12f1c825aedbc3
tree96e8cd2a6b05f26e5717376300b7eeef63da7567
parent9d63fbf75158811bccd08c5ac9b2db70427c3e51
drm/amdgpu: Add handler for SDMA context empty

Context empty interrupt is enabled for SDMA 4.4.2. Add a handler for
context empty interrupt so that it is disposed of fast, and not
propagated to KFD layer.

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