diff options
author | Daniel Mack <daniel@zonque.org> | 2018-05-28 21:53:38 +0200 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-07-25 07:51:04 -0400 |
commit | ec446d09366cea199214b30810e368c5178841cd (patch) | |
tree | 3e59810b096892b5298ef03f2c5a1854d865c8e9 /drivers/gpu/drm/msm/msm_drv.h | |
parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
download | blackbird-obmc-linux-ec446d09366cea199214b30810e368c5178841cd.tar.gz blackbird-obmc-linux-ec446d09366cea199214b30810e368c5178841cd.zip |
drm/msm: call drm_atomic_helper_suspend() and drm_atomic_helper_resume()
To make suspend and resume work on msm8916 platforms, call into the generic
helpers and preserve the state across suspends.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index b2da1fbf81e0..17cefca1d566 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -150,6 +150,7 @@ struct msm_drm_private { struct shrinker shrinker; struct msm_vblank_ctrl vblank_ctrl; + struct drm_atomic_state *pm_state; }; struct msm_format { |