]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/amdgpu: set fw load type for beige_goby
authorChengming Gui <Jack.Gui@amd.com>
Tue, 13 Oct 2020 06:38:49 +0000 (14:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:39:49 +0000 (22:39 -0400)
Use direct load for beige_goby

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

index 9733224117e36866fc07f28021d1ef1189d1532c..47119f91c817f1393028e6bb28c8dcdd3b54ae0f 100644 (file)
@@ -407,6 +407,8 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
                        return AMDGPU_FW_LOAD_DIRECT;
                else
                        return AMDGPU_FW_LOAD_PSP;
+       case CHIP_BEIGE_GOBY:
+               return AMDGPU_FW_LOAD_DIRECT;
        default:
                DRM_ERROR("Unknown firmware load type\n");
        }