diff options
author | Matthew Auld <[email protected]> | 2020-12-24 15:13:57 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2021-01-05 10:25:02 +0200 |
commit | 75353bcd2184010f08a3ed2f0da019bd9d604e1e (patch) | |
tree | 2d8e2b2e33aa292fbb5bb45ad32890100b0db576 /scripts/gdb/linux/utils.py | |
parent | e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (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]
(cherry picked from commit eeb52ee6c4a429ec301faf1dc48988744960786e)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions