]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/adreno: drop bogus pm_runtime_set_active()
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 3 Mar 2023 16:48:06 +0000 (17:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:37 +0000 (11:35 +0200)
commit0ab9867a0682ef68745b2c457357ae9865a8e5e0
treeacedeb91608d7af307d605d8c81dafed6fa09b1d
parenta547c2b0db12dafc6cb3bfe6862871da648562b1
drm/msm/adreno: drop bogus pm_runtime_set_active()

[ Upstream commit db7662d076c973072d788bd0e8130e04430307a1 ]

The runtime PM status can only be updated while runtime PM is disabled.

Drop the bogus pm_runtime_set_active() call that was made after enabling
runtime PM and which (incidentally but correctly) left the runtime PM
status set to 'suspended'.

Fixes: e7c1a247ee33 ("drm/msm/adreno: Load the firmware before bringing up the hardware")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Patchwork: https://patchwork.freedesktop.org/patch/524972/
Link: https://lore.kernel.org/r/20230303164807.13124-4-johan+linaro@kernel.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/adreno/adreno_device.c