OSDN Git Service

Add GBM_BO_USE_HW_VIDEO_ENCODER use flag
authorHirokazu Honda <hiroh@chromium.org>
Wed, 31 Jul 2019 07:35:52 +0000 (16:35 +0900)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 16 Aug 2019 19:40:30 +0000 (12:40 -0700)
commit3b8d4d0c83d0d46a9bc2e855f2330a850efd94ee
tree17c7dca23a6fb23893ef4fbcbb27e9ced3626767
parent0f0ce6ffc9059a1fe945e697dea5a01e40316c52
Add GBM_BO_USE_HW_VIDEO_ENCODER use flag

Chrome needs to allocate a linear buffer that a hardware video encoder can read
and cpu can read and write. There is no use flag in gbm that specifies the
former. This CL introduces a new use flag for that.

BUG=b:138703716
TEST=None

Change-Id: Ied0321914a366294a47e4fc5c2a8f08ee0351bd8
Reviewed-on: https://chromium-review.googlesource.com/1728729
Tested-by: Hirokazu Honda <hiroh@chromium.org>
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
amdgpu.c
gbm.h
gbm_helpers.c
i915.c
mediatek.c
msm.c
rockchip.c