Hi Dan, On Fri, Apr 29, 2022 at 10:01:37PM +0200, Michael Grzeschik wrote:
On Fri, Apr 29, 2022 at 01:51:48PM -0500, Dan Vacura wrote:Thanks for this change it improves the performance with the DWC3 controller on QCOM chips in an Android 5.10 kernel. I haven't tested the scatter/gather path, so memcpy was used here via uvc_video_encode_isoc(). I was able to get around 30% improvement (fps on host side). I did modify the alloc to only set the WQ_HIGHPRI flag.
I missed to ask you to try the WQ_CPU_INTENSIVE flag. It would be interesting if you can see further improvement. Regards, Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature