swr: [rasterizer core] remove WorkerWaitForThreadEvent bucket
authorTim Rowley <timothy.o.rowley@intel.com>
Fri, 14 Oct 2016 01:56:54 +0000 (20:56 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 14 Oct 2016 04:39:14 +0000 (23:39 -0500)
Cause of bucket stop capture hang, as threads get stuck in level 1.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
src/gallium/drivers/swr/rasterizer/core/threads.cpp

index 56eed25..99b9f55 100644 (file)
@@ -85,7 +85,6 @@ BUCKET_DESC gCoreBuckets[] = {
     { "BEOutputMerger", "", false, 0xffffffff },
     { "BEStoreTiles", "", true, 0xff00cccc },
     { "BEEndTile", "", false, 0xffffffff },
-    { "WorkerWaitForThreadEvent", "", false, 0xffffffff },
 };
 
 /// @todo bucketmanager and mapping should probably be a part of the SWR context
index 11b3eae..733ee18 100644 (file)
@@ -90,7 +90,6 @@ enum CORE_BUCKETS
     BEOutputMerger,
     BEStoreTiles,
     BEEndTile,
-    WorkerWaitForThreadEvent,
 
     NumBuckets
 };
index a8864c7..ea5542a 100644 (file)
@@ -761,12 +761,8 @@ DWORD workerThreadMain(LPVOID pData)
                 continue;
             }
 
-            AR_BEGIN(WorkerWaitForThreadEvent, 0);
-
             pContext->FifosNotEmpty.wait(lock);
             lock.unlock();
-
-            AR_END(WorkerWaitForThreadEvent, 0);
         }
 
         if (IsBEThread)