aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-12-13 14:07:42 -0500
committerBen Skeggs <bskeggs@redhat.com>2010-01-10 17:47:48 -0500
commit588d7d1268658b6a010eb7415bff2f936c51acf7 (patch)
tree2436aebea2a3961870c243913b73b112d3f592a9 /drivers/gpu/drm/nouveau/nouveau_drv.h
parente8d6d61586b84acfd66ec20142c9a850d2d11544 (diff)
drm/nouveau: Add cache_flush/pull fifo engine functions.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index 5f8cbb79c499..48d0ad9434a8 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -292,6 +292,8 @@ struct nouveau_fifo_engine {
292 void (*disable)(struct drm_device *); 292 void (*disable)(struct drm_device *);
293 void (*enable)(struct drm_device *); 293 void (*enable)(struct drm_device *);
294 bool (*reassign)(struct drm_device *, bool enable); 294 bool (*reassign)(struct drm_device *, bool enable);
295 bool (*cache_flush)(struct drm_device *dev);
296 bool (*cache_pull)(struct drm_device *dev, bool enable);
295 297
296 int (*channel_id)(struct drm_device *); 298 int (*channel_id)(struct drm_device *);
297 299
@@ -889,6 +891,8 @@ extern int nv04_fifo_init(struct drm_device *);
889extern void nv04_fifo_disable(struct drm_device *); 891extern void nv04_fifo_disable(struct drm_device *);
890extern void nv04_fifo_enable(struct drm_device *); 892extern void nv04_fifo_enable(struct drm_device *);
891extern bool nv04_fifo_reassign(struct drm_device *, bool); 893extern bool nv04_fifo_reassign(struct drm_device *, bool);
894extern bool nv04_fifo_cache_flush(struct drm_device *);
895extern bool nv04_fifo_cache_pull(struct drm_device *, bool);
892extern int nv04_fifo_channel_id(struct drm_device *); 896extern int nv04_fifo_channel_id(struct drm_device *);
893extern int nv04_fifo_create_context(struct nouveau_channel *); 897extern int nv04_fifo_create_context(struct nouveau_channel *);
894extern void nv04_fifo_destroy_context(struct nouveau_channel *); 898extern void nv04_fifo_destroy_context(struct nouveau_channel *);