]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915/display: keep struct intel_display members sorted
authorJani Nikula <jani.nikula@intel.com>
Tue, 14 Nov 2023 15:55:28 +0000 (17:55 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 17 Nov 2023 11:54:01 +0000 (13:54 +0200)
Like the comment says,

/* Grouping using anonymous structs. Keep sorted. */

Stick to it.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231114155528.96935-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display_core.h

index f2c84ae522170c93336f82511dcfa809c96a7cea..3308f07968ff8676bfcc8bfc376dbed0360bd09b 100644 (file)
@@ -345,15 +345,6 @@ struct intel_display {
                struct intel_global_obj obj;
        } dbuf;
 
-       struct {
-               wait_queue_head_t waitqueue;
-
-               /* mutex to protect pmdemand programming sequence */
-               struct mutex lock;
-
-               struct intel_global_obj obj;
-       } pmdemand;
-
        struct {
                /*
                 * dkl.phy_lock protects against concurrent access of the
@@ -441,6 +432,15 @@ struct intel_display {
                bool false_color;
        } ips;
 
+       struct {
+               wait_queue_head_t waitqueue;
+
+               /* mutex to protect pmdemand programming sequence */
+               struct mutex lock;
+
+               struct intel_global_obj obj;
+       } pmdemand;
+
        struct {
                struct i915_power_domains domains;