]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: stop caching the scratch page
authorMatthew Auld <matthew.auld@intel.com>
Thu, 28 Oct 2021 09:26:38 +0000 (10:26 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 29 Oct 2021 08:03:42 +0000 (09:03 +0100)
commitf005a444f2f658d6b726605be3395f1c9dd6c005
tree09a50173a9a28a75f5baaf48a6a7b3c086d3e1c0
parentafc1f3103b893a521cbb79234cb9c6d26da8051e
drm/i915/gtt: stop caching the scratch page

Normal users shouldn't be hitting this, likely this would indicate a
userspace bug. So don't bother caching, which should be safe now that we
manually flush the page.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211028092638.3142258-2-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/gen8_ppgtt.c