summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Horstmann <launchpad@planetxml.de>2010-12-06 11:24:02 +1100
committerJulien Cristau <jcristau@debian.org>2011-01-10 15:16:39 +0100
commit561afd799fc4060111b650657f3a0a01cce484b3 (patch)
tree1ad243bc8e61a9a6b7d548b9d96718e5b0e9adc6
parentcd82012d5da9a88537e7079f8204853a886ab4e5 (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 b057d7d49..50e1bfdc0 100644
--- a/hw/xfree86/modes/xf86EdidModes.c
+++ b/hw/xfree86/modes/xf86EdidModes.c
@@ -170,6 +170,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)