]> git.itanic.dy.fi Git - linux-stable/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:22:12 +0000 (09:22 +0100)
commit d9997b64c52b70bd98c48f443f068253621d1ffc upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

index f55f72a37ca838d223cd9759ae6c8b2fddff0875..c29d519fa381a8fbe91a7703374a10ef0c75d1f6 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