OSDN Git Service

minigbm: Added YV12 for Mali platforms
authorGurchetan Singh <gurchetansingh@chromium.org>
Tue, 30 Aug 2016 01:19:19 +0000 (18:19 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 2 Sep 2016 14:11:27 +0000 (07:11 -0700)
commit42cc6d6c2a93f585daad4c70398edfd770578683
treef0cc3586a9b48a6c2c938ca19fb062a9d3458e41
parentd6fb5777154cb1be756173fd1ea907fada572b03
minigbm: Added YV12 for Mali platforms

Oak-cheets is using YV12 as it's Android flexible YUV format, so
we need to support it.  Additionally, we're trying to enable
YV12 on Mali with EXT_image_dma_buf_import.  Instead of having
redundant switch statements in every driver, let's add a helper
function to do this.

BUG=chrome-os-partner:54632, b/29059119, chromium:616275
TEST=Ran plane_test, graphics_Gbm on veyron_minnie

Change-Id: I4798225db809941367e58dde962576535b8d767c
Reviewed-on: https://chromium-review.googlesource.com/377884
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
helpers.c
helpers.h
i915.c
mediatek.c
rockchip.c