-
- Downloads
[media] media: ti-vpe: vpdma: Add support for setting max width height
Add a helper function to be able to set the maximum VPDMA transfer size to limit potential buffer overrun. Added enums for max_width and max_height fields of the outbound data descriptor. Changed vpdma_add_out_dtd to accept two more arguments for max width and height. Make use of different max width & height sets for different of capture module (i.e. slices). Signed-off-by:Nikhil Devshatwar <nikhil.nd@ti.com> Signed-off-by:
Benoit Parrot <bparrot@ti.com> Signed-off-by:
Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@s-opensource.com>
Showing
- drivers/media/platform/ti-vpe/vpdma.c 22 additions, 5 deletionsdrivers/media/platform/ti-vpe/vpdma.c
- drivers/media/platform/ti-vpe/vpdma.h 30 additions, 2 deletionsdrivers/media/platform/ti-vpe/vpdma.h
- drivers/media/platform/ti-vpe/vpdma_priv.h 4 additions, 36 deletionsdrivers/media/platform/ti-vpe/vpdma_priv.h
- drivers/media/platform/ti-vpe/vpe.c 6 additions, 1 deletiondrivers/media/platform/ti-vpe/vpe.c
Loading
Please register or sign in to comment