drm/radeon/kms: fix typo in IH_CNTL swap bitfield
Subsystems (2)
PATCH 1/1 drm/radeon/kms: fix typo in IH_CNTL swap bitfield
Only affects BE systems.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/radeon/evergreend.h | 2 +- drivers/gpu/drm/radeon/r600d.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/evergreend.h +1 -1
@@ -466,7 +466,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
drivers/gpu/drm/radeon/r600d.h +1 -1
@@ -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
Signature · 6 lines
1.7.1.1 _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable