Revert "nouveau: enable use of new kernel interfaces"
PATCH 1/1 Revert "nouveau: enable use of new kernel interfaces"
This reverts commit a8c474760268f2ebdddd655cea06dbef4500236a, and allows the new kernel interfaces to be optionally enabled, but still off by default. Some people are having issues while others aren't, need to investigate.
Signed-off-by Ilia Mirkin <[email protected]>
Cc Ben Skeggs <[email protected]>
--- src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c | 2 ++ src/mesa/drivers/dri/nouveau/nouveau_screen.c | 2 ++ 2 files changed, 4 insertions(+)
src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c +2 -0
@@ -97,6 +97,8 @@ nouveau_drm_screen_create(int fd)if (ret) goto err; + drm->nvif =debug_get_bool_option ("NOUVEAU_NVIF" , false); + ret = nouveau_device_new(&drm->client, NV_DEVICE, &(struct nv_device_v0) { .device = ~0ULL,
src/mesa/drivers/dri/nouveau/nouveau_screen.c +2 -0
@@ -108,6 +108,8 @@ nouveau_init_screen2(__DRIscreen *dri_screen) goto fail; } + screen->drm->nvif = false; + ret = nouveau_device_new(&screen->drm->client, NV_DEVICE, &(struct nv_device_v0) { .device = ~0ULL,
Signature · 6 lines
2.4.10 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau