diff options
author | Jyri Sarha <jsarha@ti.com> | 2016-06-16 11:28:23 +0300 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-08-08 23:05:16 +0300 |
commit | 514d1a1f47eb94348b6abf168b913af194cdf1a9 (patch) | |
tree | e9975010f6222ecbdc1fe94dcc4fba6c91e27fb6 /drivers/gpu/drm/tilcdc/tilcdc_drv.h | |
parent | afaf833dd5d7793e9441f122bbe3e37a09a0c743 (diff) | |
download | linux-514d1a1f47eb94348b6abf168b913af194cdf1a9.tar.xz |
drm/tilcdc: Use drm_atomic_helper_resume/suspend()
Use drm_atomic_helper_resume/suspend() and get rid off all the obsolete
register level context restoring code.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_drv.h')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_drv.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.h b/drivers/gpu/drm/tilcdc/tilcdc_drv.h index 0619c3c88527..5e645ce2b509 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.h +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.h @@ -65,10 +65,8 @@ struct tilcdc_drm_private { */ uint32_t max_width; - /* register contents saved across suspend/resume: */ - u32 *saved_register; - int saved_dpms_state; - bool ctx_valid; + /* The context for pm susped/resume cycle is stored here */ + struct drm_atomic_state *saved_state; #ifdef CONFIG_CPU_FREQ struct notifier_block freq_transition; |