drm/radeon: allow PPLL sharing on non-DP displays
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Sep 2012 22:54:14 +0000 (18:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2012 17:10:44 +0000 (13:10 -0400)
commit2f454cf1261ba913e2f660b7555864b340502c60
tree3582704f7e9e07c0036e597dca80394d10bcca18
parent9dbbcfc6894957fdbb311ba92c85c026659878b5
drm/radeon: allow PPLL sharing on non-DP displays

If several non-DP displays use the same pixel clock
we can use the same PPLL for all of them.  If all
relevant displays have the same pixel clock, this
allows the driver to:
- use fewer PPLLs which saves power
- support more than two non-DP displays on DCE4+

The current drm modesetting infrastructure doesn't
really provide a good framework for validating combinations
that work or won't work, so it's possible you could go from
a working configuration to a non-working one by changing the
mode a one of the displays.  However, there this is better
than what was there before.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_crtc.c