diff options
| author | Chris Wilson <[email protected]> | 2016-04-13 17:35:12 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-04-14 10:45:40 +0100 |
| commit | 349f2ccff94e835210b253ec9bef1d97d6afb312 (patch) | |
| tree | 921730c0c587c88d0cf6af953f90c42143fcec9e /tools/perf/scripts/python | |
| parent | a687a43a48f0f91ba37dce5a14b467258ed6f035 (diff) | |
drm/i915: Move the mb() following release-mmap into release-mmap
As paranoia, we want to ensure that the CPU's PTEs have been revoked for
the object before we return from i915_gem_release_mmap(). This allows us
to rely on there being no outstanding memory accesses from userspace
and guarantees serialisation of the code against concurrent access just
by calling i915_gem_release_mmap().
v2: Reduce the mb() into a wmb() following the revoke.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: "Goel, Akash" <[email protected]>
Cc: Daniel Vetter <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions