GuC logger implementation simplified and moved to a library (GuCLAW).
Adds simple buffering utility for logging routine (BUC).
Krzysztof E. Olinski (2):
A lockless Buffering Utility for Concurrency
Simplification of guc logger design
lib/Makefile.sources | 4 +
lib/buc.c
There are some compile problems for Android platform. The aim of this patch is
to simplify the current design and make it compilable both on Linux and Android.
Signed-off-by: Krzysztof E. Olinski
---
lib/Makefile.sources | 4 +
lib/igt_guclaw.c | 272
The proposed buffering method utilizes atomic operations to manage
data buffering. This methodology does not use classic locking approach
(mutex, semaphores, blocking calls, etc.), therefore no "hard"
serialization takes place.
Signed-off-by: Krzysztof E. Olinski
---
lib/b