summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-11-06 17:11:55 -0500
committerMarek Olšák <[email protected]>2018-11-09 14:55:04 -0500
commitd059eae269c333ea2542b58167983c7c5007c219 (patch)
tree59a353a8bf2ee139d80b39eab9b79f14d7063276
parent959e2a5aeb9c93557b46955a0f477e6f96f6ecc5 (diff)
ac/surface: remove the overallocation workaround for Vega12
not needed anymore (probably since the tile_swizzle fix) Reviewed-by: Samuel Pitoiset <[email protected]>
-rw-r--r--src/amd/common/ac_surface.c4
1 files changed, 0 insertions, 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;
}