commit | 2d650a948ae3d5781fef7f8774bc2eccaca88d8b | [log] [tgz] |
---|---|---|
author | Victor Costan <costan@google.com> | Tue Feb 04 12:52:46 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 04 12:52:46 2025 -0800 |
tree | 42b7ea599446b39da991fa52b4c9d3d27867482d | |
parent | a4ddbb28a0cea1941bbf642af5da8b81a06c59d7 [diff] |
[display][fidl][banjo] Add type for driver-side ConfigStamp. This CL creates a compiler-enforced separation between client-side and driver-side config stamps. Each Display Coordinator client manages its ConfigStamp value space, and uses the values in calls to fuchsia.hardware.display/Coordinator.ApplyConfig3(). The Display Coordinator creates a single "timeline" of monotonically increasing DriverConfigStamp values, which are communicated to engine drivers. This CL carries out the following steps. 1. Add the FIDL type fuchsia.hardware.display.engine/ConfigStamp. 2. Add the api-types/cpp type display::DriverConfigStamp. 3. Migrate all in-tree display drivers. 4. Create api-protocols/cpp stubs to facilitate other display driver migration. A future CL will move fuchsia.hardware.display.types/ConfigStamp to fuchsia.hardware.display/ConfigStamp. This change is not done here to keep this CL to a manageable size. Bug: 394148660 Test: fx test //src/graphics/display Test: Booted workbench_eng.x64 on qemu Test: ffx target ssh display-tool squares Multiply: display-api-types-cpp: 1 Multiply: display-api-types-cpp17: 1 Change-Id: Ic7629590f8e7ab67795493114001ec3b1ae64d38 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1198844 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Yilong Li <liyl@google.com> API-Review: Victor Costan <costan@google.com> Fuchsia-Auto-Submit: Victor Costan <costan@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.