Skip to contentSkip to conversation

drm/msm: Remove unused pm_state

PATCH In review Rob Clark 2 participants 2 messages Aug 9, 2024

Subsystems (3)
lore
Share & tools
lore

Rob Clark

author
#0 lore raw

PATCH 1/1 drm/msm: Remove unused pm_state

From: Rob Clark <[email protected]>

This was added in commit ec446d09366c ("drm/msm: call drm_atomic_helper_suspend() and drm_atomic_helper_resume()"), but unused since commit ca8199f13498 ("drm/msm/dpu: ensure device suspend happens during PM sleep") which switched to drm_mode_config_helper_suspend()/ drm_mode_config_helper_resume()..

---
 drivers/gpu/drm/msm/msm_drv.h | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/msm/msm_drv.h +0 -2
index be016d7b4ef1..c2eb9f14323e 100644
@@ -215,8 +215,6 @@ struct msm_drm_private {
 	struct notifier_block vmap_notifier;
 	struct shrinker *shrinker;
 
-	struct drm_atomic_state *pm_state;
-
 	/**
 	 * hangcheck_period: For hang detection, in ms
 	 *
Signature · 1 line
2.46.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Rob Clark

From: Rob Clark <[email protected]>

This was added in commit ec446d09366c ("drm/msm: call drm_atomic_helper_suspend() and drm_atomic_helper_resume()"), but unused since commit ca8199f13498 ("drm/msm/dpu: ensure device suspend happens during PM sleep") which switched to drm_mode_config_helper_suspend()/ drm_mode_config_helper_resume()..

Quoted 5 lines
---
  drivers/gpu/drm/msm/msm_drv.h | 2 --
  1 file changed, 2 deletions(-)