diff options
| author | Chris Wilson <[email protected]> | 2017-07-19 14:59:57 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-07-19 19:15:12 +0100 |
| commit | 56d27666f8fa21835724217b0c67d42b769b5723 (patch) | |
| tree | 613c9e5b5cb94e4e9eab6caa70dfa0801500f7c2 /tools/perf/scripts/python | |
| parent | 99c539bef5385099585335897185a014a8dfe1bf (diff) | |
drm/i915/selftests: Mark contexts as lost during freeing of mock device
We need to unpin the last retired context early in the shutdown sequence
so that its RCU free is done before we try to free the context ida. I
included this in a later patch ("drm/i915: Keep a recent cache of freed
contexts objects for reuse") and so missed that the selftests were broken
in the meantime.
Reported-by: Matthew Auld <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101627
Fixes: 5f09a9c8ab6b ("drm/i915: Allow contexts to be unreferenced locklessly")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Tested-by: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions