diff options
| author | Thomas Hellström <[email protected]> | 2021-08-16 19:14:44 +0200 |
|---|---|---|
| committer | Matthew Auld <[email protected]> | 2021-08-20 09:39:41 +0100 |
| commit | c9b6e94963bc3a53110f1c9cd7e5e4ae571413cd (patch) | |
| tree | 203001b0efe03aebd04b2cc5b1d9c2db911d94f6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | faf890985e30d5e88cc3a7c50c1bcad32f89ab7c (diff) | |
drm/i915: Ditch the i915_gem_ww_ctx loop member
It's only used by the for_i915_gem_ww() macro and we can use
the (typically) on-stack _err variable in its place.
v2:
- Don't clear the _err variable when entering the loop
(Matthew Auld, Maarten Lankhorst).
- Use parentheses around the _err macro argument.
- Fix up comment.
Cc: Matthew Auld <[email protected]>
Suggested-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions