Re: [Intel-gfx] [PATCH 2/2] drm/i915: Simplify interrupt processing for IvyBridge

2012-05-10 Thread Daniel Vetter
On Wed, May 09, 2012 at 09:45:44PM +0100, Chris Wilson wrote: > We can take advantage that the PCH_IIR is a subordinate register to > reduce one of the required IIR reads, and that we only need to clear > interrupts handled to reduce the writes. And by simply tidying the code > we can reduce the li

[Intel-gfx] [PATCH 2/2] drm/i915: Simplify interrupt processing for IvyBridge

2012-05-09 Thread Chris Wilson
We can take advantage that the PCH_IIR is a subordinate register to reduce one of the required IIR reads, and that we only need to clear interrupts handled to reduce the writes. And by simply tidying the code we can reduce the line count and hopefully make it more readable. v2: Split out the bugfi