summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-11-20 13:35:03 +0100
committerMarek Olšák <[email protected]>2013-11-23 01:54:58 +0100
commit7b136de79adf2ae54f2e60211ccee0c92f0741f2 (patch)
tree9a441ee07f6ec20ef9116563cc9f8fe41ecd4b82 /src/gallium/drivers
parenta3969aa125c8f61b093a5f5f69e8265a131051d0 (diff)
radeonsi: enable 2D tiling on CIK
libdrm does the DRM version check and decides if 2D tiling is used. Reviewed-and-Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index 9ba1e363e27..77b05c4a25e 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;
}