diff mbox

[Bug,26552] Screen flickering with 2.6.37 [ATI X1600]

Message ID 201101131654.p0DGsSgq017301@demeter2.kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

bugzilla-daemon@bugzilla.kernel.org Jan. 13, 2011, 4:54 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index 46178f9..50b4ef4 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -521,6 +521,7 @@  static u32 atombios_adjust_pll(struct drm_crtc *crtc,
        pll->flags = 0;

        if (ASIC_IS_AVIVO(rdev)) {
+               pll->flags |= RADEON_PLL_PREFER_MINM_OVER_MAXP;
                if ((rdev->family == CHIP_RS600) ||
                    (rdev->family == CHIP_RS690) ||
                    (rdev->family == CHIP_RS740))

diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index 46178f9..24aa984 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -521,6 +521,8 @@  static u32 atombios_adjust_pll(struct drm_crtc *crtc,
        pll->flags = 0;

        if (ASIC_IS_AVIVO(rdev)) {
+               pll->flags |= (RADEON_PLL_PREFER_MINM_OVER_MAXP |
+                              RADEON_PLL_USE_FRAC_FB_DIV);
                if ((rdev->family == CHIP_RS600) ||
                    (rdev->family == CHIP_RS690) ||
                    (rdev->family == CHIP_RS740))

diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index 46178f9..fa8b96a 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -521,6 +521,7 @@  static u32 atombios_adjust_pll(struct drm_crtc *crtc,
        pll->flags = 0;

        if (ASIC_IS_AVIVO(rdev)) {
+               pll->flags |= RADEON_PLL_USE_FRAC_FB_DIV;
                if ((rdev->family == CHIP_RS600) ||
                    (rdev->family == CHIP_RS690) ||
                    (rdev->family == CHIP_RS740))