class AddressManager

Defined at line 23 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.h

The address manager can be modified by the device thread (to assign and

unassign address spaces from registers before mapping and unmapping them)

and by the connection thread that owns an address space, to ensure that

the page mappings are flushed properly.

Public Methods

void AddressManager (Owner * owner, uint32_t address_slot_count)

Defined at line 33 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

void ClearAddressMappings (bool force_expire)

Used to clear all address mappings if the hardware will be reset. It

waits until all current address-space operations are done, and ensures no

more will start.

Defined at line 69 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

bool AssignAddressSpace (MsdArmAtom * atom)

Defined at line 40 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

void set_acquire_slot_timeout_seconds (uint32_t timeout)

Defined at line 53 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.h

void set_increase_notify_race_window (bool set)

For testing only.

Defined at line 57 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.h

void AtomFinished (MsdArmAtom * atom)

Defined at line 62 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

std::shared_ptr<AddressSlotMapping> GetMappingForSlot (uint32_t slot)

Defined at line 94 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

std::shared_ptr<AddressSlotMapping> AllocateMappingForAddressSpace (std::shared_ptr<MsdArmConnection> connection)

Disable thread safety analysis because it doesn't understand unique_lock.

Defined at line 171 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

void FlushAddressMappingRange (AddressSpace * , uint64_t start, uint64_t length, bool synchronous)

AddressSpaceObserver implementation (must be threadsafe).

Defined at line 119 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

void ReleaseSpaceMappings (const AddressSpace * address_space)

Defined at line 238 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

void UnlockAddressSpace (AddressSpace * )

Defined at line 145 of file ../../src/graphics/drivers/msd-arm-mali/src/address_manager.cc

Records