Switch the GPUVM to immediate mode, as a prerequisite for asynchronous VM_BIND. A revised VM_BIND series will follow separately; v1 [1] is linked only for context.
The switch also fixes an issue Sashiko reported on [1]: the GPUVA lists of other objects are updated without holding their reservations [2]. Based on drm-misc-fixes (depends on 196d4d10c1b3). Tested on BeagleY-AI with lockdep, KASAN and failslab enabled: - All IGT imagination tests pass, including pvr_vm_map [3]. - The fail-nth reproducer in patch 1 no longer warns. [1] https://lore.kernel.org/r/[email protected] [2] https://sashiko.dev/#/patchset/[email protected]?part=1 [3] https://lore.kernel.org/igt-dev/[email protected]/ Signed-off-by: Gyeyoung Baek <[email protected]> --- Gyeyoung Baek (2): drm/imagination: Switch the GPUVM to immediate mode drm/imagination: Stop locking reservations around map and unmap drivers/gpu/drm/imagination/pvr_vm.c | 80 +++++++++++++----------------------- 1 file changed, 28 insertions(+), 52 deletions(-) --- base-commit: 6ccf996a0dec1852dab94ad865f27b4904750e12 change-id: 20261011-pvr-gpuvm-immediate-f7ea8edc2e7f Best regards, -- Gyeyoung Baek <[email protected]>
