From: James Feeney <james@nurealm.net>
To: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
"Koenig, Christian" <Christian.Koenig@amd.com>
Cc: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>
Subject: Re: atombios_crtc.c - make error messages distinguishable "unable to allocate a PPLL\n"
Date: Wed, 10 Jun 2015 16:12:46 -0600 [thread overview]
Message-ID: <5578B65E.9010409@nurealm.net> (raw)
In-Reply-To: <A3397C8B8B789E45844E7EC5DEAD89D06E8BEF21@satlexdag05.amd.com>
> Yes, DP needs its own clock source. However, you only need one clock source
> for all DP ports so you can drive multiple DP displays from a single clock
> source. The clock source used for DP cannot be shared with non-DP displays.
> ...
> There are additional caveats however. For example, you can't
> share a clock source between two displays with different hdmi audio settings
> even if the mode clocks are the same
Again, thanks for that. That's quite helpful. In extensive reading, trying to
understand what would be required to run three displays, I saw no mention of
those two points.
If the radeon driver could report a) what architecture it sees/code path it is
following, b) the total number of clock sources found, and c) which clock
sources are assigned to which outputs, then it would be much easier to discover
the current display configuration and to anticipate what display configurations
would be "workable".
The radeon driver can be quite "obstinate" when trying to set a specific
configuration for three displays, where the result will depend upon the
configuration history, or perhaps is strongly dependent upon the relative
position of the displays.
For instance, with my HD 5570, and supposing that the external clock is not
installed, and that there are still two independent internal clock sources
available, it should be possible to assign one clock source to the DisplayPort
output, and one clock source shared to the DVI and HDMI outputs. If I change
the output modes from a working configuration to, say, a test configuration, and
then try to change back again, some repeated "trial and error" attempts with
xrandr are required, before the original configuration will "take". Often, the
first reconfiguration or two results in some black screens, and then "something"
in some subsequent xrandr reconfiguration will trigger a screen update where the
displays are first "scrambled" and then are redrawn correctly.
This suggests to me some kind of "hidden state" in the radeon driver, which is
being updated by some indirect mechanism when I change output modes. Sorry, I'm
not being precise. Does anyone have any thoughts about how to better understand
this reconfiguration sequence, and how to make the process more "robust" and
predictable?
James
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-06-10 22:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 16:26 atombios_crtc.c - make error messages distinguishable "unable to allocate a PPLL\n" James Feeney
2015-06-08 16:30 ` Christian König
2015-06-08 17:09 ` James Feeney
2015-06-08 17:43 ` Deucher, Alexander
2015-06-08 19:42 ` James Feeney
2015-06-08 20:22 ` Deucher, Alexander
2015-06-10 22:12 ` James Feeney [this message]
2015-06-11 9:57 ` Christian König
2015-06-11 13:35 ` Alex Deucher
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=5578B65E.9010409@nurealm.net \
--to=james@nurealm.net \
--cc=Alexander.Deucher@amd.com \
--cc=Christian.Koenig@amd.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.