diff options
author | Matthew Brost <[email protected]> | 2024-02-19 13:19:42 -0800 |
---|---|---|
committer | Matthew Brost <[email protected]> | 2024-02-20 08:39:45 -0800 |
commit | 0f688c0eb63a643ef0568b29b12cefbb23181e1a (patch) | |
tree | 13414c56953a9a9f8345572b149f7c0c3f4cb36c /lib/test-string_helpers.c | |
parent | 15f0e0c2c46dddd8ee56d9b3db679fd302cc4b91 (diff) |
drm/xe: Return 2MB page size for compact 64k PTEs
Compact 64k PTEs are only intended to be used within a single VMA which
covers the entire 2MB range of the compact 64k PTEs. Add
XE_VMA_PTE_COMPACT VMA flag to indicate compact 64k PTEs are used and
update xe_vma_max_pte_size to return at least 2MB if set.
v2: Include missing changes
Fixes: 8f33b4f054fc ("drm/xe: Avoid doing rebinds")
Fixes: c47794bdd63d ("drm/xe: Set max pte size when skipping rebinds")
Reported-by: Paulo Zanoni <[email protected]>
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/758
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions