[Intel-gfx] [PATCH 0/3] RFC: v2 set/get scratch page contents
kevin.rogovin at intel.com
kevin.rogovin at intel.com
Fri Dec 8 08:02:36 UTC 2017
From: Kevin Rogovin <kevin.rogovin at intel.com>
This patch series for Mesa defines and uses a new ioctl interface
to get and set the contents of the scratch page for a PPGTT.
The purpose of checking that the scratch page is not changed is
to help detect out-of-bound buffer object writes by the GPU.
v2:
- Correctly change to using GEM_CONTEXT_GET/SETPARAM and thus
make scratch page get/set as per-context
- place checking of scratch page in same location if Mesa/i965
as syncing
Kevin Rogovin (3):
drm-uapi:i915 define set/get (per-context) scratch page ioctl
interface
i965: define gen_debug for checking (per-context) scratch page
i965: implement (per-context) scratch page checking
include/drm-uapi/i915_drm.h | 9 ++++++++
src/intel/common/gen_debug.c | 1 +
src/intel/common/gen_debug.h | 1 +
src/mesa/drivers/dri/i965/brw_context.c | 30 +++++++++++++++++++++++++++
src/mesa/drivers/dri/i965/brw_context.h | 10 +++++++++
src/mesa/drivers/dri/i965/intel_batchbuffer.c | 15 +++++++++++++-
6 files changed, 65 insertions(+), 1 deletion(-)
--
2.15.0
More information about the Intel-gfx
mailing list