staging: drm/omap: avoid aquiring mutex in atomic context (v2)
commitaf69592aa098ff8cd640e8109ba946db3c1cdb4e
authorRob Clark <rob@ti.com>
Fri, 16 Dec 2011 17:34:34 +0000 (16 11:34 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Dec 2011 18:59:25 +0000 (16 10:59 -0800)
treecdabc9ba67eba37319e7026a4626bb3e962a9d51
parent510d4d32f25f49dedd7da88c29fdb4d0aada5815
staging: drm/omap: avoid aquiring mutex in atomic context (v2)

omap_gem_roll() could be called by fbcon in atomic context or when
struct_mutext is held.  Avoid aquiring mutex (deadlock), or calling
tiler_pin() (which itself is not safe for atomic context) in these
cases.

Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/omapdrm/omap_gem.c