From ee4952a572df45f955e0ea950fe6dac6c322560c Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Tue, 6 Apr 2010 01:03:48 +0300 Subject: [PATCH] gpu: pvr: no need to check for retry failures in PVRSRVMISR MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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ä --- pvr/pvrsrv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 = -- 2.39.5