media: staging/intel-ipu3: css: Add dma buff pool utility functions
authorYong Zhi <yong.zhi@intel.com>
Fri, 7 Dec 2018 01:03:30 +0000 (20:03 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 14 Dec 2018 10:21:21 +0000 (05:21 -0500)
commite9fad6f1d2307d42e6b8f40c78b51c1f59c61922
tree1ad80ef7c270ab9f102db2de9f3f32603a41e605
parent2a2c51d3287e2e2bdbfd5f08716cee141e3cefa2
media: staging/intel-ipu3: css: Add dma buff pool utility functions

The pools are used to store previous parameters set by
user with the parameter queue. Due to pipelining,
there needs to be multiple sets (up to four)
of parameters which are queued in a host-to-sp queue.

[mchehab@kernel.org: fixed two minor issues on comments: a space before
 tab and a typo: "vaid" -> "valid"]
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/ipu3/ipu3-css-pool.c [new file with mode: 0644]
drivers/staging/media/ipu3/ipu3-css-pool.h [new file with mode: 0644]