On Mon, 18 Apr 2011 10:31:43 -0700, Ben Widawsky <b...@bwidawsk.net> wrote:

> gen6_gt_force_wake_get()
> while(foo)
>       i915_read32_awake()
> gen6_gt_force_wake_put()

Uh. Anything looping on registers might not want to hold the lock...

-- 
keith.pack...@intel.com

Attachment: pgpgKFMx6v8mp.pgp
Description: PGP signature

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to