linux/drivers/gpu/drm/panfrost
Steven Price 876b15d2c8 drm/panfrost: Fix module unload
When unloading the call to pm_runtime_put_sync_suspend() will attempt to
turn the GPU cores off, however panfrost_device_fini() will have turned
the clocks off. This leads to the hardware locking up.

Instead don't call pm_runtime_put_sync_suspend() and instead simply mark
the device as suspended using pm_runtime_set_suspended(). And also
include this on the error path in panfrost_probe().

Fixes: aebe8c22a9 ("drm/panfrost: Fix possible suspend in panfrost_remove")
Signed-off-by: Steven Price <steven.price@arm.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201030145833.29006-1-steven.price@arm.com
2020-11-03 09:43:57 +01:00
..
Kconfig drm/panfrost: Require the simple_ondemand governor 2019-06-10 09:30:34 -06:00
Makefile drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
panfrost_devfreq.c drm/panfrost: add regulators to devfreq 2020-08-07 10:11:26 -06:00
panfrost_devfreq.h drm/panfrost: add regulators to devfreq 2020-08-07 10:11:26 -06:00
panfrost_device.c drm/panfrost: add regulators to devfreq 2020-08-07 10:11:26 -06:00
panfrost_device.h drm/panfrost: add support for vendor quirk 2020-09-21 10:13:50 +01:00
panfrost_drv.c drm/panfrost: Fix module unload 2020-11-03 09:43:57 +01:00
panfrost_features.h
panfrost_gem_shrinker.c drm/panfrost: Fix a deadlock between the shrinker and madvise path 2020-11-03 09:21:52 +01:00
panfrost_gem.c drm/panfrost: Fix a deadlock between the shrinker and madvise path 2020-11-03 09:21:52 +01:00
panfrost_gem.h drm/panfrost: Fix a deadlock between the shrinker and madvise path 2020-11-03 09:21:52 +01:00
panfrost_gpu.c drm/panfrost: increase readl_relaxed_poll_timeout values 2020-10-09 16:57:27 +01:00
panfrost_gpu.h drm/panfrost: add amlogic reset quirk callback 2020-09-21 10:13:50 +01:00
panfrost_issues.h drm/panfrost: Add errata descriptions from kbase 2019-08-23 12:16:27 -05:00
panfrost_job.c drm/panfrost: introduce panfrost_devfreq struct 2020-08-07 10:11:26 -06:00
panfrost_job.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-21 10:32:55 -06:00
panfrost_mmu.c drm: panfrost: fix common struct sg_table related issues 2020-09-10 08:18:35 +02:00
panfrost_mmu.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-21 10:32:55 -06:00
panfrost_perfcnt.c drm/panfrost: perfcnt: fix ref count leak in panfrost_perfcnt_enable_locked 2020-08-07 10:45:07 -06:00
panfrost_perfcnt.h drm/panfrost: Open/close the perfcnt BO 2019-12-06 11:06:20 -06:00
panfrost_regs.h drm/panfrost: add amlogic reset quirk callback 2020-09-21 10:13:50 +01:00
TODO drm/panfrost: Remove commented out call to panfrost_core_dump 2019-10-09 13:36:56 -05:00