nouveau: enable use of new kernel interfaces
authorBen Skeggs <bskeggs@redhat.com>
Thu, 26 Nov 2015 05:17:53 +0000 (15:17 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 22 Dec 2015 03:24:17 +0000 (13:24 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
src/mesa/drivers/dri/nouveau/nouveau_screen.c

index ff017e45386128516411438604ece0c96f8f5a94..c44424f4f4aa7a9cf9635bfb9fc4e70178480ca7 100644 (file)
@@ -97,8 +97,6 @@ nouveau_drm_screen_create(int fd)
        if (ret)
                goto err;
 
-       drm->nvif = false;
-
        ret = nouveau_device_new(&drm->client, NV_DEVICE,
                                 &(struct nv_device_v0) {
                                        .device = ~0ULL,
index 1a74ae2c53d571ae64b1bd3205f98017b95cb3f7..6f61f66f3b01504c3cbe2e1c4cedbf6597e3d997 100644 (file)
@@ -108,8 +108,6 @@ 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,