[PATCH 29/50] drm/irq: simplify irq checks in drm_wait_vblank

2013-12-12 Thread Daniel Vetter
On Thu, Dec 12, 2013 at 12:29 PM, Thierry Reding wrote: > On Wed, Dec 11, 2013 at 11:34:50AM +0100, Daniel Vetter wrote: >> Checking for both an irq number _and_ whether it's enabled is >> redundant. Also this will breakd drivers which do their own irq >> management and just set dev->irq_enabled o

[PATCH 29/50] drm/irq: simplify irq checks in drm_wait_vblank

2013-12-12 Thread Thierry Reding
On Wed, Dec 11, 2013 at 11:34:50AM +0100, Daniel Vetter wrote: > Checking for both an irq number _and_ whether it's enabled is > redundant. Also this will breakd drivers which do their own irq > management and just set dev->irq_enabled once the irq stuff is all set > up. I don't think it'll break

[PATCH 29/50] drm/irq: simplify irq checks in drm_wait_vblank

2013-12-11 Thread Daniel Vetter
Checking for both an irq number _and_ whether it's enabled is redundant. Also this will breakd drivers which do their own irq management and just set dev->irq_enabled once the irq stuff is all set up. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_irq.c | 2 +- 1 file changed, 1 insertion(