drm/amd/display: Add BIOS smu_info v3_3 support for Vega20
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Fri, 11 May 2018 18:51:43 +0000 (13:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 May 2018 15:13:20 +0000 (10:13 -0500)
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c

index 10a5807a7e8b20e59a2e02009ad7fe0ebe5bfa6c..4561673a0fe6c0aa9c084c5e6601c456189bc22a 100644 (file)
@@ -1330,6 +1330,11 @@ static enum bp_result bios_parser_get_firmware_info(
                        case 2:
                                result = get_firmware_info_v3_2(bp, info);
                                break;
+                       case 3:
+#ifdef CONFIG_DRM_AMD_DC_VG20
+                               result = get_firmware_info_v3_2(bp, info);
+#endif
+                               break;
                        default:
                                break;
                        }