[Intel-gfx] [PATCH] drm/i915: Suspend resume timing optimization.
abhay.kumar at intel.com
abhay.kumar at intel.com
Mon Dec 7 12:28:05 PST 2015
From: Abhay Kumar <abhay.kumar at intel.com>
Moving 250ms from T12 timing to suspend path so that
resume path will be faster.
Signed-off-by: Abhay Kumar <abhay.kumar at intel.com>
---
drivers/gpu/drm/i915/intel_ddi.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index 7f618cf..2679c9e 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -2389,6 +2389,12 @@ static void intel_ddi_post_disable(struct intel_encoder *intel_encoder)
intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF);
intel_edp_panel_vdd_on(intel_dp);
intel_edp_panel_off(intel_dp);
+
+ /* Give additional delay of 250 ms so that resume time will
+ be faster and also meets T12 delay.
+ */
+ wait_remaining_ms_from_jiffies(intel_dp->last_power_cycle,
+ (intel_dp->panel_power_cycle_delay/2));
}
if (IS_SKYLAKE(dev) || IS_KABYLAKE(dev))
--
1.9.1
More information about the Intel-gfx
mailing list