From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>,
"Paul Parsons" <lost.distance@yahoo.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/edid: Fix EDID Established Timings I and II
Date: Tue, 05 Apr 2016 13:26:54 +0300 [thread overview]
Message-ID: <87oa9oxsep.fsf@intel.com> (raw)
In-Reply-To: <20160404160008.GI4329@intel.com>
On Mon, 04 Apr 2016, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> On Sat, Apr 02, 2016 at 11:08:06AM +0100, Paul Parsons wrote:
>> Three of the VESA DMT timings in edid_est_modes[] are slightly off.
>> 1. 640x480@72Hz vsync_end should be 492, not 491.
>> 2. 640x480@60Hz clock should be 25175, not 25200.
>> 3. 1024x768@75Hz clock should be 78750, not 78800.
>> This patch corrects those timings per the VESA DMT specification, and
>> thus brings them into line with the identical timings in drm_dmt_modes[].
>>
>> Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
>
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Pushed to our topic/drm-fixes, thanks for the patch and review.
BR,
Jani.
>
> I also noticed a discrepancy with the 1024x768i 87Hz 8514/A mode. The
> front porch for this particular mode should be 4 lines per field, so
> 8 lines for the frame. The EST timing looks correct, but the DMT one
> is wrong (only accounts for one field). Care to send a patch to fix
> that one as well?
>
>> ---
>>
>> diff -ru a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
>> --- a/drivers/gpu/drm/drm_edid.c 2016-03-14 04:28:54.000000000 +0000
>> +++ b/drivers/gpu/drm/drm_edid.c 2016-04-02 10:29:30.178958556 +0100
>> @@ -521,12 +521,12 @@
>> 720, 840, 0, 480, 481, 484, 500, 0,
>> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) }, /* 640x480@75Hz */
>> { DRM_MODE("640x480", DRM_MODE_TYPE_DRIVER, 31500, 640, 664,
>> - 704, 832, 0, 480, 489, 491, 520, 0,
>> + 704, 832, 0, 480, 489, 492, 520, 0,
>> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) }, /* 640x480@72Hz */
>> { DRM_MODE("640x480", DRM_MODE_TYPE_DRIVER, 30240, 640, 704,
>> 768, 864, 0, 480, 483, 486, 525, 0,
>> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) }, /* 640x480@67Hz */
>> - { DRM_MODE("640x480", DRM_MODE_TYPE_DRIVER, 25200, 640, 656,
>> + { DRM_MODE("640x480", DRM_MODE_TYPE_DRIVER, 25175, 640, 656,
>> 752, 800, 0, 480, 490, 492, 525, 0,
>> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) }, /* 640x480@60Hz */
>> { DRM_MODE("720x400", DRM_MODE_TYPE_DRIVER, 35500, 720, 738,
>> @@ -538,7 +538,7 @@
>> { DRM_MODE("1280x1024", DRM_MODE_TYPE_DRIVER, 135000, 1280, 1296,
>> 1440, 1688, 0, 1024, 1025, 1028, 1066, 0,
>> DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) }, /* 1280x1024@75Hz */
>> - { DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 78800, 1024, 1040,
>> + { DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 78750, 1024, 1040,
>> 1136, 1312, 0, 768, 769, 772, 800, 0,
>> DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) }, /* 1024x768@75Hz */
>> { DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 75000, 1024, 1048,
>>
>>
>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2016-04-05 10:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-02 10:08 [PATCH] drm/edid: Fix EDID Established Timings I and II Paul Parsons
2016-04-04 16:00 ` Ville Syrjälä
2016-04-05 10:26 ` Jani Nikula [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oa9oxsep.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=lost.distance@yahoo.com \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.