class PowerElementProvider

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

This protocol is used to retrieve information on the power levels that this driver provides.

Public Methods

void ~PowerElementProvider ()
void GetPowerGoals (GetPowerGoalsCallback callback)

Retrieve a list of power goals that the hardware can attempt to achieve.

void GetClockSpeedLevel (::fuchsia::gpu::magma::PowerElementProviderGetClockSpeedLevelRequest PowerElementProviderGetClockSpeedLevelRequest, GetClockSpeedLevelCallback callback)

Get a power level that represents the GPU clock being set to at least a target frequency.

The power level may allow the GPU to idle or turn off, as long as the clock frequency

remains the same.

void SetClockLimit (::fuchsia::gpu::magma::PowerElementProviderSetClockLimitRequest PowerElementProviderSetClockLimitRequest, SetClockLimitCallback callback)

Limit the clock to at most a specific frequency.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class PowerElementProvider_Stub