diff options
author | Chris Wilson <[email protected]> | 2019-11-07 18:06:01 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-11-07 21:23:52 +0000 |
commit | 1d1d0af67939c0a99dbf352628db0016924f8613 (patch) | |
tree | 73f4de8aa6fb12078ba5a7bf2658e62b29b863be /drivers/gpu/drm/i915/selftests/i915_request.c | |
parent | 6fedafacae1b951af104d862888a446b6c3f3a39 (diff) |
drm/i915/selftests: Verify mmap_gtt revocation on unbinding
Whenever, we unbind (or change fence registers) on an object, we must
revoke any and all mmap_gtt using the previous bindings. Those user PTEs
point at the GGTT which know points into a new object, the wrong object.
Ergo, those PTEs must be cleared so that any user access provokes a new
page fault.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Abdiel Janulgue <[email protected]>
Reviewed-by: Abdiel Janulgue <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions