OSDN Git Service

Upstream: 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)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 23 Jan 2018 05:25:07 +0000 (21:25 -0800)
commit9dea0f87c5526e2bd649afbb7abd3e54572e76f0
tree5f6836c2a3d50b20125d5022b23c0c77c067f8e8
parent47bd806579dd3e7ae0e5f4830b63acf6e444e2a6
Upstream: 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