commit | 5ab5e3811dd05d5b4ee1dcc908e188631f8782f7 | [log] [tgz] |
---|---|---|
author | John Bauman <jbauman@google.com> | Tue Feb 13 19:05:42 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 13 19:05:42 2024 +0000 |
tree | a5d00ffcd3d3d398d0694ba7fa2239585fb86607 | |
parent | a77f741d98ebdfbfd5a5882f736f36a84feb9941 [diff] |
Cherry-pick "[msd-arm-mali] Reload driver using fuchsia.driver.development" > Speaking the fuchsia.device protocol to drivers is only half-supported > in DFv2 (GetTopologicalPath doesn't work) and fuchsia.driver isn't > exposed through the SDK. Its replacement is using > fuchsia.driver.development to enable/disable drivers and restart > devhosts. > > This also allows us to get rid of the rebind driver, since restarting > the devhost allows the regular driver to be rebound. > > Multiply: msd-arm-mali-integration-tests > Bug: 42075799, 42078129 > Change-Id: I8b1357d9bbfb31a061606d343147f42c6beb5368 > Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/982212 > Fuchsia-Auto-Submit: John Bauman <jbauman@google.com> > Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> > Reviewed-by: Craig Stout <cstout@google.com> Change-Id: I37f0e74671f1fc5e3515c93127bbd912a9e8c661 Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/graphics/gpu/+/990872 Fuchsia-Auto-Submit: John Bauman <jbauman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Craig Stout <cstout@google.com>
<change_me: This repository is a template that we will use when creating new driver repositories for Fuchsia>.
Template repository is located in: https://fuchsia.googlesource.com/template/driver/
To perform an initial bootstrap, execute the following:
In a terminal, clone the repository:
git clone https://fuchsia.googlesource.com/drivers/<change_me>
Change to that directory:
cd <change_me>
Fetch all git submodules:
git submodule init && git submodule update --recursive
Bootstrap the build environment:
scripts/bootstrap.sh
Fetch and build the SDK:
tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
See the getting started guide for more info.
Run the full test-suite with:
tools/bazel test :tests
Run only the <change_me> driver tests with:
tools/bazel test <change_me>:<fuchsia_unittest_package_name>