Go to the documentation of this file.
16 #ifndef OMAP_DMM_TILER_H
17 #define OMAP_DMM_TILER_H
45 #define SLOT_WIDTH_BITS 6
46 #define SLOT_HEIGHT_BITS 6
49 #define CONT_WIDTH_BITS 14
50 #define CONT_HEIGHT_BITS 13
53 #define TILER_PAGE (1 << (SLOT_WIDTH_BITS + SLOT_HEIGHT_BITS))
54 #define TILER_WIDTH (1 << (CONT_WIDTH_BITS - SLOT_WIDTH_BITS))
55 #define TILER_HEIGHT (1 << (CONT_HEIGHT_BITS - SLOT_HEIGHT_BITS))
69 #define MASK_XY_FLIP (1 << 31)
70 #define MASK_Y_INVERT (1 << 30)
71 #define MASK_X_INVERT (1 << 29)
72 #define SHIFT_ACC_MODE 27
73 #define MASK_ACC_MODE 3
75 #define MASK(bits) ((1 << (bits)) - 1)
77 #define TILVIEW_8BIT 0x60000000u
78 #define TILVIEW_16BIT (TILVIEW_8BIT + VIEW_SIZE)
79 #define TILVIEW_32BIT (TILVIEW_16BIT + VIEW_SIZE)
80 #define TILVIEW_PAGE (TILVIEW_32BIT + VIEW_SIZE)
81 #define TILVIEW_END (TILVIEW_PAGE + VIEW_SIZE)
84 #define TIL_ADDR(x, orient, a)\
85 ((u32) (x) | (orient) | ((a) << SHIFT_ACC_MODE))
87 #ifdef CONFIG_DEBUG_FS
142 static inline int dmm_is_available(
void)