commit | a62df8328b43bc2a3759a1182159c49268da5456 | [log] [tgz] |
---|---|---|
author | Krunal Patel <krunalkumarmukeshkumar.patel@amd.corp-partner.google.com> | Fri Dec 31 00:18:18 2021 +0530 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 20 18:04:13 2022 +0000 |
tree | 4da1c4fb5e612063a1e5c38dc13f07142a0cde20 | |
parent | 2439e1717245d226676a41479a66cc225f6a94b3 [diff] |
UPSTREAM: frontend/va: Setting the size of VADRMPRIMESurfaceDescriptor Issue: objects[i].size is returned as '0' for all Root cause: The value of objects.size is hard coded to '0' in vlVaExportSurfaceHandle() Fix: Assigning the value by multiplying height and width of the surface BUG=b:200680176 TEST=vaapi_unittest Signed-off-by: Krunal Patel <krunalkumarmukeshkumar.patel@amd.corp-partner.google.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14313> (cherry picked from commit 13b79266e47ebd0e36b0c01531c0876c39841b7e) Change-Id: I77a1fbe3e180fd90063154bb69912edcfd8c009b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/3393237 Reviewed-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Miguel Casas <mcasas@google.com>