[PATCH] xfree86: Edid quirk for Philips LCD LP154W01

Keith Packard keithp at keithp.com
Wed Nov 18 09:40:07 PST 2009


On Wed, 18 Nov 2009 18:04:58 +0800, yakui.zhao at intel.com wrote:

>      /* Bug #21000: LGPhilipsLCD LP154W01-TLAJ */
> +    /* Bug #10304: LGPhilipsLCD LP154W01-A5 */
>      if (memcmp (DDC->vendor.name, "LPL", 4) == 0 &&
> -	DDC->vendor.prod_id == 47360)
> +	(DDC->vendor.prod_id == 47360 ||
> +		DDC->vendor.prod_id == 0 ||
> +		DDC->vendor.prod_id == 0x2a00))
>  	return TRUE;

Please make one conditional for each quirk, instead of merging them
together.

--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20091118/7ab7a951/attachment.pgp>


More information about the xorg mailing list