aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorFeifei Xu <[email protected]>2018-04-20 05:38:24 +0000
committerAlex Deucher <[email protected]>2018-05-17 15:13:11 +0000
commit4b1f540ae1a9eba826538cb37f6791729e2bcec8 (patch)
tree962925f39d7f337c60e41bb21edd06b8cbd1523b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/amdgpu/psp: Add initial psp support for vega20 (diff)
downloadkernel-4b1f540ae1a9eba826538cb37f6791729e2bcec8.tar.gz
kernel-4b1f540ae1a9eba826538cb37f6791729e2bcec8.zip
drm/amdgpu: Add vega20 ucode loading method
The same as vega10. Reviewed-by: Christian König <[email protected]> Signed-off-by: Feifei Xu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Hawking Zhang <[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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
index 75592bd04d6a..b419d6e33b3a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -303,6 +303,7 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
case CHIP_VEGA10:
case CHIP_RAVEN:
case CHIP_VEGA12:
+ case CHIP_VEGA20:
if (!load_type)
return AMDGPU_FW_LOAD_DIRECT;
else