On 09/06/2013 12:12 PM, Archit Taneja wrote: > 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 <arc...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com> Regards, Hans > --- > drivers/media/platform/ti-vpe/vpdma.c | 268 +++++++++++++++ > drivers/media/platform/ti-vpe/vpdma.h | 48 +++ > drivers/media/platform/ti-vpe/vpdma_priv.h | 522 > +++++++++++++++++++++++++++++ > 3 files changed, 838 insertions(+) > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html