drm/amdgpu: add missing CHIP_HAINAN in amdgpu_ucode_get_load_type
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Aug 2018 19:16:23 +0000 (14:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Aug 2018 17:41:51 +0000 (12:41 -0500)
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
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

index b419d6e33b3abe1e34eb22ad752f9da161cdfd90..a942fd28dae83ba1b3d4dfb1bf7d4c77201feafc 100644 (file)
@@ -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