Re: [Intel-gfx] [PATCH] drm/i915: Clear PIPE.STAT before IIR on VLV/CHV

2015-10-13 Thread Jani Nikula
On Tue, 01 Sep 2015, Imre Deak wrote: > On pe, 2015-08-14 at 18:24 +0100, Chris Wilson wrote: >> The PIPE.STAT register contains some interrupt status bits per pipe, and >> if assert cause the corresponding bit in the IIR to be asserted (thus >> raising an interrupt). When handling an interrupt, w

Re: [Intel-gfx] [PATCH] drm/i915: Clear PIPE.STAT before IIR on VLV/CHV

2015-09-01 Thread Imre Deak
On pe, 2015-08-14 at 18:24 +0100, Chris Wilson wrote: > The PIPE.STAT register contains some interrupt status bits per pipe, and > if assert cause the corresponding bit in the IIR to be asserted (thus > raising an interrupt). When handling an interrupt, we should clear the > PIPE.STAT generator fir

Re: [Intel-gfx] [PATCH] drm/i915: Clear PIPE.STAT before IIR on VLV/CHV

2015-08-26 Thread Daniel Vetter
On Fri, Aug 14, 2015 at 06:24:32PM +0100, Chris Wilson wrote: > The PIPE.STAT register contains some interrupt status bits per pipe, and > if assert cause the corresponding bit in the IIR to be asserted (thus > raising an interrupt). When handling an interrupt, we should clear the > PIPE.STAT gener

[Intel-gfx] [PATCH] drm/i915: Clear PIPE.STAT before IIR on VLV/CHV

2015-08-14 Thread Chris Wilson
The PIPE.STAT register contains some interrupt status bits per pipe, and if assert cause the corresponding bit in the IIR to be asserted (thus raising an interrupt). When handling an interrupt, we should clear the PIPE.STAT generator first before clearing the IIR so that we do not miss events or ca