diff options
| author | Chris Wilson <[email protected]> | 2019-06-19 18:01:35 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-06-19 19:49:14 +0100 |
| commit | 09c5ab384f6fb30f834a5777888b4486dd7f015d (patch) | |
| tree | 7a577ce0e9317a69065ecab4282bded8e4bd1a2b /tools/perf/scripts/python/stackcollapse.py | |
| parent | bdeb18dbcf8227e8f4b46db3f53a4155409e68cd (diff) | |
drm/i915: Keep rings pinned while the context is active
Remember to keep the rings pinned as well as the context image until the
GPU is no longer active.
v2: Introduce a ring->pin_count primarily to hide the
mock_ring that doesn't fit into the normal GGTT vma picture.
v3: Order is important in teardown, ringbuffer submission needs to drop
the pin count on the engine->kernel_context before it can gleefully free
its ring.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110946
Fixes: ce476c80b8bf ("drm/i915: Keep contexts pinned until after the next kernel context switch")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions