OSDN Git Service

minigbm: i915: Use NV12 as the main YUV format, including camera output
authorTomasz Figa <tfiga@chromium.org>
Thu, 22 Jun 2017 07:52:43 +0000 (16:52 +0900)
committerchrome-bot <chrome-bot@chromium.org>
Mon, 22 Jan 2018 18:13:39 +0000 (10:13 -0800)
commitb92e4f87bb2259062cf7edade6e7163486738243
tree2760d55524438c03bd55441edd38d7ac2620b1d6
parent41eb166233736d70296dd6976b50384d6b057a11
minigbm: i915: Use NV12 as the main YUV format, including camera output

On SKL and newer, the display controller supports NV12 natively for
overlays. Moreover it's the only output format supported by the camera
subsystem. Since it shouldn't matter for other uses cases if we use NV12
or YVU420, let's just switch everything to NV12 for simplicity.

BUG=b:32077885
TEST=Play a video in Android YouTube app on Cyan and Reef

Change-Id: I5cfcdec2b0e2020a3ae1e8364b60df3585838807
Reviewed-on: https://chromium-review.googlesource.com/544489
Commit-Ready: Owen Lin <owenlin@chromium.org>
Tested-by: Owen Lin <owenlin@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
i915.c