diff options
author | Jon Bloomfield <[email protected]> | 2018-07-12 19:53:10 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-07-13 16:08:09 +0100 |
commit | 25dda4dabeeb12af5209b0183c788ef2a88dabbe (patch) | |
tree | c1c500b8fa0ba024eda86b09ce42931a077695e6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 90c3e2198777aaa355b6994a31a79c636c8d4306 (diff) |
drm/i915/gtt: Add read only pages to gen8_pte_encode
We can set a bit inside the ppGTT PTE to indicate a page is read-only;
writes from the GPU will be discarded. We can use this to protect pages
and in particular support read-only userptr mappings (necessary for
importing PROT_READ vma).
Signed-off-by: Jon Bloomfield <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions