OSDN Git Service

drm/nouveau: move current gpuobj code out of nouveau_object.c
authorBen Skeggs <bskeggs@redhat.com>
Sat, 5 May 2012 12:19:20 +0000 (22:19 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 26 Jul 2012 00:28:15 +0000 (10:28 +1000)
I want this file for the new interfaces...

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_gpuobj.c [moved from drivers/gpu/drm/nouveau/nouveau_object.c with 100% similarity]

index fe5267d..efa1aef 100644 (file)
@@ -4,7 +4,7 @@
 
 ccflags-y := -Iinclude/drm
 nouveau-y := nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
-             nouveau_object.o nouveau_irq.o nouveau_notifier.o \
+             nouveau_gpuobj.o nouveau_irq.o nouveau_notifier.o \
              nouveau_sgdma.o nouveau_dma.o nouveau_util.o \
              nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.o \
              nouveau_hw.o nouveau_calc.o nouveau_bios.o nouveau_i2c.o \
index 8613cb2..b0f8dd0 100644 (file)
@@ -938,7 +938,7 @@ extern void nouveau_channel_ref(struct nouveau_channel *chan,
                                struct nouveau_channel **pchan);
 extern int  nouveau_channel_idle(struct nouveau_channel *chan);
 
-/* nouveau_object.c */
+/* nouveau_gpuobj.c */
 #define NVOBJ_ENGINE_ADD(d, e, p) do {                                         \
        struct drm_nouveau_private *dev_priv = (d)->dev_private;               \
        dev_priv->eng[NVOBJ_ENGINE_##e] = (p);                                 \