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>
main
Jerome Glisse 2012-06-11 15:04:45 -04:00
parent 325e2e52a9
commit 2f56002cc0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}