videomixer: set established timing bits in EDID

This commit is contained in:
Sebastien Bourdeauducq 2013-11-11 18:56:13 +01:00
parent 3ba9fbefd5
commit 132b6ce87d
3 changed files with 7 additions and 3 deletions

View File

@ -232,8 +232,8 @@ void generate_edid(void *out,
e->cc_wx_h = 0; e->cc_wx_h = 0;
e->cc_wy_h = 0; e->cc_wy_h = 0;
e->est_timings_1 = 0; e->est_timings_1 = timing->established_timing >> 8;
e->est_timings_2 = 0; e->est_timings_2 = timing->established_timing & 0xff;
e->rsv_timings = 0; e->rsv_timings = 0;
memset(e->timings_std, 0x01, 16); memset(e->timings_std, 0x01, 16);

View File

@ -15,6 +15,8 @@ struct video_timing {
unsigned int v_blanking; unsigned int v_blanking;
unsigned int v_sync_offset; unsigned int v_sync_offset;
unsigned int v_sync_width; unsigned int v_sync_width;
unsigned int established_timing;
}; };
int validate_edid(const void *buf); int validate_edid(const void *buf);

View File

@ -20,7 +20,9 @@ static const struct video_timing video_modes[PROCESSOR_MODE_COUNT] = {
.v_active = 768, .v_active = 768,
.v_blanking = 38, .v_blanking = 38,
.v_sync_offset = 3, .v_sync_offset = 3,
.v_sync_width = 6 .v_sync_width = 6,
.established_timing = 0x0008
}, { }, {
.pixel_clock = 7425, .pixel_clock = 7425,