summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/Kconfig
diff options
context:
space:
mode:
authorAkhil P Oommen <quic_akhilpo@quicinc.com>2023-01-02 13:48:31 +0300
committerRob Clark <robdclark@chromium.org>2023-03-20 20:54:22 +0300
commitc11fa1204fe9405d2a82a714d021360b865cf8bc (patch)
tree1a9e50283f9ea3e7cfb97d54dabb49a9cacf1bde /drivers/gpu/drm/msm/Kconfig
parentd48430122509955bbf12a02964dc8ec514f66d8c (diff)
downloadlinux-c11fa1204fe9405d2a82a714d021360b865cf8bc.tar.xz
drm/msm/a6xx: Use genpd notifier to ensure cx-gdsc collapse
As per the recommended recovery sequence of adreno gpu, cx gdsc should collapse at hardware before it is turned back ON. This helps to clear out the stale states in hardware before it is reinitialized. Use the genpd notifier along with the newly introduced dev_pm_genpd_synced_poweroff() api to ensure that cx gdsc has collapsed before we turn it back ON. Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/516472/ Link: https://lore.kernel.org/r/20230102161757.v5.5.I9e10545c6a448d5eb1b734839b871d1b3146dac3@changeid Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/Kconfig')
-rw-r--r--drivers/gpu/drm/msm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index 949b18a29a55..1c417ba53b5b 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -28,6 +28,7 @@ config DRM_MSM
select SYNC_FILE
select PM_OPP
select NVMEM
+ select PM_GENERIC_DOMAINS
help
DRM/KMS driver for MSM/snapdragon.