[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    drm/edid: Fix the HDTV hack sync adjustment
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2010-07-31 2:59:03
Message-ID: 201007310259.o6V2x3L4015914 () hera ! kernel ! org
[Download RAW message or body]

Gitweb:     http://git.kernel.org/linus/a4967de6cbb260ad0f6612a1d2035e119ef1578f
Commit:     a4967de6cbb260ad0f6612a1d2035e119ef1578f
Parent:     12e27be852db6d3e701e5563f394d6c7aa7aa778
Author:     Adam Jackson <ajax@redhat.com>
AuthorDate: Wed Jul 28 07:40:32 2010 +1000
Committer:  Dave Airlie <airlied@redhat.com>
CommitDate: Thu Jul 29 16:14:43 2010 +1000

    drm/edid: Fix the HDTV hack sync adjustment
    
    We're adjusting horizontal timings only here, moving vsync was just a
    slavish translation of a typo in the X server.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 drivers/gpu/drm/drm_edid.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index c198186..f87bf10 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -864,8 +864,8 @@ drm_mode_std(struct drm_connector *connector, struct edid *edid,
 		mode = drm_cvt_mode(dev, 1366, 768, vrefresh_rate, 0, 0,
 				    false);
 		mode->hdisplay = 1366;
-		mode->vsync_start = mode->vsync_start - 1;
-		mode->vsync_end = mode->vsync_end - 1;
+		mode->hsync_start = mode->hsync_start - 1;
+		mode->hsync_end = mode->hsync_end - 1;
 		return mode;
 	}
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic