mediatek: ensure stride meets Android requirement for YVU420

Android YV12 requires "c_stride = ALIGN(stride/2, 16)", and is reflected
in drv_bo_from_format_and_padding.

BUG=b:239243515
TEST=build

Change-Id: Ifb7641f5f818f96d40af460fc9d266cd9689f48a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3919605
Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Fei Shao <fshao@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Tested-by: Yiwei Zhang <zzyiwei@chromium.org>
1 file changed