[Intel-gfx] [PATCH 4/4] drm/i915: Check unclaimed access per forcewake domain get/put

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 9 07:48:51 PST 2015


On Wed, Dec 09, 2015 at 05:01:41PM +0200, Mika Kuoppala wrote:
> We do unclaimed register access check in non mmio_debug mode
> once per write. This adds probability of finding the exact
> sequence where we did the bad access, but also adds burden
> to each write.
> 
> As we have mmio_debug available for more fine grained analysis,
> give up some accuracy for the benefit of performance in normal case.
> Do this by doing the unclaimed reg check only once when forcewake
> domains are get.

Still far too often in the normal case.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list