Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
8f51420d29
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ALIGNED_OFFSET (U32_MAX & ~(GUARD_BYTES))
 #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 DECODE_SEL_OP (BIT(HW_BLK_SELECT))