summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-09-18 17:03:32 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-09-18 17:03:32 +0000
commit837ebb0e160a90e8b3023c9a9fb873fd65f8667a (patch)
tree190d031f1ee41dee100730d7d46988aef84949c2 /sys
parent0a63ecab7e23be80d4195d74f0b8885cc59a588e (diff)
add support for 1366x768 widescreen displays; tested on the Lenovo ThinkVision LT1421.
feedback and ok mglocker@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/udl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/usb/udl.h b/sys/dev/usb/udl.h
index 2788c9f0477..d0a624e5c9e 100644
--- a/sys/dev/usb/udl.h
+++ b/sys/dev/usb/udl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.h,v 1.18 2012/09/18 11:23:14 jasper Exp $ */
+/* $OpenBSD: udl.h,v 1.19 2012/09/18 17:03:31 jasper Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -237,6 +237,13 @@ uint8_t udl_reg_vals_1280x1024_75[] = { /* 135.00 MHz 75.0 Hz VESA std */
0xff, 0x32, 0x60, 0x05, 0x00, 0x9a, 0xa8, 0xff, 0xff, 0xff, 0xf9, 0x04,
0x00, 0x04, 0x02, 0x78, 0x69
};
+
+uint8_t udl_reg_vals_1366x768_60[] = { /* 90 MHz 60.0 Hz */
+ 0x01, 0x19, 0x1e, 0x1f, 0xb0, 0x93, 0x60, 0x40, 0x7b, 0x36, 0xe8, 0x27,
+ 0x32, 0xff, 0xff, 0x05, 0x56, 0x03, 0xd9, 0xff, 0xff, 0xfc, 0xa7, 0x03,
+ 0x00, 0x04, 0x02, 0x9a, 0x42
+};
+
uint8_t udl_reg_vals_1440x900_60[] = { /* 106.47 MHz 59.9 Hz */
0x00, 0x24, 0xce, 0xe7, 0x72, 0x36, 0x0a, 0x86, 0xca, 0x1c, 0x10, 0xff,
0xff, 0x60, 0x3a, 0x05, 0xa0, 0x0d, 0x94, 0xff, 0xff, 0xff, 0xf9, 0x03,
@@ -297,6 +304,7 @@ static const struct udl_mode udl_modes[] = {
{ 1280, 960, 60, DLALL, 10800, udl_reg_vals_1280x960_60 },
{ 1280, 1024, 60, DLALL, 10800, udl_reg_vals_1280x1024_60 },
{ 1280, 1024, 75, DLALL, 13500, udl_reg_vals_1280x1024_75 },
+ { 1366, 768, 60, DLALL, 9000, udl_reg_vals_1366x768_60 },
{ 1440, 900, 59, DL125, 10650, udl_reg_vals_1440x900_59 },
{ 1440, 900, 60, DL125, 10647, udl_reg_vals_1440x900_60 },
{ 1440, 900, 75, DL125, 13649, udl_reg_vals_1440x900_75 },