ac/surface: remove the overallocation workaround for Vega12
authorMarek Olšák <marek.olsak@amd.com>
Tue, 6 Nov 2018 22:11:55 +0000 (17:11 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 9 Nov 2018 19:55:04 +0000 (14:55 -0500)
not needed anymore (probably since the tile_swizzle fix)

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_surface.c

index 1f7e2344625b8d78effa1ed0d26c1276a7055616..edd710a968c8e0507ccc9a9dd178b884ae376b3a 100644 (file)
@@ -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;
 }