From 8357792e094448f06c18fbc2d6dd5c472255b03b Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Tue, 6 Apr 2010 01:01:56 +0300 Subject: [PATCH] gpu: pvr: remove unused function args from PVRSRVProcessQueues MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit See the earlier commit with a similar change on why this is justified. Signed-off-by: Imre Deak CC: Mark Underwood CC: Mark Riding Reviewed-by: Topi Pohjolainen Reviewed-by: Ville Syrjälä --- pvr/deviceclass.c | 4 ++-- pvr/pvrsrv.c | 4 ++-- pvr/queue.c | 2 +- pvr/queue.h | 2 +- pvr/sgxinit.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pvr/deviceclass.c b/pvr/deviceclass.c index 6fde440..c5374e5 100644 --- a/pvr/deviceclass.c +++ b/pvr/deviceclass.c @@ -1055,7 +1055,7 @@ enum PVRSRV_ERROR PVRSRVSwapToDCBufferKM(void *hDeviceKM, void *hBuffer, } LOOP_UNTIL_TIMEOUT(MAX_HW_TIME_US) { - if (PVRSRVProcessQueues(KERNEL_ID, IMG_FALSE) != + if (PVRSRVProcessQueues(IMG_FALSE) != PVRSRV_ERROR_PROCESSING_BLOCKED) { goto ProcessedQueues; } @@ -1139,7 +1139,7 @@ enum PVRSRV_ERROR PVRSRVSwapToDCSystemKM(void *hDeviceKM, void *hSwapChain) } LOOP_UNTIL_TIMEOUT(MAX_HW_TIME_US) { - if (PVRSRVProcessQueues(KERNEL_ID, IMG_FALSE) != + if (PVRSRVProcessQueues(IMG_FALSE) != PVRSRV_ERROR_PROCESSING_BLOCKED) { goto ProcessedQueues; } diff --git a/pvr/pvrsrv.c b/pvr/pvrsrv.c index 30d9c63..1e6de58 100644 --- a/pvr/pvrsrv.c +++ b/pvr/pvrsrv.c @@ -795,9 +795,9 @@ void PVRSRVMISR(void *pvSysData) psDeviceNode = psDeviceNode->psNext; } - if (PVRSRVProcessQueues(ISR_ID, IMG_FALSE) == + if (PVRSRVProcessQueues(IMG_FALSE) == PVRSRV_ERROR_PROCESSING_BLOCKED) - PVRSRVProcessQueues(ISR_ID, IMG_FALSE); + PVRSRVProcessQueues(IMG_FALSE); if (psSysData->psGlobalEventObject) { void *hOSEventKM = diff --git a/pvr/queue.c b/pvr/queue.c index 2c633cc..b88b22f 100644 --- a/pvr/queue.c +++ b/pvr/queue.c @@ -485,7 +485,7 @@ static enum PVRSRV_ERROR PVRSRVProcessCommand(struct SYS_DATA *psSysData, return eError; } -enum PVRSRV_ERROR PVRSRVProcessQueues(u32 ui32CallerID, IMG_BOOL bFlush) +enum PVRSRV_ERROR PVRSRVProcessQueues(IMG_BOOL bFlush) { struct PVRSRV_QUEUE_INFO *psQueue; struct SYS_DATA *psSysData; diff --git a/pvr/queue.h b/pvr/queue.h index 09f5479..92d9fe9 100644 --- a/pvr/queue.h +++ b/pvr/queue.h @@ -41,7 +41,7 @@ struct COMMAND_COMPLETE_DATA { u32 ui32AllocSize; }; -enum PVRSRV_ERROR PVRSRVProcessQueues(u32 ui32CallerID, IMG_BOOL bFlush); +enum PVRSRV_ERROR PVRSRVProcessQueues(IMG_BOOL bFlush); #if defined(__KERNEL__) #include diff --git a/pvr/sgxinit.c b/pvr/sgxinit.c index 5fa2e0f..3d22dec 100644 --- a/pvr/sgxinit.c +++ b/pvr/sgxinit.c @@ -703,7 +703,7 @@ void HWRecoveryResetSGX(struct PVRSRV_DEVICE_NODE *psDeviceNode, SGXScheduleProcessQueuesKM(psDeviceNode); - PVRSRVProcessQueues(ui32CallerID, IMG_TRUE); + PVRSRVProcessQueues(IMG_TRUE); } static unsigned long sgx_reset_forced; -- 2.47.2