aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_fence.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fence.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_fence.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.h b/drivers/gpu/drm/nouveau/nouveau_fence.h
index 82ba733393ae..690f46536a70 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fence.h
+++ b/drivers/gpu/drm/nouveau/nouveau_fence.h
@@ -32,11 +32,15 @@ struct nouveau_fence_chan {
32}; 32};
33 33
34struct nouveau_fence_priv { 34struct nouveau_fence_priv {
35 struct nouveau_exec_engine engine; 35 void (*dtor)(struct drm_device *);
36 int (*emit)(struct nouveau_fence *); 36 bool (*suspend)(struct drm_device *);
37 int (*sync)(struct nouveau_fence *, struct nouveau_channel *, 37 void (*resume)(struct drm_device *);
38 struct nouveau_channel *); 38 int (*context_new)(struct nouveau_channel *);
39 u32 (*read)(struct nouveau_channel *); 39 void (*context_del)(struct nouveau_channel *);
40 int (*emit)(struct nouveau_fence *);
41 int (*sync)(struct nouveau_fence *, struct nouveau_channel *,
42 struct nouveau_channel *);
43 u32 (*read)(struct nouveau_channel *);
40}; 44};
41 45
42void nouveau_fence_context_new(struct nouveau_fence_chan *); 46void nouveau_fence_context_new(struct nouveau_fence_chan *);