The function is ready on psp firmware, and enable it by default.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
else
return AMDGPU_FW_LOAD_PSP;
case CHIP_CYAN_SKILLFISH:
- if (adev->apu_flags & AMD_APU_IS_CYAN_SKILLFISH2 &&
- load_type > 1)
+ if (!(load_type &&
+ adev->apu_flags & AMD_APU_IS_CYAN_SKILLFISH2))
+ return AMDGPU_FW_LOAD_DIRECT;
+ else
return AMDGPU_FW_LOAD_PSP;
- return AMDGPU_FW_LOAD_DIRECT;
default:
DRM_ERROR("Unknown firmware load type\n");
}