Go to the documentation of this file.
16 #ifndef OMAP_DMM_PRIV_H
17 #define OMAP_DMM_PRIV_H
19 #define DMM_REVISION 0x000
20 #define DMM_HWINFO 0x004
21 #define DMM_LISA_HWINFO 0x008
22 #define DMM_DMM_SYSCONFIG 0x010
23 #define DMM_LISA_LOCK 0x01C
24 #define DMM_LISA_MAP__0 0x040
25 #define DMM_LISA_MAP__1 0x044
26 #define DMM_TILER_HWINFO 0x208
27 #define DMM_TILER_OR__0 0x220
28 #define DMM_TILER_OR__1 0x224
29 #define DMM_PAT_HWINFO 0x408
30 #define DMM_PAT_GEOMETRY 0x40C
31 #define DMM_PAT_CONFIG 0x410
32 #define DMM_PAT_VIEW__0 0x420
33 #define DMM_PAT_VIEW__1 0x424
34 #define DMM_PAT_VIEW_MAP__0 0x440
35 #define DMM_PAT_VIEW_MAP_BASE 0x460
36 #define DMM_PAT_IRQ_EOI 0x478
37 #define DMM_PAT_IRQSTATUS_RAW 0x480
38 #define DMM_PAT_IRQSTATUS 0x490
39 #define DMM_PAT_IRQENABLE_SET 0x4A0
40 #define DMM_PAT_IRQENABLE_CLR 0x4B0
41 #define DMM_PAT_STATUS__0 0x4C0
42 #define DMM_PAT_STATUS__1 0x4C4
43 #define DMM_PAT_STATUS__2 0x4C8
44 #define DMM_PAT_STATUS__3 0x4CC
45 #define DMM_PAT_DESCR__0 0x500
46 #define DMM_PAT_DESCR__1 0x510
47 #define DMM_PAT_DESCR__2 0x520
48 #define DMM_PAT_DESCR__3 0x530
49 #define DMM_PEG_HWINFO 0x608
50 #define DMM_PEG_PRIO 0x620
51 #define DMM_PEG_PRIO_PAT 0x640
53 #define DMM_IRQSTAT_DST (1<<0)
54 #define DMM_IRQSTAT_LST (1<<1)
55 #define DMM_IRQSTAT_ERR_INV_DSC (1<<2)
56 #define DMM_IRQSTAT_ERR_INV_DATA (1<<3)
57 #define DMM_IRQSTAT_ERR_UPD_AREA (1<<4)
58 #define DMM_IRQSTAT_ERR_UPD_CTRL (1<<5)
59 #define DMM_IRQSTAT_ERR_UPD_DATA (1<<6)
60 #define DMM_IRQSTAT_ERR_LUT_MISS (1<<7)
62 #define DMM_IRQSTAT_ERR_MASK (DMM_IRQ_STAT_ERR_INV_DSC | \
63 DMM_IRQ_STAT_ERR_INV_DATA | \
64 DMM_IRQ_STAT_ERR_UPD_AREA | \
65 DMM_IRQ_STAT_ERR_UPD_CTRL | \
66 DMM_IRQ_STAT_ERR_UPD_DATA | \
67 DMM_IRQ_STAT_ERR_LUT_MISS)
69 #define DMM_PATSTATUS_READY (1<<0)
70 #define DMM_PATSTATUS_VALID (1<<1)
71 #define DMM_PATSTATUS_RUN (1<<2)
72 #define DMM_PATSTATUS_DONE (1<<3)
73 #define DMM_PATSTATUS_LINKED (1<<4)
74 #define DMM_PATSTATUS_BYPASSED (1<<7)
75 #define DMM_PATSTATUS_ERR_INV_DESCR (1<<10)
76 #define DMM_PATSTATUS_ERR_INV_DATA (1<<11)
77 #define DMM_PATSTATUS_ERR_UPD_AREA (1<<12)
78 #define DMM_PATSTATUS_ERR_UPD_CTRL (1<<13)
79 #define DMM_PATSTATUS_ERR_UPD_DATA (1<<14)
80 #define DMM_PATSTATUS_ERR_ACCESS (1<<15)
83 #define DMM_PATSTATUS_ERR (DMM_PATSTATUS_ERR_INV_DESCR | \
84 DMM_PATSTATUS_ERR_INV_DATA | \
85 DMM_PATSTATUS_ERR_UPD_AREA | \
86 DMM_PATSTATUS_ERR_UPD_CTRL | \
87 DMM_PATSTATUS_ERR_UPD_DATA)
111 #define DMM_FIXED_RETRY_COUNT 1000
118 #define DESCR_SIZE 128
119 #define REFILL_BUFFER_SIZE ((4 * 128 * 256) + (3 * DESCR_SIZE))