Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Likun Gao and committed by
Alex Deucher
d0b6c5f2 77385a2d

+4
+4
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
··· 1998 1998 static void gfx_v12_1_xcc_cp_set_doorbell_range(struct amdgpu_device *adev, 1999 1999 int xcc_id) 2000 2000 { 2001 + /* disable gfx engine doorbell range */ 2002 + WREG32_SOC15(GC, GET_INST(GC, xcc_id), regCP_RB_DOORBELL_RANGE_LOWER, 0); 2003 + WREG32_SOC15(GC, GET_INST(GC, xcc_id), regCP_RB_DOORBELL_RANGE_UPPER, 0); 2004 + 2001 2005 /* set compute engine doorbell range */ 2002 2006 WREG32_SOC15(GC, GET_INST(GC, xcc_id), regCP_MEC_DOORBELL_RANGE_LOWER, 2003 2007 ((adev->doorbell_index.kiq +