summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2025-10-12 20:45:55 -0700
committerMatthew Brost <matthew.brost@intel.com>2025-10-13 12:31:22 -0700
commitdd83b101a4a65c212bacc52dea3b0b7131a2e88a (patch)
tree4d86cb88d5879c79c3b23905e1386134a5a05e42 /tools/perf/scripts/python/gecko.py
parent55991d854f65d58cfe2c7d5219ffbd83d07c2577 (diff)
downloadlinux-dd83b101a4a65c212bacc52dea3b0b7131a2e88a.tar.gz
linux-dd83b101a4a65c212bacc52dea3b0b7131a2e88a.zip
drm/xe: Enable 2M pages in xe_migrate_vram
Using 2M pages in xe_migrate_vram has two benefits: we issue fewer instructions per 2M copy (1 vs. 512), and the cache hit rate should be higher. This results in increased copy engine bandwidth, as shown by benchmark IGTs. Enable 2M pages by reserving PDEs in the migrate VM and using 2M pages in xe_migrate_vram if the DMA address order matches 2M. v2: - Reuse build_pt_update_batch_sram (Stuart) - Fix build_pt_update_batch_sram for PAGE_SIZE > 4K v3: - More fixes for PAGE_SIZE > 4K, align chunk, decrement chunk as needed - Use stack incr var in xe_migrate_vram_use_pde (Stuart) v4: - Split PAGE_SIZE > 4K fix out in different patch (Stuart) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Link: https://lore.kernel.org/r/20251013034555.4121168-3-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions