aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2018-04-16 22:43:57 -0400
committerZhenyu Wang <zhenyuw@linux.intel.com>2018-04-16 22:45:23 -0400
commit30596ec32e2cd141d73ee8701386887def9e98c0 (patch)
treec8b0d725c46fd8fa504ec0bf41c92c6ff680b406 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentd54e79340ff8d65b6c63ac278158add2fe211fd0 (diff)
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
Back merge 'drm-intel-fixes' into gvt-fixes
Need for 4.17-rc1 Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
index 474f88fbafce..5916cc25e28b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -271,12 +271,13 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
271 return AMDGPU_FW_LOAD_SMU; 271 return AMDGPU_FW_LOAD_SMU;
272 case CHIP_VEGA10: 272 case CHIP_VEGA10:
273 case CHIP_RAVEN: 273 case CHIP_RAVEN:
274 case CHIP_VEGA12:
274 if (!load_type) 275 if (!load_type)
275 return AMDGPU_FW_LOAD_DIRECT; 276 return AMDGPU_FW_LOAD_DIRECT;
276 else 277 else
277 return AMDGPU_FW_LOAD_PSP; 278 return AMDGPU_FW_LOAD_PSP;
278 default: 279 default:
279 DRM_ERROR("Unknow firmware load type\n"); 280 DRM_ERROR("Unknown firmware load type\n");
280 } 281 }
281 282
282 return AMDGPU_FW_LOAD_DIRECT; 283 return AMDGPU_FW_LOAD_DIRECT;