[PATCH v2] DDX/modes: Add a sanity check when using screen sizes from EDID

Keith Packard keithp at keithp.com
Fri Nov 1 02:34:36 CET 2013


Egbert Eich <eich at freedesktop.org> writes:

> EDID sometimes lies about screen sizes. Since the screen size is used
> by clients to determine the DPI a wrong ration will lead to terrible
> looking fonts.
> Add a sanity check for the h/v ratio cutting off at 2.4. This would
> still accept the cinemascope aspect ratio as valid.
> Also add message suggesting to add a quirk table entry.
>
> Signed-off-by: Egbert Eich <eich at freedesktop.org>
> ---
>  v2: Avoid division in ratio calculation.                                     
>      Pointed out by Keith Packard <keithp at keithp.com>

Merged.
   623c414..0cb33ce  master -> master

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


More information about the xorg-devel mailing list