Add support for setting scheduler roles

Copy in sdk/lib/scheduler so we can use that library to set scheduler
roles. This patch includes the contents of changes.
I9c500d0ae8834982f7826c2f945da297a7f7a43d and
If9814a594f5675e4f63aae8f3f1d06d48d82e30c from fuchsia.git

Change-Id: I38dca008bfaaae0a5bf09d461cef11c29ec59d93
Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/graphics/gpu/+/1059253
Fuchsia-Auto-Submit: John Bauman <jbauman@google.com>
Reviewed-by: Darren Chan <chandarren@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
8 files changed
tree: b14ec5bda3224b3dc5bd98c4e80fb7ffab877db8
  1. common/
  2. drivers/
  3. fidl/
  4. manifests/
  5. scripts/
  6. src/
  7. third_party/
  8. tools/
  9. .bazelrc
  10. .clang-format
  11. .gitignore
  12. .gitmodules
  13. AUTHORS
  14. BUILD.bazel
  15. CONTRIBUTING.md
  16. fuchsia_env.toml
  17. LICENSE
  18. MODULE.bazel
  19. OWNERS
  20. PATENTS
  21. README.md
  22. shac.star
  23. shac.textproto
  24. WORKSPACE.bazel
  25. workspace.bzl
README.md

Fuchsia GPU Driver Repository

Getting Started

To perform an initial bootstrap, execute the following:

  1. In a terminal, clone the repository:

    git clone https://fuchsia.googlesource.com/drivers/graphics/gpu
    
  2. Change to that directory:

    cd gpu
    
  3. Fetch all git submodules:

    git submodule init && git submodule update --recursive
    
  4. Bootstrap the build environment:

    scripts/bootstrap.sh
    
  5. Fetch and build the SDK:

    tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
    

See the getting started guide for more info.

Building And Testing the ARM Mali GPU driver

See drivers/msd-arm-mali/README.md.