diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-02 16:48:07 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-06 11:20:48 +0200 |
commit | 112522f6789581824903f6f72082b5b841a7f0f9 (patch) | |
tree | 027628674a678d2bc6f3f8822c672fbf0fee8c41 /tools/perf/scripts/python/syscall-counts.py | |
parent | 21a8e6a4853b2ed39fa4c5188a710f2cf1b92026 (diff) |
drm/i915: put context upon switching
In order to be notified of when the context and all of its associated
objects is idle (for if the context maps to a ppgtt) we need a callback
from the retire handler. We can arrange this by using the kref_get/put
of the context for request tracking and by inserting a request to
demarque the switch away from the old context.
[Ben: fixed minor error to patch compile, AND s/last_context/from/]
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions