VPG [BDW] drm/i915/bdw: DP aux channel control timeout change
Subsystems (2)
PATCH 1/1 VPG [BDW] drm/i915/bdw: DP aux channel control timeout change
changing DP AUX control timeout to 600 instead of 400 for BDW.
--- drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dp.c +1 -1
@@ -351,7 +351,7 @@ intel_dp_aux_ch(struct intel_dp *intel_dp, I915_WRITE(ch_ctl, DP_AUX_CH_CTL_SEND_BUSY | (has_aux_irq ? DP_AUX_CH_CTL_INTERRUPT : 0) | - DP_AUX_CH_CTL_TIME_OUT_400us | + DP_AUX_CH_CTL_TIME_OUT_600us | (send_bytes << DP_AUX_CH_CTL_MESSAGE_SIZE_SHIFT) | (precharge << DP_AUX_CH_CTL_PRECHARGE_2US_SHIFT) | (aux_clock_divider << DP_AUX_CH_CTL_BIT_CLOCK_2X_SHIFT) |
Signature · 1 line
1.7.9.5
Quoted 1 line · kirankumar
changing DP AUX control timeout to 600 instead of 400 for BDW.
DP spec says 400 us, so a notch more context in the commit message would be appreciated. E.g. if this is used to work around dp aux failures, then the commit message _must_ mention this. I need this to asses in which branch to put the patch.
Also we still have occasional dp aux woes on older platforms. Do we need a similar timeout extension for those, too?
Remember people: The commit message must explain _why_ something needs to change. If you feel like you need to explain the what of your change, your code probably needs to be rewritten to be esier to understand.
Cheers, Daniel
Quoted 27 lines
Change-Id Id507ef35490e12bbd896492c9da24d0db367bf1aSigned-off-by kirankumar <[email protected]>--- drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_dp.c +1
-1@@ -351,7 +351,7 @@ intel_dp_aux_ch(struct intel_dp *intel_dp, I915_WRITE(ch_ctl, DP_AUX_CH_CTL_SEND_BUSY | (has_aux_irq ? DP_AUX_CH_CTL_INTERRUPT : 0) | - DP_AUX_CH_CTL_TIME_OUT_400us | + DP_AUX_CH_CTL_TIME_OUT_600us | (send_bytes << DP_AUX_CH_CTL_MESSAGE_SIZE_SHIFT) | (precharge << DP_AUX_CH_CTL_PRECHARGE_2US_SHIFT) | (aux_clock_divider << DP_AUX_CH_CTL_BIT_CLOCK_2X_SHIFT) |Signature · 6 lines
1.7.9.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch