aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLikun Gao <Likun.Gao@amd.com>2018-07-09 14:47:04 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-08-27 12:10:34 -0400
commit0df5295c99de7bd092392bc6f902db26baf99042 (patch)
tree14ee7a4c52b7c98d34a925ec08850c9fb8e416ea /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent654f761cfa0454bbfdf50d5ed6dc004c92114a97 (diff)
drm/amdgpu/vg20: Change the load type of vega20 to psp (v2)
Modified the vega20 load type to psp now that psp support is implemented. v2: squash in fixes history (Alex) Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
index f55f72a37ca8..b419d6e33b3a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -303,12 +303,11 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
303 case CHIP_VEGA10: 303 case CHIP_VEGA10:
304 case CHIP_RAVEN: 304 case CHIP_RAVEN:
305 case CHIP_VEGA12: 305 case CHIP_VEGA12:
306 case CHIP_VEGA20:
306 if (!load_type) 307 if (!load_type)
307 return AMDGPU_FW_LOAD_DIRECT; 308 return AMDGPU_FW_LOAD_DIRECT;
308 else 309 else
309 return AMDGPU_FW_LOAD_PSP; 310 return AMDGPU_FW_LOAD_PSP;
310 case CHIP_VEGA20:
311 return AMDGPU_FW_LOAD_DIRECT;
312 default: 311 default:
313 DRM_ERROR("Unknown firmware load type\n"); 312 DRM_ERROR("Unknown firmware load type\n");
314 } 313 }