diff options
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 1b72a526ba64..770772c014aa 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -774,6 +774,15 @@ struct drm_driver { | |||
774 | /* Master routines */ | 774 | /* Master routines */ |
775 | int (*master_create)(struct drm_device *dev, struct drm_master *master); | 775 | int (*master_create)(struct drm_device *dev, struct drm_master *master); |
776 | void (*master_destroy)(struct drm_device *dev, struct drm_master *master); | 776 | void (*master_destroy)(struct drm_device *dev, struct drm_master *master); |
777 | /** | ||
778 | * master_set is called whenever the minor master is set. | ||
779 | * master_drop is called whenever the minor master is dropped. | ||
780 | */ | ||
781 | |||
782 | int (*master_set)(struct drm_device *dev, struct drm_file *file_priv, | ||
783 | bool from_open); | ||
784 | void (*master_drop)(struct drm_device *dev, struct drm_file *file_priv, | ||
785 | bool from_release); | ||
777 | 786 | ||
778 | int (*proc_init)(struct drm_minor *minor); | 787 | int (*proc_init)(struct drm_minor *minor); |
779 | void (*proc_cleanup)(struct drm_minor *minor); | 788 | void (*proc_cleanup)(struct drm_minor *minor); |