OSDN Git Service

rockchip: add NV12 bo creation support
authorZach Reizner <zachr@google.com>
Wed, 27 Apr 2016 18:14:41 +0000 (11:14 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 11 May 2016 23:51:59 +0000 (16:51 -0700)
commit58080dfa64598d295494d03a3b6332e351326f57
treee2f5c9d582d3f16a07140db738acb38f4901e596
parent345278df0060171c7d120fc9fc1877d3dfa0ebc9
rockchip: add NV12 bo creation support

This patch does alignment if needed on the width and height, but does
not expose this change to the public facing gbm_bo. It is expected that
framebuffer creation in the kernel with do alignment such that
applications don't have to have platform specific knowledge of alignment
requirements.

TEST=nv12_test
BUG=chromium:607241

Change-Id: I6138afb56537f516fac038ff4db39593c623fccd
Reviewed-on: https://chromium-review.googlesource.com/341010
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
rockchip.c