From: Feifei Xu Date: Fri, 20 Oct 2017 02:25:55 +0000 (+0800) Subject: drm/amdgpu: add vega12 ucode loading method X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b9c6e1b15418e0fb349b537e647ec607ae98fb7;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: add vega12 ucode loading method Same as vega10. Acked-by: Christian König Signed-off-by: Alex Deucher Reviewed-by: Feifei Xu Signed-off-by: Hawking Zhang --- 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