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.14-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.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


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

From: Alex Deucher <[email protected]>

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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 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
@@ -1073,12 +1073,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 [email protected] 
are

queue-3.14/drm-radeon-fix-voltage-setup-on-hawaii.patch
queue-3.14/drm-radeon-use-drm_mode_vrefresh-rather-than-mode-vrefresh.patch
queue-3.14/drm-radeon-fix-1-rb-harvest-config-setup-for-tn-rl.patch
queue-3.14/drm-radeon-only-enable-kv-kb-dpm-interrupts-once-v3.patch
queue-3.14/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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to