Re: [Intel-gfx] [PATCH 1/2] drm/i915: Check for scratch page scribbling

2021-02-10 Thread Mika Kuoppala
Chris Wilson writes: > Quoting Mika Kuoppala (2021-02-10 10:49:55) >> Chris Wilson writes: >> > diff --git a/drivers/gpu/drm/i915/gt/intel_gtt.c >> > b/drivers/gpu/drm/i915/gt/intel_gtt.c >> > index d34770ae4c9a..5ac9eb4a3a92 100644 >> > --- a/drivers/gpu/drm/i915/gt/intel_gtt.c >> > +++ b/driv

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Check for scratch page scribbling

2021-02-10 Thread Chris Wilson
Quoting Mika Kuoppala (2021-02-10 10:49:55) > Chris Wilson writes: > > diff --git a/drivers/gpu/drm/i915/gt/intel_gtt.c > > b/drivers/gpu/drm/i915/gt/intel_gtt.c > > index d34770ae4c9a..5ac9eb4a3a92 100644 > > --- a/drivers/gpu/drm/i915/gt/intel_gtt.c > > +++ b/drivers/gpu/drm/i915/gt/intel_gtt.c

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Check for scratch page scribbling

2021-02-10 Thread Mika Kuoppala
Chris Wilson writes: > Periodically check, for example when idling and upon closing user > contexts, whether or not some client has written into unallocated PTE in > their ppGTT. > > Signed-off-by: Chris Wilson > --- > .../drm/i915/gem/selftests/i915_gem_context.c | 19 +++-- > drivers/gpu/

[Intel-gfx] [PATCH 1/2] drm/i915: Check for scratch page scribbling

2021-02-10 Thread Chris Wilson
Periodically check, for example when idling and upon closing user contexts, whether or not some client has written into unallocated PTE in their ppGTT. Signed-off-by: Chris Wilson --- .../drm/i915/gem/selftests/i915_gem_context.c | 19 +++-- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 31