drm/nouveau/lib: add null backend
authorBen Skeggs <bskeggs@redhat.com>
Tue, 18 Nov 2014 00:36:59 +0000 (10:36 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:44:04 +0000 (15:44 +1000)
For the moment, just used to speed up vbios-only testing.  Have some
ideas for extending in the future.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvif/client.c
drivers/gpu/drm/nouveau/nvif/driver.h

index 3c4df1f..3f7ac5b 100644 (file)
@@ -62,6 +62,7 @@ nvif_drivers[] = {
 #else
        &nvif_driver_drm,
        &nvif_driver_lib,
+       &nvif_driver_null,
 #endif
        NULL
 };
index ac4bdb3..8bd39e6 100644 (file)
@@ -17,5 +17,6 @@ struct nvif_driver {
 extern const struct nvif_driver nvif_driver_nvkm;
 extern const struct nvif_driver nvif_driver_drm;
 extern const struct nvif_driver nvif_driver_lib;
+extern const struct nvif_driver nvif_driver_null;
 
 #endif