drm/amd/display: Clean up scdc_test_data struct
authorChris Park <Chris.Park@amd.com>
Fri, 24 May 2019 20:40:30 +0000 (16:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 17:50:31 +0000 (12:50 -0500)
These are no longer needed, Also added RESERVED bits.

Signed-off-by: Chris Park <Chris.Park@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c

index c5dc809f17d6dffe9b6d9b0b1549b89e06a1270e..9f32ddfde41ee87fbde774da243896d09108c3d6 100644 (file)
@@ -3004,4 +3004,3 @@ const struct dc_link_settings *dc_link_get_link_cap(
                return &link->preferred_link_setting;
        return &link->verified_link_cap;
 }
-
index f02092a0dc76a176efb4e68b0569857dc18d69e1..94064d8ce3034a2575546ced55fa65f38a33e117 100644 (file)
@@ -91,6 +91,8 @@ union hdmi_scdc_status_flags_data {
                uint8_t CH2_LOCKED:1;
                uint8_t RESERVED:4;
                uint8_t RESERVED2:8;
+               uint8_t RESERVED3:8;
+
        } fields;
 };
 
@@ -107,14 +109,10 @@ union hdmi_scdc_ced_data {
                uint8_t CH2_7HIGH:7;
                uint8_t CH2_VALID:1;
                uint8_t CHECKSUM:8;
-       } fields;
-};
-
-union hdmi_scdc_test_config_Data {
-       uint8_t byte;
-       struct {
-               uint8_t TEST_READ_REQUEST_DELAY:7;
-               uint8_t TEST_READ_REQUEST: 1;
+               uint8_t RESERVED:8;
+               uint8_t RESERVED2:8;
+               uint8_t RESERVED3:8;
+               uint8_t RESERVED4:4;
        } fields;
 };