aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/omapdrm/omap_dmm_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/omapdrm/omap_dmm_priv.h')
-rw-r--r--drivers/staging/omapdrm/omap_dmm_priv.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/staging/omapdrm/omap_dmm_priv.h b/drivers/staging/omapdrm/omap_dmm_priv.h
index 08b22e9f0ed7..273ec12c028a 100644
--- a/drivers/staging/omapdrm/omap_dmm_priv.h
+++ b/drivers/staging/omapdrm/omap_dmm_priv.h
@@ -141,8 +141,7 @@ struct refill_engine {
/* only one trans per engine for now */
struct dmm_txn txn;
- /* offset to lut associated with container */
- u32 *lut_offset;
+ bool async;
wait_queue_head_t wait_for_refill;
@@ -161,10 +160,11 @@ struct dmm {
dma_addr_t refill_pa;
/* refill engines */
- struct semaphore engine_sem;
+ wait_queue_head_t engine_queue;
struct list_head idle_head;
struct refill_engine *engines;
int num_engines;
+ atomic_t engine_counter;
/* container information */
int container_width;
@@ -176,9 +176,6 @@ struct dmm {
/* array of LUT - TCM containers */
struct tcm **tcm;
- /* LUT table storage */
- u32 *lut;
-
/* allocation list and lock */
struct list_head alloc_head;
};