drm/amdgpu: disable graphics doorbell range for gfx v12_1

Disable doorbell range for graphics engine on gfx v12_1.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Likun Gao 2025-06-05 10:36:07 +08:00 committed by Alex Deucher
parent 77385a2dc1
commit d0b6c5f226

View File

@ -1998,6 +1998,10 @@ static void gfx_v12_1_xcc_kiq_setting(struct amdgpu_ring *ring,
static void gfx_v12_1_xcc_cp_set_doorbell_range(struct amdgpu_device *adev,
int xcc_id)
{
/* disable gfx engine doorbell range */
WREG32_SOC15(GC, GET_INST(GC, xcc_id), regCP_RB_DOORBELL_RANGE_LOWER, 0);
WREG32_SOC15(GC, GET_INST(GC, xcc_id), regCP_RB_DOORBELL_RANGE_UPPER, 0);
/* set compute engine doorbell range */
WREG32_SOC15(GC, GET_INST(GC, xcc_id), regCP_MEC_DOORBELL_RANGE_LOWER,
((adev->doorbell_index.kiq +