[Bug 32556] screen flickers all the time with desktop image appearing only briefly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 22 11:28:24 PST 2010


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

--- Comment #9 from Alex Deucher <agd5f at yahoo.com> 2010-12-22 11:28:24 PST ---
With the patch from comment 8, try these possible fixes:

diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index b0ab185..0be8015 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -525,7 +525,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
                    (rdev->family == CHIP_RS690) ||
                    (rdev->family == CHIP_RS740))
                        pll->flags |= (/*RADEON_PLL_USE_FRAC_FB_DIV |*/
-                                      RADEON_PLL_PREFER_CLOSEST_LOWER);
+                                      RADEON_PLL_PREFER_CLOSEST_HIGHER);

                if (ASIC_IS_DCE32(rdev) && mode->clock > 200000)        /*
range limits??? */
                        pll->flags |= RADEON_PLL_PREFER_HIGH_FB_DIV;

Or:

diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index b0ab185..91facc8 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -525,7 +525,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
                    (rdev->family == CHIP_RS690) ||
                    (rdev->family == CHIP_RS740))
                        pll->flags |= (/*RADEON_PLL_USE_FRAC_FB_DIV |*/
-                                      RADEON_PLL_PREFER_CLOSEST_LOWER);
+                                      RADEON_PLL_NO_ODD_POST_DIV);

                if (ASIC_IS_DCE32(rdev) && mode->clock > 200000)        /*
range limits??? */
                        pll->flags |= RADEON_PLL_PREFER_HIGH_FB_DIV;

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list