mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
Originally the resource type of both the input and output queue needs to be provided when the stream is created. This however does not work well with guest drivers that allow to change the memory type being used for buffers after the stream is created, e.g. V4L2. To mitigate this, allow to specify the resource type as part of the stream parameters by introducing new GET_PARAMS_EXT and SET_PARAMS_EXT that work exactly like the original ones, but handle the resource type in addition. The old commands are still supported to preserve compatiblity with guests relying on the old commands. BUG=b:193202566 TEST=Youtube can decode videos on Hatch. Change-Id: I84277f8b82773a1d8f4f99bb5050345320807cad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3143583 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |