Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/panfrost: Don't sync rpm suspension after mmu flushing

Lockdep warns about potential circular locking dependency of devfreq
with the fs_reclaim caused by immediate device suspension when mapping is
released by shrinker. Fix it by doing the suspension asynchronously.

Reviewed-by: Steven Price <steven.price@arm.com>
Fixes: ec7eba47da86 ("drm/panfrost: Rework page table flushing and runtime PM interaction")
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://lore.kernel.org/all/20230108210445.3948344-3-dmitry.osipenko@collabora.com/

+1 -1
+1 -1
drivers/gpu/drm/panfrost/panfrost_mmu.c
··· 282 282 if (pm_runtime_active(pfdev->dev)) 283 283 mmu_hw_do_operation(pfdev, mmu, iova, size, AS_COMMAND_FLUSH_PT); 284 284 285 - pm_runtime_put_sync_autosuspend(pfdev->dev); 285 + pm_runtime_put_autosuspend(pfdev->dev); 286 286 } 287 287 288 288 static int mmu_map_sg(struct panfrost_device *pfdev, struct panfrost_mmu *mmu,