Commit 4b55dd38 authored by Johan Hovold's avatar Johan Hovold Committed by sanglipeng
Browse files

drm/msm/adreno: drop bogus pm_runtime_set_active()

stable inclusion
from stable-v5.10.180
commit 00f02bb8cb053997f48ffe7f71b92d674be4676d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=00f02bb8cb053997f48ffe7f71b92d674be4676d



--------------------------------

[ Upstream commit db7662d0 ]

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: 2c087a33 ("drm/msm/adreno: Load the firmware before bringing up the hardware")
Signed-off-by: default avatarJohan 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: default avatarRob Clark <robdclark@chromium.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 167ec447
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment