From: Alex Deucher Date: Tue, 5 Feb 2013 16:58:11 +0000 (-0500) Subject: drm/radeon: Handle PPLL0 powerdown on DCE8 X-Git-Tag: accepted/tizen/common/20141203.182822~1901^2~60^2~130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f0047b2ba92b29bd419cafe2b0d2e91edb4e440;p=platform%2Fkernel%2Flinux-arm64.git drm/radeon: Handle PPLL0 powerdown on DCE8 Only Bonaire has PPLL0. Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 590e4eb..24eee7c 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;