summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYakir Yang <ykk@rock-chips.com>2015-08-18 04:18:09 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-08-28 06:44:20 +0000
commitbedbdc4566097d599f296dbe741d7ff70bba6236 (patch)
treef2672bde05ebeea4f28a98fce5b415e615a8edca /src
parent274cde56cd7b0e1b93688966a9ee89bf17cda6e3 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/lib/edid.c8
1 files changed, 4 insertions, 4 deletions
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 = '+' },
};