edid: fix know_modes timing error

BRANCH=None
BUG=chrome-os-partner:43789
TEST=Mickey board, 640x480@60Hz display normally

Change-Id: Iea298302fe1124edbef157d1d81c12610402e9c7
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Original-Commit-Id: 0209422efe52c45cab3c0d787b27352f63578e76
Original-Change-Id: Idf4c8cd9f2da3c5daa589973d831a506ff549b8b
Original-Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/293994
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/11397
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Yakir Yang 2015-08-18 04:18:09 -05:00 committed by Patrick Georgi
parent 274cde56cd
commit bedbdc4566
1 changed files with 4 additions and 4 deletions

View File

@ -987,22 +987,22 @@ static void dump_breakdown(unsigned char *edid)
static struct edid_mode known_modes[NUM_KNOWN_MODES] = {
[EDID_MODE_640x480_60Hz] = {
.name = "640x480@60Hz", .pixel_clock = 25175, .refresh = 60,
.ha = 640, .hbl = 160, .hso = 16, .hborder = 96,
.ha = 640, .hbl = 160, .hso = 16, .hspw = 96,
.va = 480, .vbl = 45, .vso = 10, .vspw = 2,
.phsync = '-', .pvsync = '-' },
[EDID_MODE_720x480_60Hz] = {
.name = "720x480@60Hz", .pixel_clock = 27000, .refresh = 60,
.ha = 720, .hbl = 78, .hso = 16, .hborder = 62,
.ha = 720, .hbl = 138, .hso = 16, .hspw = 62,
.va = 480, .vbl = 45, .vso = 9, .vspw = 6,
.phsync = '-', .pvsync = '-' },
[EDID_MODE_1280x720_60Hz] = {
.name = "1280x720@60Hz", .pixel_clock = 74250, .refresh = 60,
.ha = 1280, .hbl = 370, .hso = 110, .hborder = 40,
.ha = 1280, .hbl = 370, .hso = 110, .hspw = 40,
.va = 720, .vbl = 30, .vso = 5, .vspw = 20,
.phsync = '+', .pvsync = '+' },
[EDID_MODE_1920x1080_60Hz] = {
.name = "1920x1080@60Hz", .pixel_clock = 148500, .refresh = 60,
.ha = 1920, .hbl = 280, .hso = 88, .hborder = 44,
.ha = 1920, .hbl = 280, .hso = 88, .hspw = 44,
.va = 1080, .vbl = 45, .vso = 4, .vspw = 5,
.phsync = '+', .pvsync = '+' },
};