diff options
author | Archit Taneja <archit@ti.com> | 2013-10-16 05:36:46 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-28 17:10:46 (GMT) |
commit | 213b8ee4001895dd60910c440f76682fb881b5cc (patch) | |
tree | 1905e8cec30a57c2a36a20babbdb8fee84ae8022 /drivers/dma/bestcomm | |
parent | 9262e5a2253ad055d465fcf0905a5b5f160ce6f8 (diff) | |
download | linux-fsl-qoriq-213b8ee4001895dd60910c440f76682fb881b5cc.tar.xz |
[media] v4l: ti-vpe: Add helpers for creating VPDMA descriptors
Create functions which the VPE driver can use to create a VPDMA
descriptor and add it to a VPDMA descriptor list. These functions take a
pointer to an existing list, and append the configuration/data/control
descriptor header to the list.
In the case of configuration descriptors, the creation of a payload
block may be required(the payloads can hold VPE MMR values, or scaler
coefficients). The allocation of the payload buffer and it's content is
left to the VPE driver. However, the VPDMA library provides helper
macros to create payload in the correct format.
Add debug functions to dump the descriptors in a way such that it's easy
to see the values of different fields in the descriptors.
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/dma/bestcomm')
0 files changed, 0 insertions, 0 deletions