This is a note to let you know that I've just added the patch titled
drm/radeon/kms: add missing frac fb div flag for dce4+
to the 2.6.37-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-radeon-kms-add-missing-frac-fb-div-flag-for-dce4.patch
and it can be found in the queue-2.6.37 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 9f4283f49f0a96a64c5a45fe56f0f8c942885eef Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Wed, 16 Feb 2011 21:17:04 -0500
Subject: drm/radeon/kms: add missing frac fb div flag for dce4+
From: Alex Deucher <[email protected]>
commit 9f4283f49f0a96a64c5a45fe56f0f8c942885eef upstream.
The fixed ref/post dividers are set by the AdjustPll table
rather than the ss info table on dce4+. Make sure we enable
the fractional feedback dividers when using a fixed post
or ref divider on them as well.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=29272
Signed-off-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/gpu/drm/radeon/atombios_crtc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -533,9 +533,9 @@ static u32 atombios_adjust_pll(struct dr
/* use recommended ref_div for ss */
if (radeon_encoder->devices &
(ATOM_DEVICE_LCD_SUPPORT)) {
- pll->flags |= RADEON_PLL_PREFER_MINM_OVER_MAXP;
if (ss_enabled) {
if (ss->refdiv) {
+ pll->flags |=
RADEON_PLL_PREFER_MINM_OVER_MAXP;
pll->flags |=
RADEON_PLL_USE_REF_DIV;
pll->reference_div = ss->refdiv;
if (ASIC_IS_AVIVO(rdev))
@@ -650,10 +650,12 @@ static u32 atombios_adjust_pll(struct dr
index, (uint32_t *)&args);
adjusted_clock =
le32_to_cpu(args.v3.sOutput.ulDispPllFreq) * 10;
if (args.v3.sOutput.ucRefDiv) {
+ pll->flags |=
RADEON_PLL_USE_FRAC_FB_DIV;
pll->flags |= RADEON_PLL_USE_REF_DIV;
pll->reference_div =
args.v3.sOutput.ucRefDiv;
}
if (args.v3.sOutput.ucPostDiv) {
+ pll->flags |=
RADEON_PLL_USE_FRAC_FB_DIV;
pll->flags |= RADEON_PLL_USE_POST_DIV;
pll->post_div =
args.v3.sOutput.ucPostDiv;
}
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.37/drm-radeon-kms-add-bounds-checking-to-avivo-pll-algo.patch
queue-2.6.37/drm-radeon-kms-hopefully-fix-pll-issues-for-real-v3.patch
queue-2.6.37/drm-radeon-kms-add-connector-table-for-mac-g5-9600.patch
queue-2.6.37/drm-radeon-kms-fix-interlaced-modes-on-dce4.patch
queue-2.6.37/drm-radeon-kms-add-missing-frac-fb-div-flag-for-dce4.patch
queue-2.6.37/drm-radeon-kms-improve-6xx-7xx-cs-error-output.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable