提交 fcb857ab 编写于 作者: A Alex Deucher 提交者: Dave Airlie

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

Only affects BE systems.
Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册