aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMikko Perttunen <[email protected]>2023-06-13 12:52:14 +0300
committerThierry Reding <[email protected]>2023-07-27 18:41:59 +0200
commit62fa0a985e2c99f716688e6bfbc37338a283a301 (patch)
treea5524368d0b32e0b2df19f35563c2795962ac8f7 /include/linux
parent3c5a5df9c39bd0e408fdf60966b2c8dc2bb9a411 (diff)
drm/tegra: Enable runtime PM during probe
Currently, engine drivers only enable runtime PM during the host1x init callback. This can happen slightly later than the probe, which can cause the power domain to intermittently not be turned off after probe. My hypothesis is that there is a race condition between the post-probe power domain poweroff that is done from a queued work, and the pm_runtime_enable call happening in the host1x init callback. If the pm_runtime_enable call happens first, everything is OK and the power off work can disable the power domain as PM runtime is enabled and the device is runtime suspended. If power off work runs first, PM runtime is still disabled for the device and the domain must be kept powered. Resolve the issue by moving the runtime PM enablement to the probe function. Signed-off-by: Mikko Perttunen <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions