Mesa (master): swr: [rasterizer core] remove WorkerWaitForThreadEvent bucket
Tim Rowley
torowley at kemper.freedesktop.org
Fri Oct 14 05:10:04 UTC 2016
Module: Mesa
Branch: master
Commit: 29d07480b8e7b8e5529e6a824b7d99e9677a1816
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=29d07480b8e7b8e5529e6a824b7d99e9677a1816
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date: Thu Oct 13 20:56:54 2016 -0500
swr: [rasterizer core] remove WorkerWaitForThreadEvent bucket
Cause of bucket stop capture hang, as threads get stuck in level 1.
Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>
---
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp | 1 -
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h | 1 -
src/gallium/drivers/swr/rasterizer/core/threads.cpp | 4 ----
3 files changed, 6 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
index 56eed25..99b9f55 100644
--- a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
+++ b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
@@ -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
diff --git a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
index 11b3eae..733ee18 100644
--- a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
+++ b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
@@ -90,7 +90,6 @@ enum CORE_BUCKETS
BEOutputMerger,
BEStoreTiles,
BEEndTile,
- WorkerWaitForThreadEvent,
NumBuckets
};
diff --git a/src/gallium/drivers/swr/rasterizer/core/threads.cpp b/src/gallium/drivers/swr/rasterizer/core/threads.cpp
index a8864c7..ea5542a 100644
--- a/src/gallium/drivers/swr/rasterizer/core/threads.cpp
+++ b/src/gallium/drivers/swr/rasterizer/core/threads.cpp
@@ -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)
More information about the mesa-commit
mailing list