diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2025-10-12 20:45:54 -0700 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2025-10-13 12:31:21 -0700 |
| commit | 55991d854f65d58cfe2c7d5219ffbd83d07c2577 (patch) | |
| tree | c5b0a5da0a8ecd203c0a042771a8ea829171036d /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 604be9dad8f6a25a7afa898e29c6b6b4f9243200 (diff) | |
| download | linux-55991d854f65d58cfe2c7d5219ffbd83d07c2577.tar.gz linux-55991d854f65d58cfe2c7d5219ffbd83d07c2577.zip | |
drm/xe: Fix build_pt_update_batch_sram for non-4K PAGE_SIZE
The build_pt_update_batch_sram function in the Xe migrate layer assumes
PAGE_SIZE == XE_PAGE_SIZE (4K), which is not a valid assumption on
non-x86 platforms. This patch updates build_pt_update_batch_sram to
correctly handle PAGE_SIZE > 4K by programming multiple 4K GPU pages per
CPU page.
v5:
- Mask off non-address bits during compare
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Tested-by: Simon Richter <Simon.Richter@hogyros.de>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://lore.kernel.org/r/20251013034555.4121168-2-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
