Skip to content
Commit 054430e7 authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

fbcon: fix locking harder



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: default avatarMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tested-by: default avatarLu Hua <huax.lu@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e93a9a86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment