Skip to contentSkip to conversation

drm/radeon: Fix the definition of RADEON_BUF_SWAP_32BIT

PATCH In review Benjamin Herrenschmidt 2 participants 2 messages Jul 13, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/6 drm/radeon: Fix the definition of RADEON_BUF_SWAP_32BIT

(Note that this is duplicated under various other names such as R600_BUF_SWAP_32BIT etc...). At least now all the definitions agree.

---

(resent adding dri-devel to the CC list to hit patchwork)

 drivers/gpu/drm/radeon/radeon_reg.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_reg.h +1 -1
index ec93a75..0828add1 100644
@@ -3293,7 +3293,7 @@
 #	define RADEON_RB_BUFSZ_MASK		(0x3f << 0)
 #	define RADEON_RB_BLKSZ_SHIFT		8
 #	define RADEON_RB_BLKSZ_MASK		(0x3f << 8)
-#	define RADEON_BUF_SWAP_32BIT		(1 << 17)
+#	define RADEON_BUF_SWAP_32BIT		(2 << 16)
 #	define RADEON_MAX_FETCH_SHIFT		18
 #	define RADEON_MAX_FETCH_MASK		(0x3 << 18)
 #	define RADEON_RB_NO_UPDATE		(1 << 27)
Reviewed-by on v1 6/6
#1 lore raw
Quoted 5 lines · Benjamin Herrenschmidt

(Note that this is duplicated under various other names such as R600_BUF_SWAP_32BIT etc...). At least now all the definitions agree.

Quoted 24 lines

---

(resent adding dri-devel to the CC list to hit patchwork)

 drivers/gpu/drm/radeon/radeon_reg.h |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_reg.h +1 -1
index ec93a75..0828add1 100644
@@ -3293,7 +3293,7 @@
  #      define RADEON_RB_BUFSZ_MASK             (0x3f << 0)
  #      define RADEON_RB_BLKSZ_SHIFT            8
  #      define RADEON_RB_BLKSZ_MASK             (0x3f << 8)
-#      define RADEON_BUF_SWAP_32BIT            (1 << 17)
+#      define RADEON_BUF_SWAP_32BIT            (2 << 16)
  #      define RADEON_MAX_FETCH_SHIFT           18
  #      define RADEON_MAX_FETCH_MASK            (0x3 << 18)
  #      define RADEON_RB_NO_UPDATE              (1 << 27)