mirror of https://gitee.com/openkylin/linux.git
drm/nouveau: move current gpuobj code out of nouveau_object.c
I want this file for the new interfaces... Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
5086f69eb9
commit
ce22af03da
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
ccflags-y := -Iinclude/drm
|
ccflags-y := -Iinclude/drm
|
||||||
nouveau-y := nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
|
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_sgdma.o nouveau_dma.o nouveau_util.o \
|
||||||
nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.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 \
|
nouveau_hw.o nouveau_calc.o nouveau_bios.o nouveau_i2c.o \
|
||||||
|
|
|
@ -938,7 +938,7 @@ extern void nouveau_channel_ref(struct nouveau_channel *chan,
|
||||||
struct nouveau_channel **pchan);
|
struct nouveau_channel **pchan);
|
||||||
extern int nouveau_channel_idle(struct nouveau_channel *chan);
|
extern int nouveau_channel_idle(struct nouveau_channel *chan);
|
||||||
|
|
||||||
/* nouveau_object.c */
|
/* nouveau_gpuobj.c */
|
||||||
#define NVOBJ_ENGINE_ADD(d, e, p) do { \
|
#define NVOBJ_ENGINE_ADD(d, e, p) do { \
|
||||||
struct drm_nouveau_private *dev_priv = (d)->dev_private; \
|
struct drm_nouveau_private *dev_priv = (d)->dev_private; \
|
||||||
dev_priv->eng[NVOBJ_ENGINE_##e] = (p); \
|
dev_priv->eng[NVOBJ_ENGINE_##e] = (p); \
|
||||||
|
|
Loading…
Reference in New Issue