class TestDevice

Defined at line 7382 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

Additional device methods for the purposes of testing the MSD and should not be used by ICDs.

DEPRECATED: Please use TestDevice2.

Public Methods

void ~TestDevice ()
void Query (::fuchsia::gpu::magma::QueryId query_id, QueryCallback callback)

On success, returns a result either in a buffer or a simple value.

void Connect2 (uint64_t client_id, ::fidl::InterfaceRequest< ::fuchsia::gpu::magma::Primary> primary_channel, ::fidl::InterfaceRequest< ::fuchsia::gpu::magma::Notification> notification_channel)

Creates a connection to the device comprised of two IPC channels.

The primary channel is for the Primary protocol (see below). The notification channel is

used for vendor-specific messages which are sent only in the reverse (server-client)

direction, typically in response to client command completion.

void DumpState (uint32_t dump_type)

Dumps driver and hardware state to the log.

void GetIcdList (GetIcdListCallback callback)

Returns a list of ICDs that can be used with this Magma device. The list is sorted in

descending order of preference.

void GetUnitTestStatus (GetUnitTestStatusCallback callback)