diff options
| author | Michał Winiarski <[email protected]> | 2018-03-19 10:53:37 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-03-19 12:23:01 +0000 |
| commit | b813d50e869aeda09ccf22e8d869e61b63389e4d (patch) | |
| tree | 0b8f3f08e460930c9e425416860350fd38eace21 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | eacd8391f977d3800cc41a026f9f81fce210a78c (diff) | |
drm/i915/guc: Log runtime should consist of both mapping and relay
Currently, we're treating relay and mapping of GuC log as a separate
concepts. We're also using inconsistent locking, sometimes using
relay_lock, sometimes using struct mutex.
Let's correct that. Anything touching the runtime is now serialized
using runtime.lock, while we're still using struct mutex as inner lock
for mapping.
We're still racy in setting the log level - but we'll take care of that
in the following patches.
v2: Tidy locking (Sagar)
v3: Remove obsoleted comment (Sagar)
Signed-off-by: Michał Winiarski <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Cc: Sagar Arun Kamble <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Reviewed-by: Sagar Arun Kamble <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions