summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2020-03-09 15:00:59 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-10-12 21:00:07 +0300
commita14e093619c19bfb44567eab143218f910b2cd1a (patch)
tree42ddf0595c78ba1c1485851426d58b0a969f42b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parenta0200254ec10dac6e3ffafbbc519d161c4044762 (diff)
downloadlinux-a14e093619c19bfb44567eab143218f910b2cd1a.tar.xz
drm/amdgpu: set fw load type for dimgrey_cavefish
Use direct load for dimgrey_cavefish. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Jiansong Chen <Jiansong.Chen@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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
index 676405171a4c..d068bffed742 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -396,6 +396,8 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
return AMDGPU_FW_LOAD_DIRECT;
else
return AMDGPU_FW_LOAD_PSP;
+ case CHIP_DIMGREY_CAVEFISH:
+ return AMDGPU_FW_LOAD_DIRECT;
default:
DRM_ERROR("Unknown firmware load type\n");
}