CHROMIUM: frontends/va: Limiting number of concurrent HW decoders to 8
Limit number of concurrent decoder instances because of memory
allocated for dpb is high as number of instances growing.
For example meet 16p call using 16 HW decoder concurrent instances
for which dpb allocated is ~2.19GB and video shows lag because
of memory swapping.
Once we have dynamic dpb support added to vp9 decoder, we can
revert this limitation.
BUG=b:175346222
b:176840989
TEST= meet 16p call and check for performance.
Signed-off-by: SureshGuttula <sguttula@amd.com>
Change-Id: I0b75e142dad61fda2045e76e28ea8cc91de3a724
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/2644409
Reviewed-by: Drew Davenport <ddavenport@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Drew Davenport <ddavenport@chromium.org>
Tested-by: Drew Davenport <ddavenport@chromium.org>
3 files changed