Skip to content

Commit aec5897

Browse files
Le Magregkh
authored andcommitted
drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
commit f3a8076 upstream. should count on GC IP base address Signed-off-by: Le Ma <le.ma@amd.com> Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c1d5192 commit aec5897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3002,8 +3002,8 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev)
30023002
AMD_PG_SUPPORT_CP |
30033003
AMD_PG_SUPPORT_GDS |
30043004
AMD_PG_SUPPORT_RLC_SMU_HS)) {
3005-
WREG32(mmRLC_JUMP_TABLE_RESTORE,
3006-
adev->gfx.rlc.cp_table_gpu_addr >> 8);
3005+
WREG32_SOC15(GC, 0, mmRLC_JUMP_TABLE_RESTORE,
3006+
adev->gfx.rlc.cp_table_gpu_addr >> 8);
30073007
gfx_v9_0_init_gfx_power_gating(adev);
30083008
}
30093009
}

0 commit comments

Comments
 (0)