diff options
| author | Chris Wilson <[email protected]> | 2018-05-17 22:26:33 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-05-18 09:35:28 +0100 |
| commit | 867985d4a4319819a971645a262f3340f7d30343 (patch) | |
| tree | 8bbbe810feb8fa2b2ddbd67a6fd7c67be87dd7b8 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | 1fc44d9b1afb0afe46acd99bdfdf793805a850e1 (diff) | |
drm/i915: Pull the context->pin_count dec into the common intel_context_unpin
As all backends implement the same pin_count mechanism and do a
dec-and-test as their first step, pull that into the common
intel_context_unpin(). This also pulls into the caller, eliminating the
indirect call in the usual steady state case. The intel_context_pin()
side is a little more complicated as it combines the lookup/alloc as
well as pinning the state, and so is left for a later date.
Signed-off-by: Chris Wilson <[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/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions