Re: [Intel-gfx] [PATCH 06/20] drm/i915: properly clear IIR at irq_uninstall on Gen5+

2014-03-18 Thread Ben Widawsky
On Fri, Mar 07, 2014 at 08:10:22PM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > The IRQ_INIT and IRQ_FINI macros are basically the same thing, with > the exception that IRQ_FINI doesn't properly clear IIR twice and > doesn't have as many POSTING_READs as IRQ_INIT. So rename the macro to >

Re: [Intel-gfx] [PATCH 06/20] drm/i915: properly clear IIR at irq_uninstall on Gen5+

2014-03-11 Thread Chris Wilson
On Fri, Mar 07, 2014 at 08:10:22PM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > The IRQ_INIT and IRQ_FINI macros are basically the same thing, with > the exception that IRQ_FINI doesn't properly clear IIR twice and > doesn't have as many POSTING_READs as IRQ_INIT. So rename the macro to >

[Intel-gfx] [PATCH 06/20] drm/i915: properly clear IIR at irq_uninstall on Gen5+

2014-03-07 Thread Paulo Zanoni
From: Paulo Zanoni The IRQ_INIT and IRQ_FINI macros are basically the same thing, with the exception that IRQ_FINI doesn't properly clear IIR twice and doesn't have as many POSTING_READs as IRQ_INIT. So rename the macro to IRQ_RESET and use it everywhere. Signed-off-by: Paulo Zanoni --- driver