Browse Source

disp: msm: sde: Increase LUTDMA address max to 21 bits

LUTDMA addressing was previously restricted to 20 bits. Update
the LUTDMA validation logic to allow the full 21 bit addressing.

Change-Id: If0bce4f490eb871101f2b3227883aba5149ad27a
Signed-off-by: Christopher Braga <[email protected]>
Christopher Braga 3 years ago
parent
commit
8f51420d29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      msm/sde/sde_hw_reg_dma_v1.c

+ 1 - 1
msm/sde/sde_hw_reg_dma_v1.c

@@ -14,7 +14,7 @@
 #define GUARD_BYTES (BIT(8) - 1)
 #define GUARD_BYTES (BIT(8) - 1)
 #define ALIGNED_OFFSET (U32_MAX & ~(GUARD_BYTES))
 #define ALIGNED_OFFSET (U32_MAX & ~(GUARD_BYTES))
 #define ADDR_ALIGN BIT(8)
 #define ADDR_ALIGN BIT(8)
-#define MAX_RELATIVE_OFF (BIT(20) - 1)
+#define MAX_RELATIVE_OFF (BIT(21) - 1)
 #define ABSOLUTE_RANGE BIT(27)
 #define ABSOLUTE_RANGE BIT(27)
 
 
 #define DECODE_SEL_OP (BIT(HW_BLK_SELECT))
 #define DECODE_SEL_OP (BIT(HW_BLK_SELECT))