Patch "drm/radeon: fix 1 RB harvest config setup for TN/RL" has been added to the 3.19-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/radeon: fix 1 RB harvest config setup for TN/RL

to the 3.19-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-fix-1-rb-harvest-config-setup-for-tn-rl.patch
and it can be found in the queue-3.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From dbfb00c3e7e18439f2ebf67fe99bf7a50b5bae1e Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@xxxxxxx>
Date: Thu, 19 Feb 2015 16:02:15 -0500
Subject: drm/radeon: fix 1 RB harvest config setup for TN/RL

From: Alex Deucher <alexander.deucher@xxxxxxx>

commit dbfb00c3e7e18439f2ebf67fe99bf7a50b5bae1e upstream.

The logic was reversed from what the hw actually exposed.
Fixes graphics corruption in certain harvest configurations.

Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 drivers/gpu/drm/radeon/ni.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- a/drivers/gpu/drm/radeon/ni.c
+++ b/drivers/gpu/drm/radeon/ni.c
@@ -1085,12 +1085,12 @@ static void cayman_gpu_init(struct radeo
 
 	if ((rdev->config.cayman.max_backends_per_se == 1) &&
 	    (rdev->flags & RADEON_IS_IGP)) {
-		if ((disabled_rb_mask & 3) == 1) {
-			/* RB0 disabled, RB1 enabled */
-			tmp = 0x11111111;
-		} else {
+		if ((disabled_rb_mask & 3) == 2) {
 			/* RB1 disabled, RB0 enabled */
 			tmp = 0x00000000;
+		} else {
+			/* RB0 disabled, RB1 enabled */
+			tmp = 0x11111111;
 		}
 	} else {
 		tmp = gb_addr_config & NUM_PIPES_MASK;


Patches currently in stable-queue which might be from alexander.deucher@xxxxxxx are

queue-3.19/drm-radeon-don-t-try-to-enable-write-combining-without-pat.patch
queue-3.19/drm-radeon-dp-set-edp_configuration_set-for-bridge-chips-if-necessary.patch
queue-3.19/drm-radeon-fix-voltage-setup-on-hawaii.patch
queue-3.19/drm-radeon-use-drm_mode_vrefresh-rather-than-mode-vrefresh.patch
queue-3.19/drm-radeon-fix-1-rb-harvest-config-setup-for-tn-rl.patch
queue-3.19/drm-radeon-only-enable-kv-kb-dpm-interrupts-once-v3.patch
queue-3.19/drm-radeon-enable-native-backlight-control-on-old-macs.patch
queue-3.19/reservation-remove-shadowing-local-variable-ret.patch
queue-3.19/drm-radeon-workaround-for-cp-hw-bug-on-cik.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]