mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 03:58:05 +02:00
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>
This commit is contained in:
parent
325e2e52a9
commit
2f56002cc0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue