]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Update spacing in struct
authorAlvin Lee <Alvin.Lee2@amd.com>
Wed, 1 Oct 2025 17:40:57 +0000 (13:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Oct 2025 22:21:39 +0000 (18:21 -0400)
Update spacing so that fields with longer name will
still be aligned correctly (new fields to be added).

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/cursor_reg_cache.h

index 081831230821a6d818c90cb025b30bb8f4496df7..7ce2f417f86adf6a71f82166d9a0f5f4b4cb7360 100644 (file)
@@ -57,9 +57,9 @@ struct cursor_attribute_cache_hubp {
        } size;
        union    reg_cursor_settings_cfg {
                struct {
-                       uint32_t     dst_y_offset: 8;
-                       uint32_t chunk_hdl_adjust: 2;
-                       uint32_t         reserved: 22;
+                       uint32_t              dst_y_offset: 8;
+                       uint32_t          chunk_hdl_adjust: 2;
+                       uint32_t                  reserved: 22;
                } bits;
                uint32_t raw;
        } settings;