drm/amdgpu: add missing CHIP_HAINAN in amdgpu_ucode_get_load_type
Subsystems (3)
PATCH 1/1 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.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +1 -0
@@ -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
Signature · 6 lines
2.13.6 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Michel Dänzer
Reviewed-byQuoted 15 lines · Alex Deucher
This caused a confusing error message, but there is functionally no problem since the default method is DIRECT.
Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) · line 283
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +1
-0@@ -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
Reviewed-by Michel Dänzer <[email protected]>
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx