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
parent
325e2e52a9
commit
2f56002cc0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue