[Intel-gfx] [RFC 4/6] drm/i915/vlv: call runtime get/put based on disp activity

naresh.kumar.kachhi at intel.com naresh.kumar.kachhi at intel.com
Wed Jan 22 13:04:20 CET 2014


From: Naresh Kumar Kachhi <naresh.kumar.kachhi at intel.com>

do a runtime_get/put based on the display activity for valleyview
platrform

Signed-off-by: Naresh Kumar Kachhi <naresh.kumar.kachhi at intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 25eae03..52aa5f3 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -4132,6 +4132,8 @@ static void valleyview_modeset_global_resources(struct drm_device *dev)
 
 	if (req_cdclk != cur_cdclk)
 		valleyview_set_cdclk(dev, req_cdclk);
+
+	intel_runtime_update_disp_state(dev_priv);
 }
 
 static void valleyview_crtc_enable(struct drm_crtc *crtc)
-- 
1.8.1.2




More information about the Intel-gfx mailing list