summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-28 15:05:20 +1000
committerDave Airlie <airlied@linux.ie>2007-04-28 15:07:43 +1000
commit6e860d08d0f5b1e9a2d711aaf9fd6b982aa8039e (patch)
treed8f199120f18c0cc1daf99c5566ccca802722d4d /linux-core/drmP.h
parente9b3acd25733517420f7b9fea01cfd529d909348 (diff)
drm: add new drm_wait_on function to replace macro
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 37b93525..a3f9ca86 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1129,7 +1129,9 @@ extern struct drm_sysfs_class *drm_class;
extern struct proc_dir_entry *drm_proc_root;
extern drm_local_map_t *drm_getsarea(struct drm_device *dev);
-
+extern int drm_wait_on(drm_device_t *dev, wait_queue_head_t *queue,
+ int timeout, int (*fn)(drm_device_t *dev, void *priv),
+ void *priv);
/* Proc support (drm_proc.h) */
extern int drm_proc_init(drm_device_t * dev,
int minor,