[PATCH 0/3] RFC: v2 set/get scratch page contents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kevin Rogovin <kevin.rogovin@xxxxxxxxx>

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux