forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/gpu/drm/omapdrm/omap_dmm_priv.h
....@@ -159,6 +159,7 @@
159159
160160 struct dmm {
161161 struct device *dev;
162
+ dma_addr_t phys_base;
162163 void __iomem *base;
163164 int irq;
164165
....@@ -189,6 +190,12 @@
189190 struct list_head alloc_head;
190191
191192 const struct dmm_platform_data *plat_data;
193
+
194
+ bool dmm_workaround;
195
+ spinlock_t wa_lock;
196
+ u32 *wa_dma_data;
197
+ dma_addr_t wa_dma_handle;
198
+ struct dma_chan *wa_dma_chan;
192199 };
193200
194201 #endif