diff options
author | Marek Olšák <[email protected]> | 2013-11-20 13:35:03 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-11-23 01:54:58 +0100 |
commit | 7b136de79adf2ae54f2e60211ccee0c92f0741f2 (patch) | |
tree | 9a441ee07f6ec20ef9116563cc9f8fe41ecd4b82 | |
parent | a3969aa125c8f61b093a5f5f69e8265a131051d0 (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]>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index fb16338b8c3..434df60600a 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AC_SUBST([OSMESA_VERSION]) dnl Versions for external dependencies LIBDRM_REQUIRED=2.4.24 -LIBDRM_RADEON_REQUIRED=2.4.46 +LIBDRM_RADEON_REQUIRED=2.4.49 LIBDRM_INTEL_REQUIRED=2.4.38 LIBDRM_NVVIEUX_REQUIRED=2.4.33 LIBDRM_NOUVEAU_REQUIRED="2.4.33 libdrm >= 2.4.41" 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; } |