drm/xe: Add XE_VMA_PTE_64K VMA flag
authorMatthew Brost <matthew.brost@intel.com>
Mon, 19 Feb 2024 21:19:41 +0000 (13:19 -0800)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 21 Feb 2024 09:29:35 +0000 (10:29 +0100)
commit4cf8ffeb6625b7afd97b8d6698f1887071335c32
tree44cd670d70700caa6185e4cad2cd2e577c67ecbf
parentecfac05f962f3aa567ae1796b2586a64fb97fe24
drm/xe: Add XE_VMA_PTE_64K VMA flag

Add XE_VMA_PTE_64K VMA flag to ensure skipping rebinds does not cross
64k page boundaries.

Fixes: 8f33b4f054fc ("drm/xe: Avoid doing rebinds")
Fixes: c47794bdd63d ("drm/xe: Set max pte size when skipping rebinds")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219211942.3633795-3-matthew.brost@intel.com
(cherry picked from commit 15f0e0c2c46dddd8ee56d9b3db679fd302cc4b91)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_pt.c
drivers/gpu/drm/xe/xe_vm.c
drivers/gpu/drm/xe/xe_vm_types.h