[Intel-gfx] [PATCH 4/4] drm/i915: use gmbus irq to wait for gmbus idle

2012-09-06 Thread Daniel Vetter
GMBUS_ACTIVE has inverted sense and so doesn't fit into the wait_hw_status helper, hence create a new gmbus_wait_idle functions. Also, we only care about the idle irq event and nothing else, which allows us to use the wait_event_timeout helper directly without jumping through hoops to catch NAKs.

Re: [Intel-gfx] [PATCH 4/4] drm/i915: use gmbus irq to wait for gmbus idle

2012-09-06 Thread Chris Wilson
On Thu, 6 Sep 2012 09:10:02 +0200, Daniel Vetter daniel.vet...@ffwll.ch wrote: GMBUS_ACTIVE has inverted sense and so doesn't fit into the wait_hw_status helper, hence create a new gmbus_wait_idle functions. Also, we only care about the idle irq event and nothing else, which allows us to use