From c921f402b743e12e19e0816bde7917953352d921 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Fri, 27 Feb 2009 14:25:47 +0100 Subject: nv50/kms: fix crtc timings to match ddx --- linux-core/nv50_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-core/nv50_crtc.c b/linux-core/nv50_crtc.c index 37b0555e..7e8f0ada 100644 --- a/linux-core/nv50_crtc.c +++ b/linux-core/nv50_crtc.c @@ -86,10 +86,10 @@ static int nv50_crtc_execute_mode(struct nv50_crtc *crtc) hsync_start_to_end = mode->htotal - mode->hsync_start; vsync_start_to_end = mode->vtotal - mode->vsync_start; /* I can't give this a proper name, anyone else can? */ - hunk1 = mode->htotal - mode->hsync_start + mode->hdisplay + 1; - vunk1 = mode->vtotal - mode->vsync_start + mode->vdisplay + 1; + hunk1 = mode->htotal - mode->hsync_start + mode->hdisplay; + vunk1 = mode->vtotal - mode->vsync_start + mode->vdisplay; /* Another strange value, this time only for interlaced modes. */ - vunk2a = 2*mode->vtotal - mode->vsync_start + mode->vdisplay + 1; + vunk2a = 2*mode->vtotal - mode->vsync_start + mode->vdisplay; vunk2b = mode->vtotal - mode->vsync_start + mode->vtotal; if (mode->flags & DRM_MODE_FLAG_INTERLACE) { -- cgit v1.2.3