diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-08-22 12:05:15 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-08-24 15:22:21 +0100 |
| commit | 432295d7b906dae11129fc2870289465c907e5f2 (patch) | |
| tree | 1799d79741fe2a45294f856af993c22391754215 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | drm/i915/cnl: WaForceContextSaveRestoreNonCoherent (diff) | |
| download | linux-432295d7b906dae11129fc2870289465c907e5f2.tar.gz linux-432295d7b906dae11129fc2870289465c907e5f2.zip | |
drm/i915: Assert the context is not closed on object-close
During the context-close, we should be decoupling all the vma from the
object so that upon object-closing we shouldn't see any vma from the
already closed contexts. So include a check upon closing the object that
the context is still open.
v2: Eek, the fpriv check is required for shared objects. Double eek, BAT
passed?
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170822110517.22277-1-chris@chris-wilson.co.uk
Reviewed-by: MichaĆ Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
