aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-23 09:46:51 -0400
committerDave Airlie <airlied@redhat.com>2014-09-23 21:43:26 -0400
commite7f0a889841e14315062c268abea6d2e657d60d3 (patch)
treee019e12bcb86d9dabe45ab940fdcd778ef30a650
parent884d9f05eb6c765d62da0ec8c36a669d8c813340 (diff)
drm: Move leftover ioctl declarations to drm_internal.h
Somehow I've missed these three, fix this up asap. Plus move drm_master_create since while at it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/drm_internal.h9
-rw-r--r--include/drm/drmP.h7
2 files changed, 9 insertions, 7 deletions
diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h
index 05624561118a..bc71be6f29e0 100644
--- a/drivers/gpu/drm/drm_internal.h
+++ b/drivers/gpu/drm/drm_internal.h
@@ -62,6 +62,8 @@ int drm_gem_name_info(struct seq_file *m, void *data);
62/* drm_irq.c */ 62/* drm_irq.c */
63int drm_control(struct drm_device *dev, void *data, 63int drm_control(struct drm_device *dev, void *data,
64 struct drm_file *file_priv); 64 struct drm_file *file_priv);
65int drm_modeset_ctl(struct drm_device *dev, void *data,
66 struct drm_file *file_priv);
65 67
66/* drm_auth.c */ 68/* drm_auth.c */
67int drm_getmagic(struct drm_device *dev, void *data, 69int drm_getmagic(struct drm_device *dev, void *data,
@@ -93,3 +95,10 @@ int drm_gem_open_ioctl(struct drm_device *dev, void *data,
93 struct drm_file *file_priv); 95 struct drm_file *file_priv);
94void drm_gem_open(struct drm_device *dev, struct drm_file *file_private); 96void drm_gem_open(struct drm_device *dev, struct drm_file *file_private);
95void drm_gem_release(struct drm_device *dev, struct drm_file *file_private); 97void drm_gem_release(struct drm_device *dev, struct drm_file *file_private);
98
99/* drm_drv.c */
100int drm_setmaster_ioctl(struct drm_device *dev, void *data,
101 struct drm_file *file_priv);
102int drm_dropmaster_ioctl(struct drm_device *dev, void *data,
103 struct drm_file *file_priv);
104struct drm_master *drm_master_create(struct drm_minor *minor);
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 7b545975afd9..1ec2ca1d997b 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1026,15 +1026,8 @@ static inline wait_queue_head_t *drm_crtc_vblank_waitqueue(struct drm_crtc *crtc
1026/* Modesetting support */ 1026/* Modesetting support */
1027extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc); 1027extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc);
1028extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc); 1028extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc);
1029extern int drm_modeset_ctl(struct drm_device *dev, void *data,
1030 struct drm_file *file_priv);
1031 1029
1032 /* Stub support (drm_stub.h) */ 1030 /* Stub support (drm_stub.h) */
1033extern int drm_setmaster_ioctl(struct drm_device *dev, void *data,
1034 struct drm_file *file_priv);
1035extern int drm_dropmaster_ioctl(struct drm_device *dev, void *data,
1036 struct drm_file *file_priv);
1037struct drm_master *drm_master_create(struct drm_minor *minor);
1038extern struct drm_master *drm_master_get(struct drm_master *master); 1031extern struct drm_master *drm_master_get(struct drm_master *master);
1039extern void drm_master_put(struct drm_master **master); 1032extern void drm_master_put(struct drm_master **master);
1040 1033