blob: 52d685af267e614df8e9a52a2c0c0beff2c1f756 [file] [edit]
// 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: [
{
service: "fuchsia.hardware.platform.device.Service",
name: "pdev",
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.S912",
"fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.S905D2",
"fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.S905D3",
"fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.T931",
"fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.A311D"
]
}
]
}
},
{
service: "fuchsia.hardware.registers.Service",
name: "register-reset",
},
{
service: "fuchsia.hardware.clock.Service",
name: "clock-gp0-pll",
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"
}
]
}