]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2016 01:35:14 +0000 (18:35 -0700)
commiteca3d50f42068aaa949b633d70ea59914bb0b8dd
tree0c1996249b6f725ee344d25ca2f04fdf5e8fd7de
parentbe19315585fa23cc9a2758e9f29f01b1095e134f
drm/radeon: fix PLL sharing on DCE6.1 (v2)

commit e3c00d87845ab375f90fa6e10a5e72a3a5778cd3 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/atombios_crtc.c