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

2020-12-24 Thread Chris Wilson
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: Su

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

2020-12-24 Thread Matthew Auld
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") Signe