]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/radeon: rework pll selection (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 31 Aug 2012 15:56:50 +0000 (11:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2012 20:17:49 +0000 (16:17 -0400)
commit985f61f7ee647ad570c05eab0b74915da2ac8e19
tree3edf54a41d8554452914d57b4f5ae193de40bf85
parentb65523283c6853184f100c2c25642b02001e6364
drm/radeon: rework pll selection (v3)

For DP we can use the same PPLL for all active DP
encoders.  Take advantage of that to prevent cases
where we may end up sharing a PPLL between DP and
non-DP which won't work.  Also clean up the code
a bit.

v2: - fix missing pll_id assignment in crtc init
v3: - fix DP PPLL check
    - document functions
    - break in main encoder search loop after matching.
      no need to keep checking additional encoders.

fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=54471

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