drm/amd/display: OVT Update on InfoFrame and Mode Management

[Why]
Integrate OVT timing from DM to DC logic to update info frame
and mode management to report the resolution to the OS.

[How]
Reflect RID and Frame Rate to AVI InfoFrame Version 5.
Define new Timing Standard for OVT timing.

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Chris Park <Chris.Park@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Chris Park
2022-02-04 17:03:24 -05:00
committed by Alex Deucher
parent 7acd7ab029
commit 427a60c1c3
4 changed files with 21 additions and 2 deletions

View File

@@ -84,10 +84,14 @@ union hdmi_info_packet {
uint16_t bar_left;
uint16_t bar_right;
uint8_t F140_F143:4;
uint8_t FR0_FR3:4;
uint8_t ACE0_ACE3:4;
uint8_t reserved[13];
uint8_t RID0_RID5:6;
uint8_t FR4:1;
uint8_t F157:1;
uint8_t reserved[12];
} bits;
struct info_packet_raw_data packet_raw_data;