summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFeifei Xu <Feifei.Xu@amd.com>2017-10-20 10:25:55 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 14:24:18 -0500
commit6b9c6e1b15418e0fb349b537e647ec607ae98fb7 (patch)
tree4358f575377f0fd861e82da5a54faa54827967d0 /drivers
parenteddfa8dfadf66c45bb3cfae8c33e81df22e3fb8c (diff)
downloadlinux-6b9c6e1b15418e0fb349b537e647ec607ae98fb7.tar.bz2
drm/amdgpu: add vega12 ucode loading method
Same as vega10. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Diffstat (limited to 'drivers')
-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 474f88fbafce..dd6f98921918 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -271,6 +271,7 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
return AMDGPU_FW_LOAD_SMU;
case CHIP_VEGA10:
case CHIP_RAVEN:
+ case CHIP_VEGA12:
if (!load_type)
return AMDGPU_FW_LOAD_DIRECT;
else