Skip to content
Snippets Groups Projects
Commit 53fd258a authored by Alex Legg's avatar Alex Legg Committed by CQ bot account: commit-bot@chromium.org
Browse files

[dev][display] Add Provider interface

The new Provider interface replaces both openat and the get_handle
ioctl. The new approach to getting a controller client is to:
1. Open the device-controller device. This no longer creates a new
instance.
2. Call one of the new Provider methods on the service handle to the
device.
3. Maintain the connection by keeping alive two channels: one for the
device instance, and one for the FIDL interface.

Eventually those two channels should be merged, but that's blocked on
support for llcpp, see ZX-3889.

ZX-2826 #done
ZX-3277 #comment removes open_at from the display driver

Tests:
Boot device (tests virtcon)
display_test
gfxtest (tests framebuffer library)
vkcube_on_fb (tests vulkan swapchain library)
scenic app (tests DisplayWatcher)
recovery app (tests rust framebuffer library)
gfxlatency

Can't run:
display_capture_test (no HW)

Change-Id: Ie187e43692ed7c947920511188c98da38c9843f3
parent b389e57a
No related branches found
No related tags found
Loading
Showing
with 267 additions and 169 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment