aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600d.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-07-06 19:52:27 +0000
committerDave Airlie <airlied@redhat.com>2011-07-07 17:47:12 +1000
commitfcb857abc4c0d512e99a08ba0415be9a6d65b4c0 (patch)
treeb767d158028100b9b5b261d96550b7bd8edf5b80 /drivers/gpu/drm/radeon/r600d.h
parentMerge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6 (diff)
downloadlinux-dev-fcb857abc4c0d512e99a08ba0415be9a6d65b4c0.tar.xz
linux-dev-fcb857abc4c0d512e99a08ba0415be9a6d65b4c0.zip
drm/radeon/kms: fix typo in IH_CNTL swap bitfield
Only affects BE systems. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600d.h')
-rw-r--r--drivers/gpu/drm/radeon/r600d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600d.h b/drivers/gpu/drm/radeon/r600d.h
index f140a0d5cb54..0245ae6c204e 100644
--- a/drivers/gpu/drm/radeon/r600d.h
+++ b/drivers/gpu/drm/radeon/r600d.h
@@ -536,7 +536,7 @@
#define IH_RB_WPTR_ADDR_LO 0x3e14
#define IH_CNTL 0x3e18
# define ENABLE_INTR (1 << 0)
-# define IH_MC_SWAP(x) ((x) << 2)
+# define IH_MC_SWAP(x) ((x) << 1)
# define IH_MC_SWAP_NONE 0
# define IH_MC_SWAP_16BIT 1
# define IH_MC_SWAP_32BIT 2