[Intel-gfx] [PATCH] Correct drm display mode table about 1856x1392 @75Hz mode

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Apr 2 06:37:26 PDT 2015


On Thu, Apr 02, 2015 at 06:54:34PM +0800, liu,lei wrote:
> From: "liu,lei" <lei.a.liu at intel.com>
> 
> According DMT spec, vss of this mode should be 1393, vse should
> be 1396.
> 
> VESA MONITOR TIMING STANDARD:
> 
> Timing Name = 1856 x 1392 @ 75Hz
> Hor Total Time = 8.889;  (usec) = 320 chars = 2560 Pixels
> Hor Sync Start = 6.889;  (usec) = 248 chars = 1984 Pixels
> H Back Porch = 1.222;  (usec) = 44 chars = 352 Pixels
> 
> Ver Total Time = 13.333;  (msec) = 1500 lines HT – (1.06xHA)
> Ver Sync Start = 12.382;  (msec) = 1393 lines
> V Back Porch = 0.924;  (msec) = 104 lines
> ---
>  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 53bc7a6..16991ea 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -409,7 +409,7 @@ static const struct drm_display_mode drm_dmt_modes[] = {
>  		   DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
>  	/* 1856x1392 at 75Hz */
>  	{ DRM_MODE("1856x1392", DRM_MODE_TYPE_DRIVER, 288000, 1856, 1984,
> -		   2208, 2560, 0, 1392, 1395, 1399, 1500, 0,
> +		   2208, 2560, 0, 1392, 1393, 1396, 1500, 0,

That is indeed what the spec says. However to review this I wrote a
quick awk script to parse the spec, and that shows a few more
differences. I'll toss out a patch with the results of my script...

>  		   DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
>  	/* 1856x1392 at 120Hz RB */
>  	{ DRM_MODE("1856x1392", DRM_MODE_TYPE_DRIVER, 356500, 1856, 1904,
> -- 
> 1.8.3.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC


More information about the Intel-gfx mailing list