From: Alvin Lee Date: Tue, 13 May 2025 19:00:47 +0000 (-0400) Subject: drm/amd/display: Re-order FAMS2 sub commands X-Git-Tag: v6.17-rc1~110^2~13^2~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6123117005d9e6368a625a7164acebd65a304f41;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Re-order FAMS2 sub commands [Why & How] New enums need to be added to the end to avoid back compat issues. Reviewed-by: Dillon Varone Signed-off-by: Alvin Lee Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h index 57fa05bddb458..202904af4682a 100644 --- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h +++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h @@ -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, }; /**