videomixer: set established timing bits in EDID
This commit is contained in:
parent
3ba9fbefd5
commit
132b6ce87d
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue