diff options
author | Matthew Auld <matthew.auld@intel.com> | 2020-12-24 18:13:57 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-24 18:25:41 +0300 |
commit | eeb52ee6c4a429ec301faf1dc48988744960786e (patch) | |
tree | c8b5ccae39fa88534abadbca9677fef81fa12e11 /scripts/gcc-plugins/sancov_plugin.c | |
parent | 177b7a52a16a0f9b9075119308ed3d8d5a8640cc (diff) | |
download | linux-eeb52ee6c4a429ec301faf1dc48988744960786e.tar.xz |
drm/i915: clear the shadow batch
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@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201224151358.401345-1-matthew.auld@intel.com
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions