StartPowerOff
Powers off a GPU.
Syntax
ADLX_RESULT StartPowerOff (IADLXGPUConnectChangedListener * pGPUConnectChangedListener, adlx_int timeout)
Parameters
-
[in]
pGPUConnectChangedListener IADLXGPUConnectChangedListener * The pointer to a GPU Connect change complete listener interface. -
[in]
timeout adlx_int The timeout for power off operation.
Return Value
If starts to power off the GPU successfully, ADLX_OK is returned.
If starts to power off the GPU unsuccessfully, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Remarks
This method triggers an asynchronous execution for GPU power off and returns immediately. When the GPUConnect settings change, ADLX calls OnGPUConnectChanged in the AMD GPUConnect changed listener.
After the event is raised, IsGPUPowerChanged returns true for the power state change of a GPU.
If it returns false, the IsGPUPowerChangeError returns the specific error. This method controls the discrete GPU power, it disables the SmartShift Eco feature when called, using SetEnabled to return the power control to AMD.
If the method returns ADLX_PENDING_OPERATION, the GPU is busy executing another power related operation, and the call should be repeated.
Dependent Interfaces
When the GPU is powered off, AMD SmartShift Eco is automatically disabled. To return the power control of this GPU to the AMD driver, use SetEnabled .
Requirements
Header |
include “ISystem2.h” |
Minimum version |
1.4 |