drm/xe: Fix xe_vma_set_pte_size
authorMatthew Brost <matthew.brost@intel.com>
Mon, 19 Feb 2024 21:19:40 +0000 (13:19 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 20 Feb 2024 16:39:33 +0000 (08:39 -0800)
commit19adaccef8b246182dc89a7470aa7758245efd5d
treedb582a0c4fc696ce8ef711af3d56604c3f233805
parenta0df2cc858c309a8bc2e87b4274772587aa25e05
drm/xe: Fix xe_vma_set_pte_size

xe_vma_set_pte_size had a return value and did not set the 4k VMA flag.
Both of these were incorrect. Fix these.

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-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_vm.c