[Intel-gfx] [RFC] drm/i915: Check if we hold a wakeref during ioread32/iowrite32

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 23 14:55:39 UTC 2016


On Tue, Feb 23, 2016 at 04:47:17PM +0200, Imre Deak wrote:
> The device needs to be in D0 state whenever we call these functions, so
> add the corresponding assert checks.

No. In quite a few of those cases we are calling iowrite to non-device
memory, even normal pages.

How's the separation of struct_mutex from rpm going so that we can forgo
adding assertions and use explicit power management instead?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list