]> git.ipfire.org Git - thirdparty/linux.git/commit
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 15:56:26 +0000 (11:56 -0400)
commit1e9d17a5dcf1242e9518e461d8e63ad35240e49e
tree814dfc36f3ecbd272df1c134ff7e6511ecf01d83
parent8cf66089e28108dedd47e6156a48489303cf525c
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c