diff options
| author | Chris Wilson <[email protected]> | 2019-12-18 10:40:43 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-12-18 12:09:57 +0000 |
| commit | da42104f589d979bbe402703fd836cec60befae1 (patch) | |
| tree | f07f0bfb36f67a98b966483a1f37f47860f88553 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | edb1ecad77d44e21a56e9b1bba747174379b2b54 (diff) | |
drm/i915: Hold reference to intel_frontbuffer as we track activity
Since obj->frontbuffer is no longer protected by the struct_mutex, as we
are processing the execbuf, it may be removed. Mark the
intel_frontbuffer as rcu protected, and so acquire a reference to
the struct as we track activity upon it.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/827
Fixes: 8e7cb1799b4f ("drm/i915: Extract intel_frontbuffer active tracking")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: <[email protected]> # v5.4+
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions