[Nouveau] [PATCH] drm/nouveau: fix locking in nouveau_crtc_page_flip

Dave Airlie airlied at gmail.com
Mon Jul 1 14:31:53 PDT 2013


On Mon, Jul 1, 2013 at 8:00 PM, Maarten Lankhorst
<maarten.lankhorst at canonical.com> wrote:
> This is a bit messed up because chan->cli->mutex is a different class,
> depending on whether it is the global drm client or not. This is
> because the global cli->mutex lock can be taken for eviction,
> so locking it before pinning the buffer objects may result in a deadlock.

conditional mutex locking made me free a bit ill,

Ben any cleaner way to do this? if not I'll merge this.

Dave.


More information about the Nouveau mailing list