aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorXiaojie Yuan <[email protected]>2019-07-17 21:00:00 +0000
committerAlex Deucher <[email protected]>2019-08-02 15:30:41 +0000
commite60cc94b268a65cc46f8fd430e98e764a4f46370 (patch)
treec82526f6357cfb27e40fc2c29fcd357504edf181 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parentdrm/amdgpu/psp11: add psp support for navi12 (diff)
downloadkernel-e60cc94b268a65cc46f8fd430e98e764a4f46370.tar.gz
kernel-e60cc94b268a65cc46f8fd430e98e764a4f46370.zip
drm/amdgpu: start autoload till RLCG fw for navi12
rlc save restore list is not ready yet for navi12 Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index d1ac73eca06a..51fb890e2d3b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -1025,7 +1025,8 @@ out:
return ret;
/* Start rlc autoload after psp recieved all the gfx firmware */
- if (ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM) {
+ if (ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM ||
+ (adev->asic_type == CHIP_NAVI12 && ucode->ucode_id == AMDGPU_UCODE_ID_RLC_G)) {
ret = psp_rlc_autoload(psp);
if (ret) {
DRM_ERROR("Failed to start rlc autoload\n");