]> git.baikalelectronics.ru Git - kernel.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)
commita18b838e4712c65f5a8fb597396930c9dcb2e2c8
treef0c024054d8ef54ba42a49a101ccddf469436d16
parent151b3ba13461b82483add18155818ae8405d3d1f
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