From d059eae269c333ea2542b58167983c7c5007c219 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 6 Nov 2018 17:11:55 -0500 Subject: [PATCH] ac/surface: remove the overallocation workaround for Vega12 not needed anymore (probably since the tile_swizzle fix) Reviewed-by: Samuel Pitoiset --- src/amd/common/ac_surface.c | 4 ---- 1 file changed, 4 deletions(-) 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; } -- 2.30.2