diff options
author | Liviu Dudau <Liviu.Dudau@arm.com> | 2017-03-22 13:44:57 +0300 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2017-04-24 12:45:33 +0300 |
commit | 85f6421889eca68ceb0a0403c4c00b2eaf3c16e0 (patch) | |
tree | d010c422ee0fbe187dc7c42e1326d66ce910e412 /drivers/gpu/drm/arm/malidp_drv.h | |
parent | 46f1d42f273836a3b8840637b9ee3d98a528ffd2 (diff) | |
download | linux-85f6421889eca68ceb0a0403c4c00b2eaf3c16e0.tar.xz |
drm: mali-dp: Enable power management for the device.
Enable runtime and system Power Management. Clocks are now managed
from malidp_crtc_{enable,disable} functions. Suspend-to-RAM tested
as working on Juno.
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_drv.h')
-rw-r--r-- | drivers/gpu/drm/arm/malidp_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/arm/malidp_drv.h b/drivers/gpu/drm/arm/malidp_drv.h index dbc617c6e4ef..cd4c04c65ead 100644 --- a/drivers/gpu/drm/arm/malidp_drv.h +++ b/drivers/gpu/drm/arm/malidp_drv.h @@ -24,6 +24,7 @@ struct malidp_drm { struct drm_crtc crtc; wait_queue_head_t wq; atomic_t config_valid; + struct drm_atomic_state *pm_state; }; #define crtc_to_malidp_device(x) container_of(x, struct malidp_drm, crtc) |