}
enum PVRSRV_ERROR PVRSRVSetDevicePowerStateKM(u32 ui32DeviceIndex,
- enum PVR_POWER_STATE eNewPowerState,
- u32 ui32CallerID, IMG_BOOL bRetainMutex)
+ enum PVR_POWER_STATE eNewPowerState)
{
enum PVRSRV_ERROR eError;
struct SYS_DATA *psSysData;
IMG_BOOL bState);
enum PVRSRV_ERROR PVRSRVSetDevicePowerStateKM(u32 ui32DeviceIndex,
- enum PVR_POWER_STATE eNewPowerState, u32 ui32CallerID,
- IMG_BOOL bRetainMutex);
+ enum PVR_POWER_STATE eNewPowerState);
enum PVRSRV_ERROR PVRSRVSystemPrePowerStateKM(
enum PVR_POWER_STATE eNewPowerState);
}
err = PVRSRVSetDevicePowerStateKM(node->sDevId.ui32DeviceIndex,
- PVRSRV_POWER_STATE_D0,
- KERNEL_ID, IMG_TRUE);
+ PVRSRV_POWER_STATE_D0);
if (err != PVRSRV_OK) {
r = -EIO;
goto exit;
psDeviceNode = psSysData->psDeviceNodeList;
while (psDeviceNode) {
eError =
- PVRSRVSetDevicePowerStateKM(psDeviceNode->sDevId.
- ui32DeviceIndex,
- PVRSRV_POWER_Unspecified,
- KERNEL_ID, IMG_FALSE);
+ PVRSRVSetDevicePowerStateKM(
+ psDeviceNode->sDevId.ui32DeviceIndex,
+ PVRSRV_POWER_Unspecified);
if (eError != PVRSRV_OK)
PVR_DPF(PVR_DBG_ERROR, "PVRSRVFinaliseSystem: "
"Failed PVRSRVSetDevicePowerStateKM "
FoundDevice:
eError = PVRSRVSetDevicePowerStateKM(ui32DevIndex,
- PVRSRV_POWER_STATE_D3,
- KERNEL_ID, IMG_FALSE);
+ PVRSRV_POWER_STATE_D3);
if (eError != PVRSRV_OK) {
PVR_DPF(PVR_DBG_ERROR, "PVRSRVDeinitialiseDevice: "
"Failed PVRSRVSetDevicePowerStateKM call");
* released when returning from the function.
*/
dev_idx = psDeviceNode->sDevId.ui32DeviceIndex;
- err = PVRSRVSetDevicePowerStateKM(dev_idx, PVRSRV_POWER_STATE_D0,
- ISR_ID, IMG_FALSE);
+ err = PVRSRVSetDevicePowerStateKM(dev_idx, PVRSRV_POWER_STATE_D0);
BUG_ON(err != PVRSRV_OK);
l1 = readl(&psSGXHostCtl->ui32InterruptFlags);
PDUMPSUSPEND();
- eError = PVRSRVSetDevicePowerStateKM(psDeviceNode->sDevId.
- ui32DeviceIndex,
- PVRSRV_POWER_STATE_D3,
- ui32CallerID, IMG_FALSE);
+ eError = PVRSRVSetDevicePowerStateKM(
+ psDeviceNode->sDevId.ui32DeviceIndex,
+ PVRSRV_POWER_STATE_D3);
if (eError == PVRSRV_OK)
SGXPostActivePowerEvent(psDeviceNode, ui32CallerID);
if (eError == PVRSRV_ERROR_RETRY) {
eError =
PVRSRVSetDevicePowerStateKM(psDeviceNode->sDevId.ui32DeviceIndex,
- PVRSRV_POWER_STATE_D0, ui32CallerID,
- IMG_TRUE);
+ PVRSRV_POWER_STATE_D0);
PDUMPRESUME();