Re: [Intel-gfx] [RFC] drm/i915: _wait_for might be called when irq is off

2015-04-02 Thread Chris Wilson
On Thu, Apr 02, 2015 at 07:21:40PM +0530, deepa...@linux.intel.com wrote: > From: Deepak S > > Sometimes, i915 might call _wait_for when irq is disabled. > If the cpu is the main cpu to process jiffies, jiffies > wouldn't be increased as this cpu disables irq. Then, > time_after(jiffies, timeout_

[Intel-gfx] [RFC] drm/i915: _wait_for might be called when irq is off

2015-04-02 Thread deepak . s
From: Deepak S Sometimes, i915 might call _wait_for when irq is disabled. If the cpu is the main cpu to process jiffies, jiffies wouldn't be increased as this cpu disables irq. Then, time_after(jiffies, timeout__) becomes meaningless. If gunit doesn't work now, kernel wouldn't exit as the timeout