[Intel-gfx] force wake reference counting (another try)

Keith Packard keithp at keithp.com
Tue Apr 12 18:56:03 CEST 2011


On Tue, 12 Apr 2011 09:30:22 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:

> I am going to spend at least a day tracking down, and hopefully fixing
> warnings if you agree with my next statement that it is in fact a
> problem. My hope is there aren't too many cases.

I can't see how we can survive without using exactly one lock covering
the wake locks on SNB. Has someone tried sticking a simple spinlock
around the whole sequence (force_wake_get, op, force_wake_put)?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110412/1b1dbdff/attachment.sig>


More information about the Intel-gfx mailing list