summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2012-06-11 15:04:45 -0400
committerJerome Glisse <jglisse@redhat.com>2012-06-11 15:04:45 -0400
commit2f56002cc0b5424902dfe2bd4024f7b825ecde67 (patch)
tree90ea2a47b97ace413c999867d0663d4ff5a30b92
parent325e2e52a96ede6a19e891f769c803cb9ba85e10 (diff)
radeon: enabled 2D tiling for evergreen only on fixed kernel
Due to a kernel bug, enabled 2D tiling for evergreen only on newer fixed kernel. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
-rw-r--r--radeon/radeon_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c
index 704d8e79..64a8dd41 100644
--- a/radeon/radeon_surface.c
+++ b/radeon/radeon_surface.c
@@ -446,7 +446,7 @@ static int eg_init_hw_info(struct radeon_surface_manager *surf_man)
surf_man->hw_info.allow_2d = 0;
version = drmGetVersion(surf_man->fd);
- if (version && version->version_minor >= 14) {
+ if (version && version->version_minor >= 16) {
surf_man->hw_info.allow_2d = 1;
}