Commit c5d0aa48 authored by Lang Yu's avatar Lang Yu Committed by Alex Deucher

drm/amdgpu: use direct loading by default for cyan_skillfish2

Will switch to front door loading by default after this function is
stable.

v2: use APU flags (Alex)
Signed-off-by: default avatarLang Yu <lang.yu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1c7916af
......@@ -410,6 +410,9 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
else
return AMDGPU_FW_LOAD_PSP;
case CHIP_CYAN_SKILLFISH:
if (adev->apu_flags & AMD_APU_IS_CYAN_SKILLFISH2 &&
load_type > 1)
return AMDGPU_FW_LOAD_PSP;
return AMDGPU_FW_LOAD_DIRECT;
default:
DRM_ERROR("Unknown firmware load type\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment