These two patches fix pre-existing bugs in this driver that a VM_BIND series depends on. They address what Sashiko flagged while reviewing that series (see Link below).
This series is based on drm-misc-fixes, which already includes the "Fixes for map() path" series (see Link below). Patch 2 is built on top of 0a8224058a58 from that series. tests/imagination/pvr_vm_map.c, sent separately to igt-dev (see Link below) and not yet merged, tests these paths and passes with this series applied. Link: https://lore.kernel.org/all/[email protected]/ # VM_BIND series Sashiko reviewed Link: https://lore.kernel.org/all/[email protected]/ # IGT reproducer (not yet merged) Link: https://lore.kernel.org/all/[email protected]/ # "Fixes for map() path" v4 Signed-off-by: Gyeyoung Baek <[email protected]> --- Changes in v2: - Drop v1 patch 2, already fixed by 7b824c293a6b ("drm/imagination: Propagate map failures correctly from pvr_mmu_map_sgl()"). - Patch 2: add 0a8224058a58 to Fixes, as requested by Brajesh. - Link to v1: https://patch.msgid.link/[email protected] --- Gyeyoung Baek (2): drm/imagination: Fix reference and vm_bo handling in remap() drm/imagination: Size page table preallocation by device address drivers/gpu/drm/imagination/pvr_mmu.c | 25 ++++++++++++------------- drivers/gpu/drm/imagination/pvr_vm.c | 8 ++++---- 2 files changed, 16 insertions(+), 17 deletions(-) --- base-commit: 4d0e2704118511e37790641d591454354e7c0d6c change-id: 20260927-pvr-fixes-a-40876d8bbb25 Best regards, -- Gyeyoung Baek <[email protected]>
