aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLe Ma <[email protected]>2019-11-12 08:16:03 +0000
committerAlex Deucher <[email protected]>2021-03-10 05:01:54 +0000
commitd39da7dab14042fb7c10ee5fdc888a9ad3da362f (patch)
treeba99a9ec020f632b6fc3b162bcc985b0f1830957 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/amdgpu: add gmc v9 block support for Aldebaran (diff)
downloadkernel-d39da7dab14042fb7c10ee5fdc888a9ad3da362f.tar.gz
kernel-d39da7dab14042fb7c10ee5fdc888a9ad3da362f.zip
drm/amdgpu: set fw load type for aldebaran
Set backdoor loading way in current phase v2: change case location to not break other asics Signed-off-by: Le Ma <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Acked-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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 1beb08af347f..358134b29c18 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -406,6 +406,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_ALDEBARAN:
+ return AMDGPU_FW_LOAD_DIRECT;
default:
DRM_ERROR("Unknown firmware load type\n");
}