]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Re-order FAMS2 sub commands
authorAlvin Lee <Alvin.Lee2@amd.com>
Tue, 13 May 2025 19:00:47 +0000 (15:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:34:55 +0000 (15:34 -0400)
[Why & How]
New enums need to be added to the end to avoid
back compat issues.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h

index 57fa05bddb4580e899937b2f1e0f9618080fe27e..202904af4682a9b9922ff8980d1229b9b9f5d0ee 100644 (file)
@@ -2957,9 +2957,9 @@ enum dmub_cmd_fams_type {
         */
        DMUB_CMD__FAMS_SET_MANUAL_TRIGGER = 3,
        DMUB_CMD__FAMS2_CONFIG = 4,
-       DMUB_CMD__FAMS2_IB_CONFIG = 5,
-       DMUB_CMD__FAMS2_DRR_UPDATE = 6,
-       DMUB_CMD__FAMS2_FLIP = 7,
+       DMUB_CMD__FAMS2_DRR_UPDATE = 5,
+       DMUB_CMD__FAMS2_FLIP = 6,
+       DMUB_CMD__FAMS2_IB_CONFIG = 7,
 };
 
 /**