[PATCH 2/2] drm/vmwgfx: Fix false lockdep warning

2013-11-15 Thread Thomas Hellstrom
On 11/15/2013 10:29 AM, Daniel Vetter wrote: > On Fri, Nov 15, 2013 at 12:24:32AM -0800, Thomas Hellstrom wrote: >> A lockdep warning is hit when evicting surfaces and reserving the backup >> buffer. Since this buffer can only be reserved by the process holding the >> surface reservation or by the

[PATCH 2/2] drm/vmwgfx: Fix false lockdep warning

2013-11-15 Thread Daniel Vetter
On Fri, Nov 15, 2013 at 12:24:32AM -0800, Thomas Hellstrom wrote: > A lockdep warning is hit when evicting surfaces and reserving the backup > buffer. Since this buffer can only be reserved by the process holding the > surface reservation or by the buffer eviction processes that use tryreserve, > t

[PATCH 2/2] drm/vmwgfx: Fix false lockdep warning

2013-11-15 Thread Thomas Hellstrom
A lockdep warning is hit when evicting surfaces and reserving the backup buffer. Since this buffer can only be reserved by the process holding the surface reservation or by the buffer eviction processes that use tryreserve, there is no real deadlock here, but there's no other way to silence lockdep