summaryrefslogtreecommitdiffstats
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
parent4dd1b49c6d215dc41ce50c80b4868388b93f31a3 (diff)
downloadop-kernel-dev-fcb857abc4c0d512e99a08ba0415be9a6d65b4c0.zip
op-kernel-dev-fcb857abc4c0d512e99a08ba0415be9a6d65b4c0.tar.gz
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 f140a0d..0245ae6 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
OpenPOWER on IntegriCloud