diff options
author | Daniel Vetter <[email protected]> | 2015-12-04 17:27:15 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-12-04 17:34:40 +0100 |
commit | af3302b90775ca3389c93ab31458d696e8a8fa60 (patch) | |
tree | a0c007511b8311a05da3799b96cd4cc9e9a9b2ad /tools/perf/scripts/python/sched-migration.py | |
parent | 61ad992875639b0ac5866321e2edcba573f5f3a2 (diff) |
Revert "drm/i915: Extend LRC pinning to cover GPU context writeback"
This reverts commit 6d65ba943a2d1e4292a07ca7ddb6c5138b9efa5d.
Mika Kuoppala traced down a use-after-free crash in module unload to
this commit, because ring->last_context is leaked beyond when the
context gets destroyed. Mika submitted a quick fix to patch that up in
the context destruction code, but that's too much of a hack.
The right fix is instead for the ring to hold a full reference onto
it's last context, like we do for legacy contexts.
Since this is causing a regression in BAT it gets reverted before we
can close this.
Cc: Nick Hoath <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Gordon <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Alex Dai <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93248
Acked-by: Mika Kuoppala <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions