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 3c4df1fc26dce053ad8c2408cc8ba42906ae57d6..3f7ac5bc8e03990426c70a2e3c17622fe9edfb53 100644 (file)
@@ -62,6 +62,7 @@ nvif_drivers[] = {
 #else
        &nvif_driver_drm,
        &nvif_driver_lib,
+       &nvif_driver_null,
 #endif
        NULL
 };
index ac4bdb3ea506c518cf87eefc3c2e793cbc8bc23f..8bd39e69229c6103b2a811499ebb3023d29bc0ec 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