New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 653908 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Add support for native fence objects

Project Member Reported by reve...@chromium.org, Oct 7 2016

Issue description

Native fence objects can be shared across process boundaries and allows Chromium to integrate more efficiently with Exosphere clients that are not using the GPU process for rendering.

Native fence primitives can also be used to improve CPU access to GpuMemoryBuffers as these primitives can be shared and accessed directly in a sandboxed renderer process, eliminating the need for polling and callbacks to improve performance, power and memory usage.

This same set of primitives can also be used for moving ChromeOS (Freon) away from implicit synchronization in favor explicit synchronization.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Dec 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/22d92b5cc9f53525e5f39352d4da41f8accb1e8e

commit 22d92b5cc9f53525e5f39352d4da41f8accb1e8e
Author: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Date: Mon Dec 18 16:01:38 2017

ozone/drm: Introduce support for KMS plane in-fences

This commit adds plane in-fence support for KMS atomic modesetting. The
in-fence fds are supplied as part of the overlay plane information.

If the used drm device supports atomic modesetting, then any supplied
fence fds are used as plane properties when committing the planes. If
atomic modesetting is not supported, the implementation asynchronously
waits for the fence fds to become ready before executing the page flip.

Bug: 653908
Test: ozone_demo, ozone_unittests
Change-Id: I438b4c9eb97538cb36fdda2fb002f7359f194c0b
Reviewed-on: https://chromium-review.googlesource.com/814294
Commit-Queue: David Reveman <reveman@chromium.org>
Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524718}
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/AUTHORS
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/BUILD.gn
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/drm_overlay_validator_unittest.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/drm_thread.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/drm_thread.h
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/drm_window_unittest.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/gbm_buffer.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_controller_unittest.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.h
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.h
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_unittest.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/overlay_plane.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/overlay_plane.h
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/screen_manager.cc
[modify] https://crrev.com/22d92b5cc9f53525e5f39352d4da41f8accb1e8e/ui/ozone/platform/drm/gpu/screen_manager_unittest.cc

Sign in to add a comment