aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2020-12-24 15:13:57 +0000
committerChris Wilson <[email protected]>2020-12-24 15:25:41 +0000
commiteeb52ee6c4a429ec301faf1dc48988744960786e (patch)
treec8b5ccae39fa88534abadbca9677fef81fa12e11 /lib/mpi/mpi-sub-ui.c
parent177b7a52a16a0f9b9075119308ed3d8d5a8640cc (diff)
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 <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Cc: [email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions