diff options
author | Francisco Jerez <currojerez@riseup.net> | 2009-12-13 14:07:42 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-01-10 17:47:48 -0500 |
commit | 588d7d1268658b6a010eb7415bff2f936c51acf7 (patch) | |
tree | 2436aebea2a3961870c243913b73b112d3f592a9 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | e8d6d61586b84acfd66ec20142c9a850d2d11544 (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.h | 4 |
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 *); | |||
889 | extern void nv04_fifo_disable(struct drm_device *); | 891 | extern void nv04_fifo_disable(struct drm_device *); |
890 | extern void nv04_fifo_enable(struct drm_device *); | 892 | extern void nv04_fifo_enable(struct drm_device *); |
891 | extern bool nv04_fifo_reassign(struct drm_device *, bool); | 893 | extern bool nv04_fifo_reassign(struct drm_device *, bool); |
894 | extern bool nv04_fifo_cache_flush(struct drm_device *); | ||
895 | extern bool nv04_fifo_cache_pull(struct drm_device *, bool); | ||
892 | extern int nv04_fifo_channel_id(struct drm_device *); | 896 | extern int nv04_fifo_channel_id(struct drm_device *); |
893 | extern int nv04_fifo_create_context(struct nouveau_channel *); | 897 | extern int nv04_fifo_create_context(struct nouveau_channel *); |
894 | extern void nv04_fifo_destroy_context(struct nouveau_channel *); | 898 | extern void nv04_fifo_destroy_context(struct nouveau_channel *); |