Issue metadata
Sign in to add a comment
|
teach minigbm to understand BO_USE_HW_VIDEO_DECODER in non-x86 platforms |
||||||||||||||||||||||
Issue descriptionBO_USE_HW_VIDEO_DECODER is understood in i915 [1] but it made ARM unhappy (which cause the revert in crrev.com/c/1116738). Teach that/those platform(s) to essentially do nothing if the flag comes along. [1] https://cs.corp.google.com/search/?q=BO_USE_HW_VIDEO_DECODER+package:%5Echromeos_public$&type=cs
,
Jul 2
Tentatively fixed.
,
Jul 2
,
Jul 3
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1cb7337ead74107f32239e0d8386ada3355ce9c1 commit 1cb7337ead74107f32239e0d8386ada3355ce9c1 Author: Miguel Casas <mcasas@chromium.org> Date: Tue Jul 03 00:31:48 2018 Reland: Ozone DRM: use GBM_BO_USE_HW_VIDEO_DECODER The original CL was reverted because BO_USE_HW_VIDEO_DECODER is not correctly handled in ARM platforms _for protected buffers_ (i.e. allocations coming from ARC++). crrev.com/c/1117606 added support for the flag on those platforms. CQ-DEPEND:1117025 TBR=dcastagna@chromium.org (no changes) Original CL ----------------------------------------------------------- This CL adds the GBM_BO_USE_HW_VIDEO_DECODER flag to gfx::BufferUsage::SCANOUT_VDA_WRITE buffers. It's a spinoff of a comment [1] in crrev.com/c/1021675. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1021675/18/ui/ozone/platform/drm/gpu/drm_thread.cc#147 Bug: 822346, 857095 Test: simplechrome video playback on nautilus, vaapi engaged. Change-Id: I1c11a8fffa662b69049d121ccb48ebfd85097228 Reviewed-on: https://chromium-review.googlesource.com/1104394 Reviewed-by: Daniele Castagna <dcastagna@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1117025 Reviewed-by: Miguel Casas <mcasas@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#572053} [modify] https://crrev.com/1cb7337ead74107f32239e0d8386ada3355ce9c1/ui/ozone/platform/drm/gpu/drm_thread.cc
,
Jul 3
,
Jul 4
Trying to build chromium ToT for chromeOS fails with this error:
../../ui/ozone/platform/drm/gpu/drm_thread.cc:149:15: error: use of undeclared identifier 'GBM_BO_USE_HW_VIDEO_DECODER'
GBM_BO_USE_HW_VIDEO_DECODER
Is it related to this bug?
,
Jul 4
You might need to get a newer cros-sdk if you're using simple chrome workflow.
,
Jul 11
The NextAction date has arrived: 2018-07-11 |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Jul 2