[Intel-gfx] [PATCH 2/3] drm/i915: reference counted forcewake
Keith Packard
keithp at keithp.com
Tue Apr 19 17:12:16 CEST 2011
On Mon, 18 Apr 2011 10:31:43 -0700, Ben Widawsky <ben at 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.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/20110419/1c241f06/attachment.sig>
More information about the Intel-gfx
mailing list