class CoreReadyState

Defined at line 249 of file ../../src/graphics/drivers/msd-arm-mali/src/registers.h

Public Methods

uint64_t ReadBitmask (mali::RegisterIo * register_io, CoreType core_type, StatusType action_type)

Returns a bitmask of the cores in a specified state.

Defined at line 283 of file ../../src/graphics/drivers/msd-arm-mali/src/registers.h

void WriteState (mali::RegisterIo * register_io, enum CoreType core_type, enum ActionType action_type, uint64_t value)

Defined at line 292 of file ../../src/graphics/drivers/msd-arm-mali/src/registers.h

Enumerations

enum class CoreType
Name Value
kShader 0x100
kL2 0x120
kTiler 0x110
kCoreStack 0xe00

Defined at line 251 of file ../../src/graphics/drivers/msd-arm-mali/src/registers.h

enum class StatusType
Name Value Comments
kPresent 0

Read-only: the set of cores that are physically present in the
device.

kReady 0x40

Read-only: the set of cores that are powered on and ready to do
work.

kPowerTransitioning 0x100

Read-only: the set of cores that are changing power states.

kPowerActive 0x140

Read-only: the set of cores that are currently executing work.

Defined at line 258 of file ../../src/graphics/drivers/msd-arm-mali/src/registers.h

enum class ActionType
Name Value Comments
kActionPowerOn 0x80

Write-only: power on the specified set of cores.

kActionPowerOff 0xc0

Write-only: power off the specified set of cores.

Defined at line 274 of file ../../src/graphics/drivers/msd-arm-mali/src/registers.h