]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: fix pll/ctrc mapping on dce2 and dce3 hardware
authorJerome Glisse <jglisse@redhat.com>
Tue, 27 Nov 2012 21:12:29 +0000 (16:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Nov 2012 21:59:03 +0000 (16:59 -0500)
commit99e5833030bceb1c9fea0a2486f7a5548f9bc7cf
tree86858bab64651546ce132f8640ae52fdbf050097
parentce5ba3b0ab7e92bd261222d782d9d30374f0fff0
radeon: fix pll/ctrc mapping on dce2 and dce3 hardware

This fix black screen on resume issue that some people are
experiencing. There is a bug in the atombios code regarding
pll/crtc mapping. The atombios code reverse the logic for
the pll and crtc mapping.

agd5f: drop unnecessary crtc id check, cc stable in case
we miss 3.7.

This fixes the root cause that was worked around by commits:
drm/radeon: allocate PPLLs from low to high
drm/radeon/dce3: switch back to old pll allocation order for discrete

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_crtc.c