[PATCH] fbcon: fix locking harder

2013-01-24 Thread Dave Airlie
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

[PATCH] vgacon/vt: clear buffer attributes when we load a 512 character font (v2)

2013-01-24 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com When we switch from 256-512 byte font rendering mode, it means the current contents of the screen is being reinterpreted. The bit that holds the high bit of the 9-bit font, may have been previously set, and thus the new font misrenders. The problem case we