drm/i915/gt: Move scratch page into system memory on all platforms
authorChris Wilson <chris.p.wilson@intel.com>
Mon, 26 Sep 2022 15:50:18 +0000 (16:50 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 27 Sep 2022 10:32:10 +0000 (11:32 +0100)
commitf28d42663eb063173f63ee294465d2f336da325f
treed619a92c5a9c4706803838a8e6447246b9ba22c9
parente5cedf9859b29642f8908f7e8949d983c748e2d0
drm/i915/gt: Move scratch page into system memory on all platforms

The scratch page should never be accessed, and is only assigned as a
filler page to redirection invalid userspace access. It is not of a
performance concern and so we prefer to have a single consistent
configuration across all platforms, reducing the pressure on device
memory and avoiding the direct device access that would be required to
initialise the scratch page.

Signed-off-by: Chris Wilson <chris.p.wilson@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220926155018.109678-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/gen8_ppgtt.c