blob: aa413c80fd438a0eb9af00ff82d16862e9abe0b6 [file] [log] [blame]
// Copyright 2018 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.
library fuchsia.gpu.magma;
[Layout = "Simple"]
interface Device {
// Get a parameter.
1: Query(uint64 query_id) -> (uint64 result);
// Get the magma ipc channels.
2: Connect(uint64 client_id) -> (handle<channel> primary_channel, handle<channel> notification_channel);
// Dumps driver and hardware state.
3: DumpState(uint32 dump_type);
// For testing only.
4: TestRestart();
};
interface Primary {
ImportBufferFIDL(handle<vmo> buffer);
};