aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2021-10-18 10:10:48 +0100
committerMatthew Auld <[email protected]>2021-10-22 13:19:18 +0100
commitf05b985e6f76eb9e57f36d0960a8beb46d5b46a8 (patch)
tree45b66f2451a09e96f43293a8089dbfe331c67656 /tools/perf/scripts/python/sched-migration.py
parentef3e619221248a7ea5fc711a2bf9017c94d2f644 (diff)
drm/i915/gem: Break out some shmem backend utils
Break out some shmem backend utils for future reuse by the TTM backend: shmem_alloc_st(), shmem_free_st() and __shmem_writeback() which we can use to provide a shmem-backed TTM page pool for cached-only TTM buffer objects. Main functional change here is that we now compute the page sizes using the dma segments rather than using the physical page address segments. v2(Reported-by: kernel test robot <[email protected]>) - Make sure we initialise the mapping on the error path in shmem_get_pages() Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Auld <[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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions