[Intel-gfx] [PATCH] drm/i915: avoid struct mutex output_poll mutex lock loop on unload

Keith Packard keithp at keithp.com
Mon Oct 4 19:46:19 CEST 2010


On Mon, 4 Oct 2010 20:13:33 +1000, Dave Airlie <airlied at gmail.com> wrote:

> We don't do dynamic connectors now, so adding locking with no way of
> actually really testing it would just mean you'd probably have just as
> much pain when you do add dyanamic connectors.

I looked in the radeon and nouveau drivers and both of them make this
call without holding any locks, and the call looked safe enough to me;
relying only on the fact that the work proc structure had been
initialized when the driver was first opened up.

-- 
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/20101004/b25e4aa3/attachment.sig>


More information about the Intel-gfx mailing list