diff options
| author | Thomas Hellström <[email protected]> | 2021-07-23 12:21:42 -0500 |
|---|---|---|
| committer | Matthew Auld <[email protected]> | 2021-07-26 16:37:38 +0100 |
| commit | cdb35d1ed6d216978521b75927acb3b8c50a6cac (patch) | |
| tree | 0ab8c06f1f73a46813e3a00ada85431a13dfb8d7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d7b2cb380b3a67894dccf497ded604f52bc05346 (diff) | |
drm/i915/gem: Migrate to system at dma-buf attach time (v7)
Until we support p2p dma or as a complement to that, migrate data
to system memory at dma-buf attach time if possible.
v2:
- Rebase on dynamic exporter. Update the igt_dmabuf_import_same_driver
selftest to migrate if we are LMEM capable.
v3:
- Migrate also in the pin() callback.
v4:
- Migrate in attach
v5: (jason)
- Lock around the migration
v6: (jason)
- Move the can_migrate check outside the lock
- Rework the selftests to test more migration conditions. In
particular, SMEM, LMEM, and LMEM+SMEM are all checked.
v7: (mauld)
- Misc style nits
Signed-off-by: Thomas Hellström <[email protected]>
Signed-off-by: Michael J. Ruhl <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions