drm/edid: Add a workaround for 1366x768 HD panel
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Apr 2012 16:40:33 +0000 (17:40 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Apr 2012 16:41:16 +0000 (17:41 +0100)
commitc09dedb7a50e23f0166e0bbae61c75c7ec23cf7f
treeb4bbbfb52e681aacfae2cd009d1ef96ef0ce1c6f
parent02809179bb10f73be38cb2d221f3cc9b871daaa5
drm/edid: Add a workaround for 1366x768 HD panel

HD panel (1366x768) found most commonly on laptops can't be represented
exactly in CVT/DMT expression, which leads to 1368x768 instead, because
1366 can't be divided by 8.

Add a hack to convert to 1366x768 manually as an exception.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c