drm/amd/display: Update FW feature caps struct
authorAlvin Lee <Alvin.Lee2@amd.com>
Mon, 10 Apr 2023 17:52:21 +0000 (13:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:36:45 +0000 (18:36 -0400)
Reorder FW feature caps struct variable order to ensure backwards
compatability is maintained for older FW

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Sung Lee <Sung.Lee@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h

index dcec895..09d4d0d 100644 (file)
@@ -257,8 +257,9 @@ struct dmub_feature_caps {
         */
        uint8_t psr;
        uint8_t fw_assisted_mclk_switch;
+       uint8_t reserved[4];
        uint8_t subvp_psr_support;
-       uint8_t reserved[5];
+       uint8_t gecc_enable;
 };
 
 struct dmub_visual_confirm_color {