[Intel-gfx] [PATCH] drm/i915/dp: wait for previous AUX channel activity to clear
Jesse Barnes
jbarnes at virtuousgeek.org
Tue Aug 2 00:00:13 CEST 2011
On Mon, 01 Aug 2011 14:42:25 -0700
Keith Packard <keithp at keithp.com> wrote:
> 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
Oh well that will make the backtrace silent, won't it...
--
Jesse Barnes, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list