summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atombios_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-02-05 17:58:11 +0100
committerAlex Deucher <alexander.deucher@amd.com>2013-06-26 22:11:43 +0200
commit2f0047b2ba92b29bd419cafe2b0d2e91edb4e440 (patch)
treec890b4eaa9ccad349c1428c9d90da169d397b54f /drivers/gpu/drm/radeon/atombios_crtc.c
parentdrm/radeon: add support pll selection for DCE8 (v4) (diff)
downloadlinux-2f0047b2ba92b29bd419cafe2b0d2e91edb4e440.tar.xz
linux-2f0047b2ba92b29bd419cafe2b0d2e91edb4e440.zip
drm/radeon: Handle PPLL0 powerdown on DCE8
Only Bonaire has PPLL0. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_crtc.c')
-rw-r--r--drivers/gpu/drm/radeon/atombios_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
index 590e4eb5f074..24eee7c76870 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -1931,7 +1931,7 @@ static void atombios_crtc_disable(struct drm_crtc *crtc)
break;
case ATOM_PPLL0:
/* disable the ppll */
- if (ASIC_IS_DCE61(rdev))
+ if ((rdev->family == CHIP_ARUBA) || (rdev->family == CHIP_BONAIRE))
atombios_crtc_program_pll(crtc, radeon_crtc->crtc_id, radeon_crtc->pll_id,
0, 0, ATOM_DISABLE, 0, 0, 0, 0, 0, false, &ss);
break;