aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-08-28 15:16:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-08-29 13:41:51 -0400
commitd9997b64c52b70bd98c48f443f068253621d1ffc (patch)
tree3ac895caac95f8711ac9a527fabbee858e604fe4 /drivers/gpu/drm/amd/amdgpu
parent2690262ec9fea3aa364ca9cd31981d7fe3888a5b (diff)
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 <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c1
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)
277 case CHIP_PITCAIRN: 277 case CHIP_PITCAIRN:
278 case CHIP_VERDE: 278 case CHIP_VERDE:
279 case CHIP_OLAND: 279 case CHIP_OLAND:
280 case CHIP_HAINAN:
280 return AMDGPU_FW_LOAD_DIRECT; 281 return AMDGPU_FW_LOAD_DIRECT;
281#endif 282#endif
282#ifdef CONFIG_DRM_AMDGPU_CIK 283#ifdef CONFIG_DRM_AMDGPU_CIK