OSDN Git Service

minigbm/msm: Correct NV12 UBWC buffer allocation
authorFritz Koenig <frkoenig@chromium.org>
Wed, 9 Sep 2020 22:22:46 +0000 (15:22 -0700)
committerCommit Bot <commit-bot@chromium.org>
Sun, 13 Sep 2020 20:56:11 +0000 (20:56 +0000)
commitb03e9c85d004ed9bb6468029a0660040ce768a05
tree409b08766bc09b857b674bdcc92059f04ad4303e
parentdcdd245451f3c0f02ad118533f21da42e35304a4
minigbm/msm: Correct NV12 UBWC buffer allocation

V4L2 is the consumer of these buffers and sets up
the allocation in get_framesize_raw_nv12_ubwc().
There was a mismatch where V4L2 was aligning the
uv buffer differently than minigbm.

BUG=b:166157708
TEST=video_decode_accelerator_tests with 856x480 video

Change-Id: Idb9fb689a56639dbc73753d453e7e6e5daeb6700
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2402146
Tested-by: Fritz Koenig <frkoenig@chromium.org>
Commit-Queue: Fritz Koenig <frkoenig@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
msm.c