Re: [Intel-gfx] [PATCH 5/8] drm: trylock modest locking for fbdev panics

2014-07-30 Thread Matt Roper
On Tue, Jul 29, 2014 at 11:32:20PM +0200, Daniel Vetter wrote: In the fbdev code we want to do trylocks only to avoid deadlocks and other ugly issues. Thus far we've only grabbed the overall modeset lock, but that already failed to exclude a pile of potential concurrent operations. With proper

Re: [Intel-gfx] [PATCH 5/8] drm: trylock modest locking for fbdev panics

2014-07-30 Thread Daniel Vetter
On Wed, Jul 30, 2014 at 08:56:07AM -0700, Matt Roper wrote: On Tue, Jul 29, 2014 at 11:32:20PM +0200, Daniel Vetter wrote: In the fbdev code we want to do trylocks only to avoid deadlocks and other ugly issues. Thus far we've only grabbed the overall modeset lock, but that already failed to

[Intel-gfx] [PATCH 5/8] drm: trylock modest locking for fbdev panics

2014-07-29 Thread Daniel Vetter
In the fbdev code we want to do trylocks only to avoid deadlocks and other ugly issues. Thus far we've only grabbed the overall modeset lock, but that already failed to exclude a pile of potential concurrent operations. With proper atomic support this will be worse. So add a trylock mode to the