From: Marek Olšák Date: Tue, 6 Nov 2018 22:11:55 +0000 (-0500) Subject: ac/surface: remove the overallocation workaround for Vega12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d059eae269c333ea2542b58167983c7c5007c219;p=mesa.git ac/surface: remove the overallocation workaround for Vega12 not needed anymore (probably since the tile_swizzle fix) Reviewed-by: Samuel Pitoiset --- diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index 1f7e2344625..edd710a968c 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -1594,10 +1594,6 @@ static int gfx9_compute_surface(ADDR_HANDLE addrlib, assert(0); } - /* Temporary workaround to prevent VM faults and hangs. */ - if (info->family == CHIP_VEGA12) - surf->fmask_size *= 8; - return 0; }