]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/ast: do not attempt to acquire a reservation while in an interrupt handler
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Thu, 27 Jun 2013 11:38:26 +0000 (13:38 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2013 01:56:39 +0000 (11:56 +1000)
commit8ade2b8281d58a8336a1742a44ceffd9d07d6629
treef0c024054d8ef54ba42a49a101ccddf469436d16
parenta06b9a74c73750835b8fd69fe0d0bd7877da111b
drm/ast: do not attempt to acquire a reservation while in an interrupt handler

Mutexes should not be acquired in interrupt context. While the trylock
fastpath is arguably safe on all implementations, the slowpath
unlock path definitely isn't.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_fb.c