[PATCH 00/12] drm/panthor: Fix the unplug logic
Boris Brezillon <[email protected]> Tue, 04 Aug 2026 12:09:39 +0200
| Newsgroups | gmane.linux.kernel,gmane.comp.video.dri.devel |
|---|---|
| Message-ID | <[email protected]> |
The current unplug logic is broken in multiple ways. This is an attempt at addressing the various problems found along the way (some were reported by Sashiko, others have been found while trying to address Sashiko's concerns). Signed-off-by: Boris Brezillon <[email protected]> --- Boris Brezillon (12): drm/panthor: Disable reset work before unplug drm/panthor: Further delay reset work enablement drm/panthor: Move the debugfs initialization to panthor_device.c drm/panthor: Flush the cleanup_wq before destroying the drm_device drm/panthor: Drop unused vm argument passed to panthor_vm_prepare_sync_only_op_ctx() drm/panthor: Split panthor_vm drm/panthor: Add fine-grained restrictions on VMs drm/panthor: Check AS state before disabling drm/panthor: Don't pre-allocate VMAs or page tables when preparing a full VM unmap drm/panthor: Make the VM cleanup path more robust against UAF drm/panthor: Make the unplug logic more robust drm/panthor: Fix unplug in the reset path drivers/gpu/drm/panthor/panthor_device.c | 155 +++- drivers/gpu/drm/panthor/panthor_device.h | 37 +- drivers/gpu/drm/panthor/panthor_drv.c | 12 +- drivers/gpu/drm/panthor/panthor_fw.c | 9 +- drivers/gpu/drm/panthor/panthor_mmu.c | 1374 ++++++++++++++++++------------ drivers/gpu/drm/panthor/panthor_mmu.h | 1 + drivers/gpu/drm/panthor/panthor_sched.c | 17 + 7 files changed, 1015 insertions(+), 590 deletions(-) --- base-commit: 44e9eb5a762142a4aa46c0b5da7c39bfeb78910e change-id: 20260804-panthor-unplug-fixes-7927b3ddc2f9 Best regards, -- Boris Brezillon <[email protected]>