drm/amdkfd: add hqd_sdma_get_doorbell callbacks for gfx7/8
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Jun 2025 22:15:37 +0000 (18:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Jun 2025 17:57:54 +0000 (13:57 -0400)
commit34659c1a1f4fd4c148ab13e13b11fd64df01ffcd
tree35ca3202a5bc1c6b40de353287c3306398731733
parentf3e58d8e154dae5015c7400812c80789589fc36e
drm/amdkfd: add hqd_sdma_get_doorbell callbacks for gfx7/8

These were missed when support was added for other generations.
The callbacks are called unconditionally so we need to make
sure all generations have them.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4304
Link: https://github.com/ROCm/ROCm/issues/4965
Fixes: bac38ca8c475 ("drm/amdkfd: implement per queue sdma reset for gfx 9.4+")
Cc: Jonathan Kim <jonathan.kim@amd.com>
Reported-by: Johl Brown <johlbrown@gmail.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1e9d17a5dcf1242e9518e461d8e63ad35240e49e)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c