dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.sourceforge.net
Subject: [Bug 16651] New: Output of drm_cvt_mode function incorrect for reduced blanking modes
Date: Sat, 21 Aug 2010 02:36:56 GMT	[thread overview]
Message-ID: <bug-16651-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=16651

           Summary: Output of drm_cvt_mode function incorrect for reduced
                    blanking modes
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.35
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-dri@kernel-bugs.osdl.org
        ReportedBy: adam@serbinski.com
        Regression: No


drivers/gpu/drm/drm_modes.c
function drm_cvt_mode

When parameter "reduced" is set to TRUE, the hsync_start and hsync_end values
calculated are... wrong, and the vsync_start and vsync_end values aren't
calculated at all.

Output from command "cvt -r 1920 1200":
# 1920x1200 59.95 Hz (CVT 2.30MA-R) hsync: 74.04 kHz; pclk: 154.00 MHz
Modeline "1920x1200R" 154.00 1920 1968 2000 2080 1200 1203 1209 1235 +hsync
-vsync

The values generated by drm_cvt_mode(dev,1920,1200,60,true,false,false) are:
154.00 1920 32 32 2080 1200 0 0 1235 +hsync -vsync

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
--

             reply	other threads:[~2010-08-21  2:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-21  2:36 bugzilla-daemon [this message]
2010-08-23 14:32 ` [Bug 16651] Output of drm_cvt_mode function incorrect for reduced blanking modes bugzilla-daemon
2010-08-24 12:25 ` bugzilla-daemon

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=bug-16651-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox