drm/radeon: fix PLL sharing on DCE6.1 (v2)
commite3c00d87845ab375f90fa6e10a5e72a3a5778cd3
authorLucas Stach <dev@lynxeye.de>
Thu, 5 May 2016 14:16:44 +0000 (5 10:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 15:14:53 +0000 (5 11:14 -0400)
treee7763f8880e358e5959eb36728fd4494e6ae95f1
parent1a738347df2ee4977459a8776fe2c62196bdcb1b
drm/radeon: fix PLL sharing on DCE6.1 (v2)

On DCE6.1 PPLL2 is exclusively available to UNIPHYA, so it should not
be taken into consideration when looking for an already enabled PLL
to be shared with other outputs.

This fixes the broken VGA port (TRAVIS DP->VGA bridge) on my Richland
based laptop, where the internal display is connected to UNIPHYA through
a TRAVIS DP->LVDS bridge.

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

v2: agd: add check in radeon_get_shared_nondp_ppll as well, drop
    extra parameter.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_crtc.c