BACKPORT: radeon/vcn : Corrected dpb_size calculation for VP9_2
Currently dpb_size for VP9 profile0 and profile2 is same eventhough
for profile2 dpb_size is multiplied by extra 3/2 and we are
seeing VM_L2_PROTECTION_FAULT error and ring vcn_dec timeout because
of less dpb_size for VP9_2.
This patch will correct dpb_size for VP9_2 and fixes the issue.
BUG=b:169591197
TEST=tast run <IP> video.Play.vp9_2_hw
Signed-off-by: SureshGuttula <suresh.guttula@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7480>
Signed-off-by: Suresh Guttula <suresh.guttula@amd.corp-partner.google.com>
Change-Id: I8dd4172d9bc3071a4b3c3815e0c588c5c4e6b4d7
(cherry picked from commit 956228da3a11a83d938c929415efb375ffc2ca1f)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/2526753
Reviewed-by: Drew Davenport <ddavenport@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Tested-by: Drew Davenport <ddavenport@chromium.org>
Commit-Queue: Drew Davenport <ddavenport@chromium.org>
1 file changed