diff options
| author | Alex Deucher <[email protected]> | 2018-08-28 19:16:23 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-29 17:41:51 +0000 |
| commit | d9997b64c52b70bd98c48f443f068253621d1ffc (patch) | |
| tree | 3ac895caac95f8711ac9a527fabbee858e604fe4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amdgpu: Relocate some definitions v2 (diff) | |
| download | kernel-d9997b64c52b70bd98c48f443f068253621d1ffc.tar.gz kernel-d9997b64c52b70bd98c48f443f068253621d1ffc.zip | |
drm/amdgpu: add missing CHIP_HAINAN in amdgpu_ucode_get_load_type
This caused a confusing error message, but there is functionally
no problem since the default method is DIRECT.
Reviewed-by: Michel Dänzer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c index b419d6e33b3a..a942fd28dae8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -277,6 +277,7 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) case CHIP_PITCAIRN: case CHIP_VERDE: case CHIP_OLAND: + case CHIP_HAINAN: return AMDGPU_FW_LOAD_DIRECT; #endif #ifdef CONFIG_DRM_AMDGPU_CIK |
