diff options
author | Jiansong Chen <Jiansong.Chen@amd.com> | 2020-02-10 10:03:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-15 19:45:45 +0300 |
commit | 47eb83d9a677af04cbe470c952fd006d383209c7 (patch) | |
tree | b088eb7c2aee0fb21c4d6b61e88eb7f1873c55c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 120eb83336098ec9cdd21e81b80ccd8232287110 (diff) | |
download | linux-47eb83d9a677af04cbe470c952fd006d383209c7.tar.xz |
drm/amdgpu: set fw load type for navy_flounder
Currently navy_flounder only supports backdoor loading type.
Will switch to psp load type when psp is ready.
Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 3 |
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 744404a05fee..43af71c3202c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -394,7 +394,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_NAVY_FLOUNDER: + return AMDGPU_FW_LOAD_DIRECT; default: DRM_ERROR("Unknown firmware load type\n"); } |