diff options
author | Matthew Auld <[email protected]> | 2022-10-28 16:50:27 +0100 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2022-10-31 14:16:13 +0000 |
commit | 6427ab570c30cdfbbf00d2ae334d2ec47ce80c73 (patch) | |
tree | 5f6f8ba8cac690f28e697d3ac5ecb37b5404c83a /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 28d52f99bbca7227008cf580c9194c9b3516968e (diff) |
drm/i915/selftests: exercise GPU access from the importer
Using PAGE_SIZE here potentially hides issues so bump that to something
larger. This should also make it possible for iommu to coalesce entries
for us. With that in place verify we can write from the GPU using the
importers sg_table, followed by checking that our writes match when read
from the CPU side.
v2: Switch over to igt_gpu_fill_dw(), which looks to be more widely
supported than the migrate stuff (at least OOTB).
References: https://gitlab.freedesktop.org/drm/intel/-/issues/7306
Signed-off-by: Matthew Auld <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Michael J. Ruhl <[email protected]>
Reviewed-by: Michael J. Ruhl <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions