drm/amdgpu: add vega12 ucode loading method
authorFeifei Xu <Feifei.Xu@amd.com>
Fri, 20 Oct 2017 02:25:55 +0000 (10:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:24:18 +0000 (14:24 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

index 474f88fbafceb324465214e0f7fe9f3009e6ef7a..dd6f98921918735328a230a36c3a27438175008c 100644 (file)
@@ -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