aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_device.h')
-rw-r--r--include/drm/drm_device.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h
index 7c4fa32f3fc6..858ba19a3e29 100644
--- a/include/drm/drm_device.h
+++ b/include/drm/drm_device.h
@@ -38,7 +38,6 @@ struct drm_device {
38 struct device *dev; /**< Device structure of bus-device */ 38 struct device *dev; /**< Device structure of bus-device */
39 struct drm_driver *driver; /**< DRM driver managing the device */ 39 struct drm_driver *driver; /**< DRM driver managing the device */
40 void *dev_private; /**< DRM driver private data */ 40 void *dev_private; /**< DRM driver private data */
41 struct drm_minor *control; /**< Control node */
42 struct drm_minor *primary; /**< Primary node */ 41 struct drm_minor *primary; /**< Primary node */
43 struct drm_minor *render; /**< Render node */ 42 struct drm_minor *render; /**< Render node */
44 bool registered; 43 bool registered;
@@ -46,7 +45,14 @@ struct drm_device {
46 /* currently active master for this device. Protected by master_mutex */ 45 /* currently active master for this device. Protected by master_mutex */
47 struct drm_master *master; 46 struct drm_master *master;
48 47
49 atomic_t unplugged; /**< Flag whether dev is dead */ 48 /**
49 * @unplugged:
50 *
51 * Flag to tell if the device has been unplugged.
52 * See drm_dev_enter() and drm_dev_is_unplugged().
53 */
54 bool unplugged;
55
50 struct inode *anon_inode; /**< inode for private address-space */ 56 struct inode *anon_inode; /**< inode for private address-space */
51 char *unique; /**< unique name of the device */ 57 char *unique; /**< unique name of the device */
52 /*@} */ 58 /*@} */