drm/amdgpu: add Raven chip id case for ucode
Set the appropriate ucode loading mechanism. Set to direct for now. Signed-off-by: Chunming Zhou <David1.Zhou@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5c5928a238
commit
4456ef4ea6
@ -274,6 +274,15 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
|
|||||||
return AMDGPU_FW_LOAD_DIRECT;
|
return AMDGPU_FW_LOAD_DIRECT;
|
||||||
else
|
else
|
||||||
return AMDGPU_FW_LOAD_PSP;
|
return AMDGPU_FW_LOAD_PSP;
|
||||||
|
case CHIP_RAVEN:
|
||||||
|
#if 0
|
||||||
|
if (!load_type)
|
||||||
|
return AMDGPU_FW_LOAD_DIRECT;
|
||||||
|
else
|
||||||
|
return AMDGPU_FW_LOAD_PSP;
|
||||||
|
#else
|
||||||
|
return AMDGPU_FW_LOAD_DIRECT;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
DRM_ERROR("Unknow firmware load type\n");
|
DRM_ERROR("Unknow firmware load type\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user