diff options
author | Rob Clark <[email protected]> | 2022-06-08 09:13:34 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2022-06-13 15:32:32 -0700 |
commit | 49e477610087a02c3604061b8f3ee3a25a493987 (patch) | |
tree | d03e60dab63d76948369c80392f8ca6e1bffa0af /include/linux/fpga/fpga-mgr.h | |
parent | ce0db505bc0c51ef5e9ba446c660de7e26f78f29 (diff) |
drm/msm: Switch ordering of runpm put vs devfreq_idle
In msm_devfreq_suspend() we cancel idle_work synchronously so that it
doesn't run after we power of the hw or in the resume path. But this
means that we want to ensure that idle_work is not scheduled *after* we
no longer hold a runpm ref. So switch the ordering of pm_runtime_put()
vs msm_devfreq_idle().
v2. Only move the runpm _put_autosuspend, and not the _mark_last_busy()
Fixes: 9bc95570175a ("drm/msm: Devfreq tuning")
Signed-off-by: Rob Clark <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Akhil P Oommen <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions