[Intel-gfx] [PATCH] drm/i915/dp: wait for previous AUX channel activity to clear

Keith Packard keithp at keithp.com
Mon Aug 1 23:42:25 CEST 2011


On Mon,  1 Aug 2011 14:14:35 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> +	for (try = 0; try < 3; try++) {
> +		status = I915_READ(ch_ctl);
> +		if ((status & DP_AUX_CH_CTL_SEND_BUSY) == 0)
> +			break;
> +		msleep(1);
> +	}
> +
> +	if (try == 10) {

10 != 3

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110801/8b6d2d12/attachment.sig>


More information about the Intel-gfx mailing list