From: Clint Taylor Date: Mon, 15 Aug 2016 17:31:28 +0000 (-0700) Subject: UPSTREAM: drm/edid: CEA mode 64 1080p100 vsync pulse width incorrect X-Git-Tag: release-20171130_firefly~4^2~361 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3beeb3ae3400ab266179527ffa6a6b120f4ffab9;p=firefly-linux-kernel-4.4.55.git UPSTREAM: drm/edid: CEA mode 64 1080p100 vsync pulse width incorrect In the CEA-861 specification VIC 64 specifies a vsync pulse of 5 and a backporch of 36. Adjust vsync pulse width to match specification. Change-Id: I8a02c2c754644e911eff74c4a179a6825398f2d7 Cc: Ville Syrjälä Signed-off-by: Clint Taylor Signed-off-by: Sean Paul Link: http://patchwork.freedesktop.org/patch/msgid/1471282288-30909-1-git-send-email-clinton.a.taylor@intel.com Signed-off-by: Zheng Yang (cherry picked from commit 8f0e4907a8e7545850ae093a0286833f3949e4cb) --- diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 3be84f331cda..cb2a0ef5f2b3 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -998,7 +998,7 @@ static const struct drm_display_mode edid_cea_modes[] = { .vrefresh = 120, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, /* 64 - 1920x1080@100Hz */ { DRM_MODE("1920x1080", DRM_MODE_TYPE_DRIVER, 297000, 1920, 2448, - 2492, 2640, 0, 1080, 1084, 1094, 1125, 0, + 2492, 2640, 0, 1080, 1084, 1089, 1125, 0, DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC), .vrefresh = 100, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, /* 65 - 1280x720@24Hz */