Re: [PATCH v2 0/2] drm/imagination: Switch the GPUVM to immediate mode
From: Luigi Santivetti
Date: Tue Nov 17 2026 - 04:28:21 EST
Hi Gyeyoung,
Thank you for these patches, and sorry for the slowness in responding. These two
seem okay to me - I also run IGT.
What I can do is to kick a run of CTS with them applied while I'll look at the
series for adding the VM bind ioctl.
Thanks,
Luigi
On Sun, 2026-10-11 at 18:45 +0900, Gyeyoung Baek wrote:
> 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/20260817-pvr-vm-bind-v1-0-0a0f21be7d38@xxxxxxxxx
> [2] https://sashiko.dev/#/patchset/20260817-pvr-vm-bind-v1-0-0a0f21be7d38@xxxxxxxxx?part=1
> [3] https://lore.kernel.org/igt-dev/20260930125057.1837788-1-gye976@xxxxxxxxx/
>
> Signed-off-by: Gyeyoung Baek <gye976@xxxxxxxxx>
> ---
> Changes in v2:
> - Patch 1: drain the vm_bo that fini() deferred when map_init() fails.
> (Sashiko)
> - Link to v1: https://patch.msgid.link/20261011-pvr-gpuvm-immediate-v1-0-5b298dfce4f8@xxxxxxxxx
>
> ---
> 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 | 82 +++++++++++++-----------------------
> 1 file changed, 30 insertions(+), 52 deletions(-)
> ---
> base-commit: 6ccf996a0dec1852dab94ad865f27b4904750e12
> change-id: 20261011-pvr-gpuvm-immediate-f7ea8edc2e7f
>
> Best regards,
> --
> Gyeyoung Baek <gye976@xxxxxxxxx>
>