OSDN Git Service

minigbm: virtio-gpu: use NV12 as flexible media format
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 5 Jun 2019 02:43:41 +0000 (19:43 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 3 Jul 2019 09:02:16 +0000 (02:02 -0700)
commitf5d280d81f55b0e0ef328bb71b389520b7d58a76
tree8dc00aa0c2847f5a587000a17f26e084cbfb2b2e
parent0d44d48d52d53dfb897fb16e610dd687fc6ba43b
minigbm: virtio-gpu: use NV12 as flexible media format

All of our future drivers (including MTK_MT8183) seem to
prefer NV12 as their flexible media format, so advertise that.

In the unlikely event that changes, we can set either use the
capabilities or resource create versioning (a planned feature).

This has the benefit of keeping Android flexible formats in
Android userspace.

BUG=b:132939420
TEST=compile

Change-Id: I486f7be23f8431aa8bbaea89dca7c1304536e9ac
Reviewed-on: https://chromium-review.googlesource.com/1644464
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Lepton Wu <lepton@chromium.org>
virtio_gpu.c