drm/radeon/kms: fix typo in IH_CNTL swap bitfield
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 6 Jul 2011 19:52:27 +0000 (19:52 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Jul 2011 07:47:12 +0000 (17:47 +1000)
Only affects BE systems.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreend.h
drivers/gpu/drm/radeon/r600d.h

index 1636e34498252c3550e17a6515aa6097974bbf7f..5fd287ad9d971eaa63e0e822aefcb14c789efb87 100644 (file)
 #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
index f140a0d5cb543c0281c8e8a85f62df873fa51809..0245ae6c204ec60a739dd2200eff1d858e9a38da 100644 (file)
 #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