Re: [PATCH] fbcon: fix locking harder

From
Josh Boyer <hidden>
Date
2013-01-25 14:08:11
Also in
lkml
Reply to
Dave Airlie, 2013-01-25
On Thu, Jan 24, 2013 at 8:43 PM, Dave Airlie [off-list ref] wrote:
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.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Linus might not be taking this for 3.8 because of lack of testing, but
that doesn't mean the problems don't exist in 3.8 (and older).  Maybe
throw a CC for stable on the patch?  That way it works its way back when
it does get merged.

josh
Thread (3 messages) 3 messages, 3 authors, last reply 2013-01-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help