summary refs log tree commit diff
path: root/src/linux.rs
diff options
context:
space:
mode:
authorKeiichi Watanabe <keiichiw@chromium.org>2020-05-13 19:43:02 +0900
committerCommit Bot <commit-bot@chromium.org>2020-06-12 00:53:24 +0000
commit4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218 (patch)
treebbb4f6a5a01ec8205989b1c81ac8b6dab2c174f2 /src/linux.rs
parent97d6359febdabc2f44d5ab404a0cd41e65172163 (diff)
downloadcrosvm-4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218.tar
crosvm-4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218.tar.gz
crosvm-4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218.tar.bz2
crosvm-4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218.tar.lz
crosvm-4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218.tar.xz
crosvm-4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218.tar.zst
crosvm-4ffb3d06bdadcfcb79ee2b7bf445ac09da34c218.zip
devices: video: dec: Support arbitrary buffers to be mapped as resources
Support a case where a guest client who may use arbitrary numbers of
buffers. (e.g. C2V4L2Component with default pool in ARCVM)
Such a client is valid as long as it uses at most 32 buffers at the same
time.

More specifically, this CL allows the guest to call ResourceCreate for an
output resource_id which was already processed by the host. Such
ResourceCreate calls will be handled as reassignment of DMAbuf to a
FrameBufferId.

BUG=b:157702336
TEST=Play a YouTube video on ARCVM w/ C2V4L2Component using default pool

Change-Id: Ie9c457867abd91b6b7a17a5bca4a1a1e9f53c1ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2198327
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Diffstat (limited to 'src/linux.rs')
0 files changed, 0 insertions, 0 deletions