2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/video/omap
Krzysztof Helt 537a1bf059 fbdev: add mutex for fb_mmap locking
Add a mutex to avoid a circular locking problem between the mm layer
semaphore and fbdev ioctl mutex through the fb_mmap() call.

Also, add mutex to all places where smem_start and smem_len fields change
so the mutex inside the fb_mmap() is actually used.  Changing of these
fields before calling the framebuffer_register() are not mutexed.

This is 2.6.31 material.  It removes one lockdep (fb_mmap() and
register_framebuffer()) but there is still another one (fb_release() and
register_framebuffer()).  It also cleans up handling of the smem_start and
smem_len fields used by mutexed section of the fb_mmap().

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-30 18:56:00 -07:00
..
blizzard.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
dispc.c ARM: OMAP2/3: Change omapfb to use clkdev for dispc and rfbi, v2 2009-05-16 08:28:17 -07:00
dispc.h [ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it be static?" 2008-09-05 17:02:34 +01:00
hwa742.c ARM: OMAP1: Make 770 LCD work 2009-05-28 14:03:31 -07:00
Kconfig fb menu: fix FB_OMAP dependencies so that menu is displayed correctly 2007-10-30 08:06:55 -07:00
lcd_h3.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
lcd_h4.c [ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it be static?" 2008-09-05 17:02:34 +01:00
lcd_inn1510.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
lcd_inn1610.c omap drivers: switch to standard GPIO calls 2008-10-16 11:21:40 -07:00
lcd_osk.c omap drivers: switch to standard GPIO calls 2008-10-16 11:21:40 -07:00
lcd_palmte.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
lcd_palmtt.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
lcd_palmz71.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
lcdc.c [ARM] omap: ensure OMAP drivers pass a struct device to clk_get() 2009-01-24 11:41:16 +00:00
lcdc.h [ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it be static?" 2008-09-05 17:02:34 +01:00
Makefile ARM: OMAP: Remove broken LCD driver for SX1 2008-11-24 18:11:16 -08:00
omapfb_main.c fbdev: add mutex for fb_mmap locking 2009-06-30 18:56:00 -07:00
rfbi.c ARM: OMAP2/3: Change omapfb to use clkdev for dispc and rfbi, v2 2009-05-16 08:28:17 -07:00
sossi.c [ARM] omap: convert OMAP drivers to use ioremap() 2008-09-05 17:02:30 +01:00