Vega20 does not appear to be affected by the same issue
as vega10. Enable the full stolen memory handling on
vega20. Reserve the appropriate size at init time to avoid
display artifacts and then free it at the end of init once
the new FB is up and running.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
* Also check code in gmc_v9_0_get_vbios_fb_size and gmc_v9_0_late_init
*/
switch (adev->asic_type) {
+ case CHIP_VEGA10:
+ return true;
case CHIP_RAVEN:
- return false;
case CHIP_VEGA12:
- return false;
- case CHIP_VEGA10:
case CHIP_VEGA20:
default:
- return true;
+ return false;
}
}