From bedbdc4566097d599f296dbe741d7ff70bba6236 Mon Sep 17 00:00:00 2001 From: Yakir Yang Date: Tue, 18 Aug 2015 04:18:09 -0500 Subject: 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 Original-Commit-Id: 0209422efe52c45cab3c0d787b27352f63578e76 Original-Change-Id: Idf4c8cd9f2da3c5daa589973d831a506ff549b8b Original-Signed-off-by: Yakir Yang Original-Reviewed-on: https://chromium-review.googlesource.com/293994 Original-Reviewed-by: Julius Werner Reviewed-on: http://review.coreboot.org/11397 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/lib/edid.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib/edid.c b/src/lib/edid.c index be3d90602a..68cc38a278 100644 --- a/src/lib/edid.c +++ b/src/lib/edid.c @@ -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 = '+' }, }; -- cgit v1.2.3