]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: Reuse the read-only 64KiB scratch page and directories
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 29 Oct 2018 18:27:21 +0000 (18:27 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 30 Oct 2018 09:10:22 +0000 (09:10 +0000)
commit08df28f2914ec7e1b4c127a0bc170da748a23187
tree17cb4ca2287427c0ac93ce6c8c9b086114744239
parentb81588abad597ab4b90726b44d409c607865b541
drm/i915/gtt: Reuse the read-only 64KiB scratch page and directories

If we can prevent stray writes from landing in the scratch page, we can
reuse the same page and same scratch PT for all contexts without fear of
information leaks and side-channels.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181029182721.29568-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c