aboutsummaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-11-09 04:27:23 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-11-14 03:00:25 +1100
commit2370ded79b4176d76cda1ec5f495fd33c2d566ed (patch)
tree084843a82fc5029e3a28f1ad5321dcf757e6871d /linux-core
parent793cd1dad5e248509a1b09dce7126f236efadb3e (diff)
nouveau: stub superioctl
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/Makefile.kernel2
-rw-r--r--linux-core/nouveau_bo.c (renamed from linux-core/nouveau_buffer.c)9
2 files changed, 10 insertions, 1 deletions
diff --git a/linux-core/Makefile.kernel b/linux-core/Makefile.kernel
index e7c280d0..92e1eb7e 100644
--- a/linux-core/Makefile.kernel
+++ b/linux-core/Makefile.kernel
@@ -23,7 +23,7 @@ i915-objs := i915_drv.o i915_dma.o i915_irq.o i915_mem.o i915_fence.o \
i915_buffer.o i915_compat.o
nouveau-objs := nouveau_drv.o nouveau_state.o nouveau_fifo.o nouveau_mem.o \
nouveau_object.o nouveau_irq.o nouveau_notifier.o nouveau_swmthd.o \
- nouveau_sgdma.o nouveau_dma.o nouveau_buffer.o nouveau_fence.o \
+ nouveau_sgdma.o nouveau_dma.o nouveau_bo.o nouveau_fence.o \
nv04_timer.o \
nv04_mc.o nv40_mc.o nv50_mc.o \
nv04_fb.o nv10_fb.o nv40_fb.o \
diff --git a/linux-core/nouveau_buffer.c b/linux-core/nouveau_bo.c
index c40dff6b..f0b0576c 100644
--- a/linux-core/nouveau_buffer.c
+++ b/linux-core/nouveau_bo.c
@@ -254,3 +254,12 @@ struct drm_bo_driver nouveau_bo_driver = {
.move = nouveau_bo_move,
.ttm_cache_flush= nouveau_bo_flush_ttm
};
+
+int
+nouveau_bo_validate(struct drm_device *dev, void *data,
+ struct drm_file *file_priv)
+{
+ DRM_ERROR("unimplemented\n");
+ return -EINVAL;
+}
+