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 10a5807..4561673 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;
                        }