From: Imre Deak Date: Mon, 5 Apr 2010 22:03:48 +0000 (+0300) Subject: gpu: pvr: no need to check for retry failures in PVRSRVMISR X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee4952a572df45f955e0ea950fe6dac6c322560c;p=sgx.git gpu: pvr: no need to check for retry failures in PVRSRVMISR 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 CC: Mark Underwood CC: Mark Riding Reviewed-by: Topi Pohjolainen Reviewed-by: Ville Syrjälä --- diff --git a/pvr/pvrsrv.c b/pvr/pvrsrv.c index 1e6de58..178f3bc 100644 --- a/pvr/pvrsrv.c +++ b/pvr/pvrsrv.c @@ -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 =