nvk: Reenable compression support with nouveau 1.4.2

Now that the small/large pages race is fixed, we can safely enable it
back when the kernel side report 1.4.2 support.

Fixes: f3c53cf66b ("nvk: Disable large pages for now")
Signed-off-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39706>
This commit is contained in:
Mary Guillemard 2026-02-04 22:11:44 +01:00 committed by Marge Bot
parent 124d550a94
commit b524bf368e

View file

@ -101,13 +101,8 @@ nvkmd_nouveau_try_create_pdev(struct _drmDevice *drm_device,
.has_alloc_tiled = nouveau_ws_device_has_tiled_bo(ws_dev),
.has_map_fixed = true,
.has_overmap = true,
/*
* Disabled for now due to
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/14610
* .has_compression = ws_dev->nouveau_version >= 0x01000401 &&
* ws_dev->info.cls_eng3d >= TURING_A,
*/
.has_compression = false,
.has_compression = ws_dev->nouveau_version >= 0x01000402 &&
ws_dev->info.cls_eng3d >= TURING_A,
};
/* We get this ourselves */