From: Jerry (Fangzhi) Zuo Date: Fri, 11 May 2018 18:51:43 +0000 (-0500) Subject: drm/amd/display: Add BIOS smu_info v3_3 support for Vega20 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1edb2c8a32160c00273485efea8d18080e31cc09;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Add BIOS smu_info v3_3 support for Vega20 Acked-by: Christian König Signed-off-by: Jerry (Fangzhi) Zuo Reviewed-by: Hersen Wu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Feifei Xu --- diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c index 10a5807a7e8b..4561673a0fe6 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c @@ -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; }