diff options
author | Matthew Auld <[email protected]> | 2021-10-18 18:45:03 +0100 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2021-10-20 16:50:20 +0100 |
commit | a035154da45d19e09dc68454673ff257a660aece (patch) | |
tree | d5df711647fa572be5cbe288f3f30bb958ecfb0e /scripts/gdb/linux/utils.py | |
parent | 30f1dccd295b6865fad9e41873dce2f76998cbae (diff) |
drm/i915/dmabuf: add paranoid flush-on-acquire
As pointed out by Thomas, we likely need to flush the pages here if the
GPU can read the page contents directly from main memory. Underneath we
don't know what the sg_table is pointing to, so just add a
wbinvd_on_all_cpus() here, for now.
Reported-by: Thomas Hellström <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Cc: Thomas Hellström <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions