Re: [AD] fbcon VT switch problem |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 2005-12-28 at 00:11 +1100, Peter Wang wrote:
> There was a problem with the fbcon driver and VT switching. If the
> vsync implementation was emulated using `retrace_count' then it would
> hang when trying to restore the video mode after a VT switch because
> timer "interrupts" are disabled during that time.
>
> I have committed the following patch.
Hm, I can't say I understand how VT switching affects the timer thread..
but in any case, wouldn't it be safer to put the check for in_fb_restore
inside the busy loop, not before it?
--
Elias Pschernig