android_kernel_google_msm/drivers/gpu/vga
Dave Airlie 726cc91ed2 fbcon: fix locking harder
commit 054430e773 upstream.

Okay so Alan's patch handled the case where there was no registered fbcon,
however the other path entered in set_con2fb_map pit.

In there we called fbcon_takeover, but we also took the console lock in a couple
of places. So push the console lock out to the callers of set_con2fb_map,

this means fbmem and switcheroo needed to take the lock around the fb notifier
entry points that lead to this.

This should fix the efifb regression seen by Maarten.

Tested-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Tested-by: Lu Hua <huax.lu@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-25 21:19:56 -07:00
..
Kconfig
Makefile
vga_switcheroo.c fbcon: fix locking harder 2013-04-25 21:19:56 -07:00
vgaarb.c drivers/gpu/vga/vgaarb.c: add missing kfree 2011-11-22 20:21:10 +00:00