[PATCH] drm/edid: Remove part of the HDTV hack

Stéphane Marchesin marcheu at chromium.org
Mon Mar 10 11:57:07 PDT 2014


The part which turns 1360x765 into 1366x768 breaks this mode on a
Toshiba TV here. 1360x765 works fine, though.

Reviewed-by: Adam Jackson <ajax at redhat.com>
Signed-off-by: Stéphane Marchesin <marcheu at chromium.org>
---
 drivers/gpu/drm/drm_edid.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b924306..7527f48 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1628,8 +1628,7 @@ drm_mode_std(struct drm_connector *connector, struct edid *edid,
 
 	/* HDTV hack, part 1 */
 	if (vrefresh_rate == 60 &&
-	    ((hsize == 1360 && vsize == 765) ||
-	     (hsize == 1368 && vsize == 769))) {
+	    (hsize == 1368 && vsize == 769)) {
 		hsize = 1366;
 		vsize = 768;
 	}
-- 
1.9.0.279.gdc9e3eb



More information about the dri-devel mailing list