[Intel-gfx] [PATCH v3 1/2] drm/i915: clear the shadow batch

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 24 15:17:31 UTC 2020


Quoting Matthew Auld (2020-12-24 15:13:57)
> The shadow batch is an internal object, which doesn't have any page
> clearing, and since the batch_len can be smaller than the object, we
> should take care to clear it.
> 
> Testcase: igt/gen9_exec_parse/shadow-peek
> Fixes: 4f7af1948abc ("drm/i915: Support ro ppgtt mapped cmdparser shadow buffers")
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list