diff options
author | 2018-06-05 09:53:48 +0100 | |
---|---|---|
committer | 2018-06-05 15:16:07 +0100 | |
commit | d901e8e6733544e772713a23ab345eb79153de8c (patch) | |
tree | 53fe447484cdc67117572c4964391fdd8a302888 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Add new vGPU cap info bit VGT_CAPS_HUGE_GTT (diff) | |
download | wireguard-linux-d901e8e6733544e772713a23ab345eb79153de8c.tar.xz wireguard-linux-d901e8e6733544e772713a23ab345eb79153de8c.zip |
drm/i915/ringbuffer: Make context pin/unpin symmetric
Currently, we have a special routine for pinning the context state at
the start of activity tracking, but lack the complementary unpin
routine. Create it to to ease later patches that want to do partial
teardown on error, and, not least, to improve the readability of the
code.
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180605085348.3018-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions