drm/amdgpu: set navi10's fw loading type as direct
authorHuang Rui <ray.huang@amd.com>
Tue, 18 Jul 2017 11:29:37 +0000 (19:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:36:15 +0000 (21:36 -0500)
For bring up.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

index 33c1eb76c076303bd783d6ca7855873d2c2d6599..9f50d65b350ab0ff64d926cd0cdffa840c79df78 100644 (file)
@@ -306,6 +306,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_NAVI10:
+               return AMDGPU_FW_LOAD_DIRECT;
        default:
                DRM_ERROR("Unknown firmware load type\n");
        }