Re: [Intel-gfx] [PATCH 4/5] drm/i915: reorganize the unclaimed register detection code

2014-07-15 Thread Rodrigo Vivi
On Mon, Jul 7, 2014 at 2:34 PM, Daniel Vetter wrote: > On Fri, Jul 04, 2014 at 11:50:32AM -0300, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > The current code only runs when we do an I915_WRITE operation. It > > checks if the unclaimed register flag is set before we do the > > operation, a

Re: [Intel-gfx] [PATCH 4/5] drm/i915: reorganize the unclaimed register detection code

2014-07-07 Thread Daniel Vetter
On Fri, Jul 04, 2014 at 11:50:32AM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > The current code only runs when we do an I915_WRITE operation. It > checks if the unclaimed register flag is set before we do the > operation, and then it checks it again after we do the operation. This > doubl

[Intel-gfx] [PATCH 4/5] drm/i915: reorganize the unclaimed register detection code

2014-07-04 Thread Paulo Zanoni
From: Paulo Zanoni The current code only runs when we do an I915_WRITE operation. It checks if the unclaimed register flag is set before we do the operation, and then it checks it again after we do the operation. This double check allows us to find out if the I915_WRITE operation in question is t