[PATCH] edid: Add quirk for ADA 1024x600 7" display.

Alex Deucher alexdeucher at gmail.com
Fri Dec 16 15:38:40 UTC 2016


On Thu, Dec 15, 2016 at 12:56 AM, Kai-Heng Feng
<kai.heng.feng at canonical.com> wrote:
> Detailed mode reports 108 mm x 68 mm which is for smaller display.
> Maximum image size reports 15 cm x 10 cm which aligns with its physical
> size, use this size instead.
>
> Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  hw/xfree86/modes/xf86EdidModes.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/hw/xfree86/modes/xf86EdidModes.c b/hw/xfree86/modes/xf86EdidModes.c
> index f24294e..f0e1e97 100644
> --- a/hw/xfree86/modes/xf86EdidModes.c
> +++ b/hw/xfree86/modes/xf86EdidModes.c
> @@ -153,6 +153,11 @@ quirk_detailed_v_in_cm(int scrnIndex, xf86MonPtr DDC)
>  static Bool
>  quirk_detailed_use_maximum_size(int scrnIndex, xf86MonPtr DDC)
>  {
> +    /* ADA 1024x600 7" display */
> +    if (memcmp(DDC->vendor.name, "ADA", 4) == 0 &&
> +        DDC->vendor.prod_id == 4)
> +        return TRUE;
> +
>      /* Bug #21324: Iiyama Vision Master 450 */
>      if (memcmp(DDC->vendor.name, "IVM", 4) == 0 && DDC->vendor.prod_id == 6400)
>          return TRUE;
> --
> 2.10.2
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list