OSDN Git Service

mediatek: Change android flexible format to allocate YVU420 buffer
authorHirokazu Honda <hiroh@chromium.org>
Fri, 23 Aug 2019 05:31:31 +0000 (14:31 +0900)
committerchrome-bot <chrome-bot@chromium.org>
Sun, 25 Aug 2019 08:10:35 +0000 (01:10 -0700)
commit3d856025f8f057d29361e753ef712993d218d6e9
treec956b8b5f75f7fbf3993fe28a3ccbf5679e5c602
parent782fae07b2294c5d901561a24125658e78cf988d
mediatek: Change android flexible format to allocate YVU420 buffer

crrev.com/c/1716864 made gralloc allocae NV12 buffer with the android flexible
format, DRM_FORMAT_FLEX_YCbCr_420_888. However, the change broke many CTS tests.
This partially reverts the commit. The allocated buffer fromat becomes YVU420.

BUG=chromium:987185
BUG=b:139714614
Cq-Depend: chromium:1767680
Change-Id: I9fcde88cff79fac2655fb627418b371b314077c1
Reviewed-on: https://chromium-review.googlesource.com/1767450
Tested-by: Hirokazu Honda <hiroh@chromium.org>
Commit-Ready: Hirokazu Honda <hiroh@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
mediatek.c