aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index afebd32af203..e21eacc47290 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -269,8 +269,7 @@ struct nouveau_instmem_engine {
269 void (*clear)(struct drm_device *, struct nouveau_gpuobj *); 269 void (*clear)(struct drm_device *, struct nouveau_gpuobj *);
270 int (*bind)(struct drm_device *, struct nouveau_gpuobj *); 270 int (*bind)(struct drm_device *, struct nouveau_gpuobj *);
271 int (*unbind)(struct drm_device *, struct nouveau_gpuobj *); 271 int (*unbind)(struct drm_device *, struct nouveau_gpuobj *);
272 void (*prepare_access)(struct drm_device *, bool write); 272 void (*flush)(struct drm_device *);
273 void (*finish_access)(struct drm_device *);
274}; 273};
275 274
276struct nouveau_mc_engine { 275struct nouveau_mc_engine {
@@ -1027,8 +1026,7 @@ extern int nv04_instmem_populate(struct drm_device *, struct nouveau_gpuobj *,
1027extern void nv04_instmem_clear(struct drm_device *, struct nouveau_gpuobj *); 1026extern void nv04_instmem_clear(struct drm_device *, struct nouveau_gpuobj *);
1028extern int nv04_instmem_bind(struct drm_device *, struct nouveau_gpuobj *); 1027extern int nv04_instmem_bind(struct drm_device *, struct nouveau_gpuobj *);
1029extern int nv04_instmem_unbind(struct drm_device *, struct nouveau_gpuobj *); 1028extern int nv04_instmem_unbind(struct drm_device *, struct nouveau_gpuobj *);
1030extern void nv04_instmem_prepare_access(struct drm_device *, bool write); 1029extern void nv04_instmem_flush(struct drm_device *);
1031extern void nv04_instmem_finish_access(struct drm_device *);
1032 1030
1033/* nv50_instmem.c */ 1031/* nv50_instmem.c */
1034extern int nv50_instmem_init(struct drm_device *); 1032extern int nv50_instmem_init(struct drm_device *);
@@ -1040,8 +1038,7 @@ extern int nv50_instmem_populate(struct drm_device *, struct nouveau_gpuobj *,
1040extern void nv50_instmem_clear(struct drm_device *, struct nouveau_gpuobj *); 1038extern void nv50_instmem_clear(struct drm_device *, struct nouveau_gpuobj *);
1041extern int nv50_instmem_bind(struct drm_device *, struct nouveau_gpuobj *); 1039extern int nv50_instmem_bind(struct drm_device *, struct nouveau_gpuobj *);
1042extern int nv50_instmem_unbind(struct drm_device *, struct nouveau_gpuobj *); 1040extern int nv50_instmem_unbind(struct drm_device *, struct nouveau_gpuobj *);
1043extern void nv50_instmem_prepare_access(struct drm_device *, bool write); 1041extern void nv50_instmem_flush(struct drm_device *);
1044extern void nv50_instmem_finish_access(struct drm_device *);
1045 1042
1046/* nv04_mc.c */ 1043/* nv04_mc.c */
1047extern int nv04_mc_init(struct drm_device *); 1044extern int nv04_mc_init(struct drm_device *);