aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-12-07 20:04:26 -0500
committerDave Airlie <airlied@redhat.com>2015-12-07 20:04:26 -0500
commite876b41ab074561d65f213bf5e0fc68cf5bc7380 (patch)
tree5bcbd7e4f7b6ac2a34e61011f8eb2cde90bf8603 /include/drm/drmP.h
parent47c0fd72822159eb501411f975f5672a0bf7a7fb (diff)
parent527e9316f8ec44bd53d90fb9f611fa7ffff52bb9 (diff)
Back merge tag 'v4.4-rc4' into drm-next
We've picked up a few conflicts and it would be nice to resolve them before we move onwards.
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 8e1df1f7057c..a8e01aaca087 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -309,6 +309,11 @@ struct drm_file {
309 unsigned universal_planes:1; 309 unsigned universal_planes:1;
310 /* true if client understands atomic properties */ 310 /* true if client understands atomic properties */
311 unsigned atomic:1; 311 unsigned atomic:1;
312 /*
313 * This client is allowed to gain master privileges for @master.
314 * Protected by struct drm_device::master_mutex.
315 */
316 unsigned allowed_master:1;
312 317
313 struct pid *pid; 318 struct pid *pid;
314 kuid_t uid; 319 kuid_t uid;
@@ -912,6 +917,7 @@ extern int drm_open(struct inode *inode, struct file *filp);
912extern ssize_t drm_read(struct file *filp, char __user *buffer, 917extern ssize_t drm_read(struct file *filp, char __user *buffer,
913 size_t count, loff_t *offset); 918 size_t count, loff_t *offset);
914extern int drm_release(struct inode *inode, struct file *filp); 919extern int drm_release(struct inode *inode, struct file *filp);
920extern int drm_new_set_master(struct drm_device *dev, struct drm_file *fpriv);
915 921
916 /* Mapping support (drm_vm.h) */ 922 /* Mapping support (drm_vm.h) */
917extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); 923extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
@@ -949,6 +955,10 @@ extern void drm_send_vblank_event(struct drm_device *dev, unsigned int pipe,
949 struct drm_pending_vblank_event *e); 955 struct drm_pending_vblank_event *e);
950extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc, 956extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc,
951 struct drm_pending_vblank_event *e); 957 struct drm_pending_vblank_event *e);
958extern void drm_arm_vblank_event(struct drm_device *dev, unsigned int pipe,
959 struct drm_pending_vblank_event *e);
960extern void drm_crtc_arm_vblank_event(struct drm_crtc *crtc,
961 struct drm_pending_vblank_event *e);
952extern bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe); 962extern bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe);
953extern bool drm_crtc_handle_vblank(struct drm_crtc *crtc); 963extern bool drm_crtc_handle_vblank(struct drm_crtc *crtc);
954extern int drm_vblank_get(struct drm_device *dev, unsigned int pipe); 964extern int drm_vblank_get(struct drm_device *dev, unsigned int pipe);