dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 91871] link retraining for DP not possible with current design of Atomic modeset framework
@ 2015-09-03 19:26 bugzilla-daemon
  2015-09-03 19:28 ` bugzilla-daemon
  2015-09-04  6:51 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2015-09-03 19:26 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 91871
           Summary: link retraining for DP not possible with current
                    design of Atomic modeset framework
           Product: DRI
           Version: XOrg git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: General
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: sivakumar.thulasimani@intel.com

DP spec requires Link training from highest link rate supported by panel to
lowest link rate supported by panel. 

It is not possible to implement this in the current atomic modeset logic since
it splits modeset into two half atomic_check and atomic_commit, where it is
expected all values to be calculated in atomic_check and programmed in
atomic_commit. 

link training being a negotiation phase of DP modeset it is not possible to
predict if a training at certain link rate will succeed or not. if it does fail
it will require us to disable, calculate new values and enable pll. this is not
possible in current DRM Atomic modeset framework.

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

[-- Attachment #1.2: Type: text/html, Size: 2477 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 91871] link retraining for DP not possible with current design of Atomic modeset framework
  2015-09-03 19:26 [Bug 91871] link retraining for DP not possible with current design of Atomic modeset framework bugzilla-daemon
@ 2015-09-03 19:28 ` bugzilla-daemon
  2015-09-04  6:51 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2015-09-03 19:28 UTC (permalink / raw)
  To: dri-devel


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

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

rtshiva <sivakumar.thulasimani@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|XOrg git                    |unspecified

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

[-- Attachment #1.2: Type: text/html, Size: 1091 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 91871] link retraining for DP not possible with current design of Atomic modeset framework
  2015-09-03 19:26 [Bug 91871] link retraining for DP not possible with current design of Atomic modeset framework bugzilla-daemon
  2015-09-03 19:28 ` bugzilla-daemon
@ 2015-09-04  6:51 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2015-09-04  6:51 UTC (permalink / raw)
  To: dri-devel


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

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

Jani Nikula <jani.nikula@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |conselvan2@gmail.com,
                   |                            |intel-gfx-bugs@lists.freede
                   |                            |sktop.org
          Component|General                     |DRM/Intel
           Assignee|dri-devel@lists.freedesktop |intel-gfx-bugs@lists.freede
                   |.org                        |sktop.org
         QA Contact|                            |intel-gfx-bugs@lists.freede
                   |                            |sktop.org

--- Comment #1 from Jani Nikula <jani.nikula@intel.com> ---
To be fair, the same limitation was there before atomic.

Part of the problem is our modeset sequence, which we can't easily backtrack if
the modeset fails at link training phase. Another part is that even if our
modeset sequence supported that, we couldn't just reduce the mode to
accommodate the lower link rate behind userspace's back. (We already pick the
lowest rate that can support the mode; there's no margin to reduce.) We'd have
to involve userspace somehow.

Drivers are free to use the drm dp helpers or use their own hooks for modeset.
I think we should look at this from drm/i915 perspective, at least at first, so
resassigning to DRM/Intel. If we come up with a way to negotiate this with
userspace, that should be a generic solution.

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

[-- Attachment #1.2: Type: text/html, Size: 3240 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-04  6:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 19:26 [Bug 91871] link retraining for DP not possible with current design of Atomic modeset framework bugzilla-daemon
2015-09-03 19:28 ` bugzilla-daemon
2015-09-04  6:51 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox