aboutsummaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drv.h
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2007-07-06 19:34:15 +0300
committerPekka Paalanen <pq@iki.fi>2007-07-18 14:12:26 +0300
commit696bee093f6f75dbb48699ff32bbebe2d3a1e307 (patch)
treea55cab4810c47752dee1669dc5f03737bb692a70 /shared-core/nouveau_drv.h
parent0c77f5abeadcbb89643740889cc865ba0ae66538 (diff)
nouveau: Add read() method to Engine.timer.
This is not called from anywhere, yet.
Diffstat (limited to 'shared-core/nouveau_drv.h')
-rw-r--r--shared-core/nouveau_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nouveau_drv.h b/shared-core/nouveau_drv.h
index f68304c9..9e11f9b7 100644
--- a/shared-core/nouveau_drv.h
+++ b/shared-core/nouveau_drv.h
@@ -157,6 +157,7 @@ struct nouveau_engine_func {
struct {
int (*init)(struct drm_device *dev);
+ uint64_t (*read)(struct drm_device *dev);
void (*takedown)(struct drm_device *dev);
} timer;
@@ -469,6 +470,7 @@ extern void nv50_mc_takedown(struct drm_device *dev);
/* nv04_timer.c */
extern int nv04_timer_init(struct drm_device *dev);
+extern uint64_t nv04_timer_read(struct drm_device *dev);
extern void nv04_timer_takedown(struct drm_device *dev);
extern long nouveau_compat_ioctl(struct file *filp, unsigned int cmd,