[Mesa-dev] [PATCH 1/2] radeonsi: enable 2D tiling on CIK
Marek Olšák
maraeo at gmail.com
Wed Nov 20 06:20:29 PST 2013
From: Marek Olšák <marek.olsak at amd.com>
libdrm does the DRM version check and decides if 2D tiling is used.
TODO: bump the libdrm version requirement
---
src/gallium/drivers/radeon/r600_texture.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index 9ba1e36..77b05c4 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -675,10 +675,6 @@ static unsigned r600_choose_tiling(struct r600_common_screen *rscreen,
if (templ->width0 <= 16 || templ->height0 <= 16)
return RADEON_SURF_MODE_1D;
- /* XXX 2D tiling is currently unimplemented on CIK */
- if (rscreen->chip_class >= CIK)
- return RADEON_SURF_MODE_1D;
-
/* The allocator will switch to 1D if needed. */
return RADEON_SURF_MODE_2D;
}
--
1.8.3.2
More information about the mesa-dev
mailing list