OSDN Git Service

Add YV12 pixel format support
authorRob Herring <robh@kernel.org>
Thu, 8 Sep 2016 22:45:03 +0000 (17:45 -0500)
committerRob Herring <robh@kernel.org>
Tue, 13 Dec 2016 15:43:50 +0000 (09:43 -0600)
commitff66db2e495ee96a82aaf55dfbb058ebb7df2c95
tree7431dee62790b965e7751fa7e71def03cd91cce7
parent2a8002bfd571d989158389e4c3b2275943be55ea
Add YV12 pixel format support

GBM doesn't support YV12 and we need a single buffer, so request GR88 from
GBM instead and adjust the width and height. GR88 also ensures (hopefully)
that the GPU texture alignment requirements are met.

Signed-off-by: Rob Herring <robh@kernel.org>
gralloc_gbm.cpp