]> git.baikalelectronics.ru Git - kernel.git/commit
drm: i810/i830: fix locked ioctl variant
authorArnd Bergmann <arnd@arndb.de>
Wed, 29 Sep 2010 15:47:58 +0000 (17:47 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 30 Sep 2010 02:45:09 +0000 (12:45 +1000)
commitdc6c7c64de8eb53ce38ff79ac16918ab96e68b5c
treec08b7977b210bfd2974b5ce94f47c2d0854a11b9
parent6aee28ac54f7efc8a549399dfcacda82c581a50c
drm: i810/i830: fix locked ioctl variant

The i810 and i830 device drivers may replace their file operations
on an open file descriptor. My previous patch to move the BKL
out of the common DRM code into these drivers only caught the
default file operations, not the ones that actually end up being
used.

Found while trying to come up with a way to kill the BKL for
good in these drivers.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i810/i810_dma.c
drivers/gpu/drm/i830/i830_dma.c