class AddressSpaceChildDriver
Defined at line 104 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.h
Public Methods
void AddressSpaceChildDriver (fuchsia_hardware_goldfish::wire::AddressSpaceChildDriverType type, AddressSpaceDevice * device, uint64_t dma_region_paddr, ddk::IoBuffer && io_buffer, uint32_t child_device_handle)
Defined at line 335 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.cc
void ~AddressSpaceChildDriver ()
AddressSpaceChildDriver is destroyed when the fidl channel it binds to
is disconnected by the client (the goldfish Vulkan ICD) when the client
gets destroyed.
This destructor unpins all the pinned memory when it destroys the block
maps. Client (ICD) guarantees that all the blocks allocated / claimed
by this device (including host-visible memory, user-space ring buffers)
will not be accessed anymore after the ICD is destroyed, so it's safe
to unpin the memory.
Defined at line 343 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.cc
void AllocateBlock (AllocateBlockRequestView request, AllocateBlockCompleter::Sync & completer)
|fidl::WireServer
<fuchsia
_hardware_goldfish::AddressSpaceChildDriver>|
Defined at line 350 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.cc
void DeallocateBlock (DeallocateBlockRequestView request, DeallocateBlockCompleter::Sync & completer)
Defined at line 379 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.cc
void ClaimSharedBlock (ClaimSharedBlockRequestView request, ClaimSharedBlockCompleter::Sync & completer)
Defined at line 401 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.cc
void UnclaimSharedBlock (UnclaimSharedBlockRequestView request, UnclaimSharedBlockCompleter::Sync & completer)
Defined at line 433 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.cc
void Ping (PingRequestView request, PingCompleter::Sync & completer)
Defined at line 448 of file ../../src/graphics/drivers/misc/goldfish_address_space/address_space_device.cc