media/gpu/v4l2ip: fail when trying to build an IP with USERPTR storage type
The V4L2 IP only supports MMAP and DMABUF as storage types for output buffers. Make sure to fail building the IP if the client requests output storage to be user memory, so we can fall back to another IP in this case. Bug: None Test: image_processor_test on Kukui and Hana falls back to libyuvIP instead of failing to queue the USERPTR output buffer. Change-Id: I3c66d6eb8aecaf4240b4ceac516d3c43b4d6e141 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2123498Reviewed-by:Chih-Yu Huang <akahuang@chromium.org> Reviewed-by:
Jeffrey Kardatzke <jkardatzke@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#812560}
Showing
Please register or sign in to comment