diff mbox

drm/edid: CEA mode 64 1080p100 vsync pulse width incorrect

Message ID 1471282288-30909-1-git-send-email-clinton.a.taylor@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Clint Taylor Aug. 15, 2016, 5:31 p.m. UTC
From: Clint Taylor <clinton.a.taylor@intel.com>

  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.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
---
 drivers/gpu/drm/drm_edid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sean Paul Aug. 18, 2016, 4:40 p.m. UTC | #1
On Mon, Aug 15, 2016 at 10:31 AM,  <clinton.a.taylor@intel.com> wrote:
> From: Clint Taylor <clinton.a.taylor@intel.com>
>
>   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.
>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>


Seems to line up with the spec. Applied to drm-misc

Sean

> ---
>  drivers/gpu/drm/drm_edid.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 637a0aa..ea27aaa 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -991,7 +991,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, },
>  };
> --
> 1.7.9.5
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 637a0aa..ea27aaa 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -991,7 +991,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, },
 };