drm/edid: Add a workaround for 1366x768 HD panel
authorTakashi Iwai <[email protected]>
Mon, 23 Apr 2012 16:40:33 +0000 (17:40 +0100)
committerDave Airlie <[email protected]>
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 <[email protected]>
Acked-by: Adam Jackson <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/drm_edid.c