]> git.ipfire.org Git - people/arne_f/kernel.git/commit
drm/radeon: fix PLL sharing on DCE6.1 (v2)
authorLucas Stach <dev@lynxeye.de>
Thu, 5 May 2016 14:16:44 +0000 (10:16 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 11 Jul 2016 03:07:26 +0000 (23:07 -0400)
commit545655ed2eea768dc9abd8899b65b5c272bc5104
treeaaf972e983f3450899578d4989920ccb93e8e0f1
parenta36c14ba24b1ba16964d0289fe8b282b780a5554
drm/radeon: fix PLL sharing on DCE6.1 (v2)

[ Upstream commit e3c00d87845ab375f90fa6e10a5e72a3a5778cd3 ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/radeon/atombios_crtc.c