summaryrefslogtreecommitdiff
path: root/nvif
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-11-18 10:36:59 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-12-02 15:37:21 +1000
commit8eabc27d99f560c54c40fd06da4abffd245d67a3 (patch)
treeba85767b66c607dbe1d73db255988979b2462b59 /nvif
parent508b7c8822e8f9dca4aaea68cbc81ac0133120b1 (diff)
downloadnouveau-8eabc27d99f560c54c40fd06da4abffd245d67a3.tar.gz
lib: add null backend
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>
Diffstat (limited to 'nvif')
-rw-r--r--nvif/client.c1
-rw-r--r--nvif/driver.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/nvif/client.c b/nvif/client.c
index 3c4df1fc2..3f7ac5bc8 100644
--- a/nvif/client.c
+++ b/nvif/client.c
@@ -62,6 +62,7 @@ nvif_drivers[] = {
#else
&nvif_driver_drm,
&nvif_driver_lib,
+ &nvif_driver_null,
#endif
NULL
};
diff --git a/nvif/driver.h b/nvif/driver.h
index ac4bdb3ea..8bd39e692 100644
--- a/nvif/driver.h
+++ b/nvif/driver.h
@@ -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