summaryrefslogtreecommitdiffstats
path: root/drv.h
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2018-05-21 06:32:57 +0000
committerHirokazu Honda <hiroh@chromium.org>2018-05-22 08:06:31 +0000
commit2b682fde2d2fe12b95b434a47466bc69aa08b6bd (patch)
tree07ff00a96e741f8ae8cb447aaa7ef1d922b3293f /drv.h
parent1bd7b04a3ae68c0314bdee06c559093de9e5a304 (diff)
downloadplatform_external_minigbm-2b682fde2d2fe12b95b434a47466bc69aa08b6bd.tar.gz
platform_external_minigbm-2b682fde2d2fe12b95b434a47466bc69aa08b6bd.tar.bz2
platform_external_minigbm-2b682fde2d2fe12b95b434a47466bc69aa08b6bd.zip
Revert "i915: Add GBM_BO_USE_HW_VIDEO_DECODER use flag"
This reverts commit 1bd7b04a3ae68c0314bdee06c559093de9e5a304. Reason for revert: Breaks video decoding on most intel platforms, e.g., caroline and samus Original change's description: > i915: Add GBM_BO_USE_HW_VIDEO_DECODER use flag > > This flag is used to indicate that the platform video decoder will be > writing into this buffer and that it should be allocated > accordingly. On Intel, this means that we have to allocate y-tiled > NV12 for libva to be able to decode to the buffer. > > We force gralloc NV12 allocations to be linear for now, since ARC++ > doesn't properly pass modifiers to ChromeOS. > > BUG=822346 > TEST=test_that graphics_Gbm > > Change-Id: I840c30d22355d26816df718b49717407e2e4620f > Reviewed-on: https://chromium-review.googlesource.com/996648 > Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> > Tested-by: Kristian H. Kristensen <hoegsberg@chromium.org> > Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org> Bug: 822346, 845076 Change-Id: I7681ddb66e4789951e840821993fc5562a55d1af Reviewed-on: https://chromium-review.googlesource.com/1066032 Tested-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Kuo Jen Wei <inker@chromium.org> Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Diffstat (limited to 'drv.h')
-rw-r--r--drv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drv.h b/drv.h
index d27e845..9ca77d3 100644
--- a/drv.h
+++ b/drv.h
@@ -37,8 +37,6 @@ extern "C" {
#define BO_USE_CAMERA_READ (1ull << 14)
#define BO_USE_RENDERSCRIPT (1ull << 16)
#define BO_USE_TEXTURE (1ull << 17)
-#define BO_USE_HW_VIDEO_DECODER (1ull << 18)
-
/* Map flags */
#define BO_MAP_NONE 0