aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-07-02 17:36:23 +0100
committerChris Wilson <[email protected]>2020-07-02 20:46:08 +0100
commitdb8337853b834f806ab537200d35f0d1909e6b03 (patch)
tree265ec23ce80f6db63da3715a53b000b40848aa90 /tools/perf/scripts/python/bin
parentcb2baf42dcec630acc15f9ff2f8c09c8b70b03da (diff)
drm/i915/gem: Only revoke mmap handlers if active
Avoid waking up the device and taking stale locks if we know that the object is not currently mmapped. This is particularly useful as not many object are actually mmapped and so we can destroy them without waking the device up, and gives us a little more freedom of workqueue ordering during shutdown. v2: Pull the release_mmap() into its single user in freeing the objects, where there can not be any race with a concurrent user of the freed object. Or so one hopes! 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/bin')
0 files changed, 0 insertions, 0 deletions