Commit fcb857ab authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms: fix typo in IH_CNTL swap bitfield

Only affects BE systems.
Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 4dd1b49c
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
#define IH_RB_WPTR_ADDR_LO 0x3e14 #define IH_RB_WPTR_ADDR_LO 0x3e14
#define IH_CNTL 0x3e18 #define IH_CNTL 0x3e18
# define ENABLE_INTR (1 << 0) # 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_NONE 0
# define IH_MC_SWAP_16BIT 1 # define IH_MC_SWAP_16BIT 1
# define IH_MC_SWAP_32BIT 2 # define IH_MC_SWAP_32BIT 2
......
...@@ -536,7 +536,7 @@ ...@@ -536,7 +536,7 @@
#define IH_RB_WPTR_ADDR_LO 0x3e14 #define IH_RB_WPTR_ADDR_LO 0x3e14
#define IH_CNTL 0x3e18 #define IH_CNTL 0x3e18
# define ENABLE_INTR (1 << 0) # 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_NONE 0
# define IH_MC_SWAP_16BIT 1 # define IH_MC_SWAP_16BIT 1
# define IH_MC_SWAP_32BIT 2 # define IH_MC_SWAP_32BIT 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment