drm/xe/ppgtt: clear the scratch page
authorMatthew Auld <matthew.auld@intel.com>
Thu, 22 Dec 2022 14:09:02 +0000 (14:09 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:27:44 +0000 (18:27 -0500)
commite63f81adcc4283aed7d4fe5da1219881cc6f67d4
tree95e5b0ee8450ddb6a48c8e037128a4a341024d4d
parentf3edf6917ca8e4e11a6af39e926558d4609dd9ea
drm/xe/ppgtt: clear the scratch page

We need to ensure we don't leak the contents to userspace.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pt.c