diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-11-17 19:36:59 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-12-02 00:44:04 -0500 |
commit | 34acf100dd20b42e8dcc89b79e5ebb450035ef09 (patch) | |
tree | 0c8e1a6a94111c68dd6ba392b70400e9d060f21b /drivers/gpu/drm/nouveau/nvif | |
parent | 3704791d97b0ff01411fa6342e6312721ae423f0 (diff) |
drm/nouveau/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 'drivers/gpu/drm/nouveau/nvif')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/client.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/driver.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/client.c b/drivers/gpu/drm/nouveau/nvif/client.c index 3c4df1fc26dc..3f7ac5bc8e03 100644 --- a/drivers/gpu/drm/nouveau/nvif/client.c +++ b/drivers/gpu/drm/nouveau/nvif/client.c | |||
@@ -62,6 +62,7 @@ nvif_drivers[] = { | |||
62 | #else | 62 | #else |
63 | &nvif_driver_drm, | 63 | &nvif_driver_drm, |
64 | &nvif_driver_lib, | 64 | &nvif_driver_lib, |
65 | &nvif_driver_null, | ||
65 | #endif | 66 | #endif |
66 | NULL | 67 | NULL |
67 | }; | 68 | }; |
diff --git a/drivers/gpu/drm/nouveau/nvif/driver.h b/drivers/gpu/drm/nouveau/nvif/driver.h index ac4bdb3ea506..8bd39e69229c 100644 --- a/drivers/gpu/drm/nouveau/nvif/driver.h +++ b/drivers/gpu/drm/nouveau/nvif/driver.h | |||
@@ -17,5 +17,6 @@ struct nvif_driver { | |||
17 | extern const struct nvif_driver nvif_driver_nvkm; | 17 | extern const struct nvif_driver nvif_driver_nvkm; |
18 | extern const struct nvif_driver nvif_driver_drm; | 18 | extern const struct nvif_driver nvif_driver_drm; |
19 | extern const struct nvif_driver nvif_driver_lib; | 19 | extern const struct nvif_driver nvif_driver_lib; |
20 | extern const struct nvif_driver nvif_driver_null; | ||
20 | 21 | ||
21 | #endif | 22 | #endif |