diff options
author | Dave Airlie <airlied@gmail.com> | 2013-01-25 11:38:56 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-25 21:23:48 -0700 |
commit | 22fd0f0bb5e791b7cd5b5e0c7d4c2172c722844d (patch) | |
tree | 3fd530a384354dca12eacbbb89bb9f984906b7e6 /include | |
parent | 456edf57d7a6fe1b238ec708b19063d78cf4b250 (diff) | |
download | kernel_samsung_smdk4412-22fd0f0bb5e791b7cd5b5e0c7d4c2172c722844d.zip kernel_samsung_smdk4412-22fd0f0bb5e791b7cd5b5e0c7d4c2172c722844d.tar.gz kernel_samsung_smdk4412-22fd0f0bb5e791b7cd5b5e0c7d4c2172c722844d.tar.bz2 |
fbcon: fix locking harder
commit 054430e773c9a1e26f38e30156eff02dedfffc17 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions