| // Copyright 2026 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| { | |
| name: "aml-gpu", | |
| include: [], | |
| program: { | |
| default_dispatcher_opts: [ "allow_sync_calls" ], | |
| allowed_scheduler_roles: [ "fuchsia.graphics.drivers.aml-gpu" ], | |
| }, | |
| capabilities: [ | |
| { service: "fuchsia.hardware.gpu.mali.Service" }, | |
| ], | |
| use: [ | |
| { | |
| name: "pdev", | |
| service: "fuchsia.hardware.platform.device.Service", | |
| primary: true, | |
| bind: { | |
| one_of: [ | |
| { compat: "amlogic,gpu" }, | |
| { | |
| protocol: "fuchsia.platform.BIND_PROTOCOL.DEVICE", | |
| vid: "fuchsia.amlogic.platform.BIND_PLATFORM_DEV_VID.AMLOGIC", | |
| did: "fuchsia.amlogic.platform.BIND_PLATFORM_DEV_DID.MALI_INIT", | |
| pid: [ | |
| "fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.A311D", | |
| "fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.S905D2", | |
| "fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.S905D3", | |
| "fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.S912", | |
| "fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.T931", | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| { | |
| name: "register-reset", | |
| service: "fuchsia.hardware.registers.Service", | |
| }, | |
| { | |
| name: "clock-gp0-pll", | |
| service: "fuchsia.hardware.clock.Service", | |
| availability: "optional", | |
| }, | |
| { service: "fuchsia.driver.compat.Service" }, | |
| { protocol: "fuchsia.kernel.MmioResource" }, | |
| // Required for integration tests in src/power/testing/system-integration/msd-arm-mali | |
| { protocol: "fuchsia.power.broker.Topology" }, | |
| ], | |
| expose: [ | |
| { | |
| service: "fuchsia.hardware.gpu.mali.Service", | |
| from: "self", | |
| }, | |
| ], | |
| } |