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

Keith Packard keithp at keithp.com
Mon Aug 1 22:53:59 CEST 2011


On Mon,  1 Aug 2011 13:03:33 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> +		udelay(100);

udelay isn't my favorite function to use while waiting for hardware to
clean up. Do we expect to get into this path regularly? Is it just when
hardware is broken? How many times around this loop do we go before
things work?

If we only occasionally enter this loop, and if we end up going around
several times, it seems like using msleep would be nicer to the system.

-- 
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/c5050a03/attachment.sig>


More information about the Intel-gfx mailing list