edid: Add quirk for ADA 1024x600 7" display.
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@canonical.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1b42f9505f
commit
9874f73e88
|
@ -153,6 +153,11 @@ quirk_detailed_v_in_cm(int scrnIndex, xf86MonPtr DDC)
|
||||||
static Bool
|
static Bool
|
||||||
quirk_detailed_use_maximum_size(int scrnIndex, xf86MonPtr DDC)
|
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 */
|
/* Bug #21324: Iiyama Vision Master 450 */
|
||||||
if (memcmp(DDC->vendor.name, "IVM", 4) == 0 && DDC->vendor.prod_id == 6400)
|
if (memcmp(DDC->vendor.name, "IVM", 4) == 0 && DDC->vendor.prod_id == 6400)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue