gpu: pvr: no need to check for retry failures in PVRSRVMISR
authorImre Deak <imre.deak@nokia.com>
Mon, 5 Apr 2010 22:03:48 +0000 (01:03 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
ProcessQueues can't fail any more with a 'retry' error, so checking for
this is not needed. Previously ProcessQueues could fail if sQProcessResource
is locked by someone else. Since sQProcessResource is removed by a previous
change in this patchset that race condition can't happen.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
CC: Mark Underwood <mark.underwood@imgtec.com>
CC: Mark Riding <mark.riding@imgtec.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@nokia.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@nokia.com>
pvr/pvrsrv.c

index 1e6de58..178f3bc 100644 (file)
@@ -795,9 +795,7 @@ void PVRSRVMISR(void *pvSysData)
                psDeviceNode = psDeviceNode->psNext;
        }
 
-       if (PVRSRVProcessQueues(IMG_FALSE) ==
-           PVRSRV_ERROR_PROCESSING_BLOCKED)
-               PVRSRVProcessQueues(IMG_FALSE);
+       PVRSRVProcessQueues(IMG_FALSE);
 
        if (psSysData->psGlobalEventObject) {
                void *hOSEventKM =