media: uvcvideo: Use cached memory for USB transfers

Use kmalloc() + DMA streaming API instead of DMA coherent
memory. The coherent memory is uncached and results in slower
decode performance.

Change-Id: Ibb5990adc3bc319fd704534721140644d76a5787
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
This commit is contained in:
Pavankumar Kondeti
2021-10-25 18:24:07 +05:30
parent b43d06a654
commit 2c785c99c2

View File

@@ -26,6 +26,8 @@
#include "uvcvideo.h"
#define CONFIG_DMA_NONCOHERENT 1
/* ------------------------------------------------------------------------
* UVC Controls
*/