summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthi Kandasamy <karthi.kandasamy@amd.com>2025-06-26 15:10:01 +0200
committerAlex Deucher <alexander.deucher@amd.com>2025-07-28 16:40:07 -0400
commit04112dce53fc52438c8a1fb2b5ac779b6daeca5e (patch)
tree5cb9922937b07d7163dfbf6325b701d94ab55318
parent1cf1205ef2685cf43db3785706b017d1e54e0bec (diff)
drm/amd/display: Add DC EDID read policy struct
[Why & How] Add a struct to allow DMs that utilize the EDID parser in DC to modify the default settings. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Karthi Kandasamy <karthi.kandasamy@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index 375ca2f13b7a..2a86058c3bfa 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -563,6 +563,12 @@ struct dc_info_packet_128 {
uint8_t sb[128];
};
+struct dc_edid_read_policy {
+ uint32_t max_retry_count;
+ uint32_t delay_time_ms;
+ uint32_t ignore_checksum;
+};
+
#define DC_PLANE_UPDATE_TIMES_MAX 10
struct dc_plane_flip_time {