Merge tag 'drm-misc-next-2019-01-07-1' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-2.6-microblaze.git] / include / drm / drm_mode_config.h
index 572274c..1e6cb88 100644 (file)
@@ -391,18 +391,18 @@ struct drm_mode_config {
        /**
         * @idr_mutex:
         *
-        * Mutex for KMS ID allocation and management. Protects both @crtc_idr
+        * Mutex for KMS ID allocation and management. Protects both @object_idr
         * and @tile_idr.
         */
        struct mutex idr_mutex;
 
        /**
-        * @crtc_idr:
+        * @object_idr:
         *
         * Main KMS ID tracking object. Use this idr for all IDs, fb, crtc,
         * connector, modes - just makes life easier to have only one.
         */
-       struct idr crtc_idr;
+       struct idr object_idr;
 
        /**
         * @tile_idr:
@@ -512,6 +512,15 @@ struct drm_mode_config {
         */
        struct list_head property_list;
 
+       /**
+        * @privobj_list:
+        *
+        * List of private objects linked with &drm_private_obj.head. This is
+        * invariant over the lifetime of a device and hence doesn't need any
+        * locks.
+        */
+       struct list_head privobj_list;
+
        int min_width, min_height;
        int max_width, max_height;
        const struct drm_mode_config_funcs *funcs;
@@ -688,22 +697,22 @@ struct drm_mode_config {
        struct drm_property *tv_mode_property;
        /**
         * @tv_left_margin_property: Optional TV property to set the left
-        * margin.
+        * margin (expressed in pixels).
         */
        struct drm_property *tv_left_margin_property;
        /**
         * @tv_right_margin_property: Optional TV property to set the right
-        * margin.
+        * margin (expressed in pixels).
         */
        struct drm_property *tv_right_margin_property;
        /**
         * @tv_top_margin_property: Optional TV property to set the right
-        * margin.
+        * margin (expressed in pixels).
         */
        struct drm_property *tv_top_margin_property;
        /**
         * @tv_bottom_margin_property: Optional TV property to set the right
-        * margin.
+        * margin (expressed in pixels).
         */
        struct drm_property *tv_bottom_margin_property;
        /**