From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: dri-devel@lists.freedesktop.org
Cc: "liu,lei" <lei.a.liu@intel.com>
Subject: Re: [PATCH 1/3] drm/edid: Fix up DMT modes
Date: Wed, 6 May 2015 16:36:50 +0300 [thread overview]
Message-ID: <20150506133650.GR18908@intel.com> (raw)
In-Reply-To: <1427983331-23465-1-git-send-email-ville.syrjala@linux.intel.com>
On Thu, Apr 02, 2015 at 05:02:09PM +0300, ville.syrjala@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Liu Lei noticed that our 1856x1392@75Hz DMT mode doesn't match the spec.
> Fix that up, and also fix up a few other inconsistencies I discovered
> by parsing the spec (DMT version 1.0, revision 13) and comparing the
> results to our current DMT mode table.
>
> Also clean up the indentation mess for the 1024x768i mode.
>
> Cc: "liu,lei" <lei.a.liu@intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Ping. Anyone interested in DMT modes that match the spec?
> ---
> drivers/gpu/drm/drm_edid.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 53bc7a6..567c7ed 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -160,7 +160,7 @@ static const struct drm_display_mode drm_dmt_modes[] = {
> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
> /* 640x480@60Hz */
> { DRM_MODE("640x480", DRM_MODE_TYPE_DRIVER, 25175, 640, 656,
> - 752, 800, 0, 480, 489, 492, 525, 0,
> + 752, 800, 0, 480, 490, 492, 525, 0,
> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) },
> /* 640x480@72Hz */
> { DRM_MODE("640x480", DRM_MODE_TYPE_DRIVER, 31500, 640, 664,
> @@ -206,7 +206,7 @@ static const struct drm_display_mode drm_dmt_modes[] = {
> { DRM_MODE("1024x768i", DRM_MODE_TYPE_DRIVER, 44900, 1024, 1032,
> 1208, 1264, 0, 768, 768, 772, 817, 0,
> DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC |
> - DRM_MODE_FLAG_INTERLACE) },
> + DRM_MODE_FLAG_INTERLACE) },
> /* 1024x768@60Hz */
> { DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 65000, 1024, 1048,
> 1184, 1344, 0, 768, 771, 777, 806, 0,
> @@ -242,7 +242,7 @@ static const struct drm_display_mode drm_dmt_modes[] = {
> /* 1280x768@75Hz */
> { DRM_MODE("1280x768", DRM_MODE_TYPE_DRIVER, 102250, 1280, 1360,
> 1488, 1696, 0, 768, 771, 778, 805, 0,
> - DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
> + DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
> /* 1280x768@85Hz */
> { DRM_MODE("1280x768", DRM_MODE_TYPE_DRIVER, 117500, 1280, 1360,
> 1496, 1712, 0, 768, 771, 778, 809, 0,
> @@ -258,7 +258,7 @@ static const struct drm_display_mode drm_dmt_modes[] = {
> /* 1280x800@60Hz */
> { DRM_MODE("1280x800", DRM_MODE_TYPE_DRIVER, 83500, 1280, 1352,
> 1480, 1680, 0, 800, 803, 809, 831, 0,
> - DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
> + DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
> /* 1280x800@75Hz */
> { DRM_MODE("1280x800", DRM_MODE_TYPE_DRIVER, 106500, 1280, 1360,
> 1488, 1696, 0, 800, 803, 809, 838, 0,
> @@ -409,7 +409,7 @@ static const struct drm_display_mode drm_dmt_modes[] = {
> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
> /* 1856x1392@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,
> DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
> /* 1856x1392@120Hz RB */
> { DRM_MODE("1856x1392", DRM_MODE_TYPE_DRIVER, 356500, 1856, 1904,
> --
> 2.0.5
--
Ville Syrjälä
Intel OTC
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-05-06 13:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-02 14:02 [PATCH 1/3] drm/edid: Fix up DMT modes ville.syrjala
2015-04-02 14:02 ` [PATCH 2/3] drm/edid: Add the DMT ID in the comments ville.syrjala
2015-04-02 14:02 ` [PATCH 3/3] drm/edid: Add DMT modes with ID > 0x50 ville.syrjala
2015-05-06 13:36 ` Ville Syrjälä [this message]
2015-05-06 13:39 ` [PATCH 1/3] drm/edid: Fix up DMT modes Alex Deucher
2015-05-06 14:40 ` Daniel Vetter
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=20150506133650.GR18908@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=lei.a.liu@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.