diff options
| author | Matthew Auld <matthew.auld@intel.com> | 2025-10-22 17:38:32 +0100 |
|---|---|---|
| committer | Matthew Auld <matthew.auld@intel.com> | 2025-10-23 10:48:36 +0100 |
| commit | fb188d8b00fc221fcc744109dfa29b9945c91913 (patch) | |
| tree | bcc11a98e037db1e31efc7e8a1bb3142fbaadcbf /tools/docs/check-variable-fonts.py | |
| parent | aaeef7a9c8b9206039a588a23e4dc11dddbefe2d (diff) | |
drm/xe/migrate: fix chunk handling for 2M page emit
On systems with PAGE_SIZE > 4K the chunk will likely be rounded down to
zero, if say we have single 2M page, so one huge pte, since we also try
to align the chunk to PAGE_SIZE / XE_PAGE_SIZE, which will be 16 on 64K
systems. Make the ALIGN_DOWN conditional for 4K PTEs where we can
encounter gpu_page_size < PAGE_SIZE.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20251022163836.191405-4-matthew.auld@intel.com
Diffstat (limited to 'tools/docs/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions
