Mesa (master): ac/surface: remove the overallocation workaround for Vega12

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 9 19:56:34 UTC 2018


Module: Mesa
Branch: master
Commit: d059eae269c333ea2542b58167983c7c5007c219
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d059eae269c333ea2542b58167983c7c5007c219

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Nov  6 17:11:55 2018 -0500

ac/surface: remove the overallocation workaround for Vega12

not needed anymore (probably since the tile_swizzle fix)

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 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 1f7e234462..edd710a968 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;
 }
 




More information about the mesa-commit mailing list