dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 91789] MST (multi stream) with Asus PQ321 drm_dp_calc_pbn_mode() fails
Date: Fri, 28 Aug 2015 08:12:55 +0000	[thread overview]
Message-ID: <bug-91789-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91789

            Bug ID: 91789
           Summary: MST (multi stream) with Asus PQ321
                    drm_dp_calc_pbn_mode() fails
           Product: DRI
           Version: unspecified
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: General
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: Peter.Blum@lxco.com

If a Asus monitor PQ321 is used in MST mode it gets no signal.
This is because the function drm_dp_calc_pbn_mode() in drm_dp_mst_topology.c
returns a bad pixel bandwith number for the mode

Modeline 131:"1920x2160" 60 297000 1920 2008 2052 2200 2160 2168 2178 2250 0x48
0x5

The function return 8 and not the correct value of 1063.

Using simple u32 arithmetic in drm_dp_calc_pbn_mode() the monitor works fine.

I'm not sure if unsigned 32 bit would overflow in some cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2283 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2015-08-28  8:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28  8:12 bugzilla-daemon [this message]
2016-04-25 12:24 ` [Bug 91789] MST (multi stream) with Asus PQ321 drm_dp_calc_pbn_mode() fails 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-91789-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /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