[PATCH 2/2] drm/i915/dp: Set panel power cycle delay to 500ms instead of current 400ms

Manasi Navare manasi.d.navare at intel.com
Tue Jun 20 00:31:33 UTC 2017


Signed-off-by: Manasi Navare <manasi.d.navare at intel.com>
---
 drivers/gpu/drm/i915/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 22f7014..d23b03d 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -5345,7 +5345,7 @@ intel_dp_init_panel_power_sequencer_registers(struct drm_device *dev,
 				<< BXT_POWER_CYCLE_DELAY_SHIFT);
 	} else {
 		pp_div = ((100 * div)/2 - 1) << PP_REFERENCE_DIVIDER_SHIFT;
-		pp_div |= (DIV_ROUND_UP(seq->t11_t12, 1000)
+		pp_div |= (DIV_ROUND_UP((seq->t11_t12 + 1), 1000)
 				<< PANEL_POWER_CYCLE_DELAY_SHIFT);
 	}
 
-- 
2.1.4



More information about the Intel-gfx-trybot mailing list