drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
commit f3a8076eb28cae1553958c629aecec479394bbe2 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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
c1d519263d
commit
aec5897b27
@@ -3002,7 +3002,7 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev)
|
|||||||
AMD_PG_SUPPORT_CP |
|
AMD_PG_SUPPORT_CP |
|
||||||
AMD_PG_SUPPORT_GDS |
|
AMD_PG_SUPPORT_GDS |
|
||||||
AMD_PG_SUPPORT_RLC_SMU_HS)) {
|
AMD_PG_SUPPORT_RLC_SMU_HS)) {
|
||||||
WREG32(mmRLC_JUMP_TABLE_RESTORE,
|
WREG32_SOC15(GC, 0, mmRLC_JUMP_TABLE_RESTORE,
|
||||||
adev->gfx.rlc.cp_table_gpu_addr >> 8);
|
adev->gfx.rlc.cp_table_gpu_addr >> 8);
|
||||||
gfx_v9_0_init_gfx_power_gating(adev);
|
gfx_v9_0_init_gfx_power_gating(adev);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user