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>
diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c
index 704d8e7..64a8dd4 100644
--- a/radeon/radeon_surface.c
+++ b/radeon/radeon_surface.c
@@ -446,7 +446,7 @@
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;
}