summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Horstmann <launchpad@planetxml.de>2010-12-06 11:24:02 +1100
committerJeremy Huddleston <jeremyhu@apple.com>2011-01-11 11:15:08 -0800
commit2fe16061231dc995731b5f3c1cc69dc5d53b1145 (patch)
tree3f54fd3ef1128155f4eaf736e865284034e67005
parenteadd8b54934fdf3f7dbeb521885e1bdec2e720c6 (diff)
Add EDID quirk for HP Compaq nc8430.
Like some other LPL panels, this one reports the vertical size in cm rather than mm. Patch taken from Launchpad bug #380009 <https://launchpad.net/bugs/380009> X.Org Bug 28414 <https://bugs.freedesktop.org/show_bug.cgi?id=28414> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 4b88c7be8de4149fe3d166bf115775f9e81a1373)
-rw-r--r--hw/xfree86/modes/xf86EdidModes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xfree86/modes/xf86EdidModes.c b/hw/xfree86/modes/xf86EdidModes.c
index ec6540841..584fdd20a 100644
--- a/hw/xfree86/modes/xf86EdidModes.c
+++ b/hw/xfree86/modes/xf86EdidModes.c
@@ -145,6 +145,11 @@ static Bool quirk_detailed_v_in_cm (int scrnIndex, xf86MonPtr DDC)
DDC->vendor.prod_id == 0x2a00)
return TRUE;
+ /* Bug #28414: HP Compaq NC8430 LP154W01-TLA8 */
+ if (memcmp (DDC->vendor.name, "LPL", 4) == 0 &&
+ DDC->vendor.prod_id == 5750)
+ return TRUE;
+
/* Bug #21750: Samsung Syncmaster 2333HD */
if (memcmp (DDC->vendor.name, "SAM", 4) == 0 &&
DDC->vendor.prod_id == 1157)