class PowerManager
Defined at line 20 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.h
This class generally lives on the device thread.
Public Methods
void PowerManager (Owner * owner, uint64_t default_core_bitmask)
Defined at line 21 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
void EnableCores (uint64_t shader_bitmask)
Called on the device thread or the initial driver thread.
Defined at line 62 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
void EnableDefaultCores ()
Defined at line 75 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
void PowerDownOnIdle ()
Power down GPU once it's idled. Called on device thread.
Defined at line 31 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
uint64_t l2_ready_status ()
Defined at line 46 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.h
void PowerUpAfterIdle ()
Power up the GPU after PowerDownOnIdle was called; will cancel incomplete PowerDownOnIdle
actions. Called on device thread.
Defined at line 50 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
Clock::time_point GetGpuPowerdownTimeout ()
Defined at line 51 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.h
void ReceivedPowerInterrupt ()
Called on the GPU interrupt thread.
Defined at line 167 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
void UpdateGpuActive (bool active, bool has_pending_work)
This is called whenever the GPU starts or stops processing work.
Defined at line 184 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
void GetGpuActiveInfo (std::chrono::steady_clock::duration * total_time_out, std::chrono::steady_clock::duration * active_time_out)
Retrieves information on what fraction of time in the recent past (last
100 ms or so) the GPU was actively processing commands.
Defined at line 265 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
bool GetTotalTime (uint32_t * buffer_out)
Defined at line 281 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
void DisableL2 ()
Defined at line 92 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
void DisableShaders ()
Defined at line 77 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
bool WaitForL2Disable ()
Defined at line 120 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
bool WaitForShaderDisable ()
Defined at line 100 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
bool WaitForShaderReady ()
Defined at line 143 of file ../../src/graphics/drivers/msd-arm-mali/src/power_manager.cc
Records
Friends
class TestPowerManager
class TestMsdArmDevice