Dave Airlie
32b98bf875
fbcon: fix situation where fbcon gets deinitialised and can't reinit.
...
Situation as follow:
2 GPUs + vesafb + kms.
GPU 1 is primary, vesafb binds to it as fb0
radeon loads
GPU 0 loads as fb1
GPU 1 loads, vesafb gets kicked off which causes fb0 to unbind
console, which causes the dummy console to rebind.
this means fbcon_deinit gets called, which calls fbcon_exit
since the console isn't bound anymore and we set fbcon_has_exited.
GPU 1 creates a new fb0 which is primary and we want to be console.
fbcon_fb_registered gets called sets the primary up and calls set_con2fb_map,
however as fbcon_has_exited is set nothing further ever happens.
This patch bypasses the fbcon_has_exited and checks if the console is unbound,
if its unbound it calls the fbcon_takeover which calls the vt layer to
call the fbcon_startup method and everthing works.
Signed-off-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2011-03-22 17:22:19 +09:00
..
2011-03-22 16:31:59 +09:00
2011-03-04 17:53:38 -08:00
2011-03-22 17:22:19 +09:00
2010-03-30 22:02:32 +09:00
2011-01-26 10:50:06 +10:00
2011-01-26 10:50:06 +10:00
2011-03-17 14:05:35 +01:00
2009-06-16 19:47:57 -07:00
2011-03-21 15:50:30 -07:00
2011-02-28 13:22:45 -07:00
2010-10-15 15:53:27 +02:00
2011-03-08 11:54:46 -08:00
2011-01-26 10:50:06 +10:00
2011-03-22 15:13:35 +09:00
2011-03-18 09:31:03 +05:30
2010-03-30 22:02:32 +09:00
2010-12-22 18:57:02 +01:00
2011-01-26 10:50:06 +10:00
2011-03-22 15:21:01 +09:00
2011-03-22 15:13:38 +09:00
2011-03-12 21:54:56 +00:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2011-02-23 16:24:14 +00:00
2010-05-17 21:37:43 +02:00
2010-10-18 11:03:14 +02:00
2011-03-22 15:47:55 +09:00
2010-03-30 22:02:32 +09:00
2010-10-22 09:43:25 +02:00
2011-03-22 16:23:47 +09:00
2010-07-26 19:08:15 +01:00
2010-10-26 16:52:12 -07:00
2010-08-09 11:25:17 +02:00
2011-01-25 15:09:24 +09:00
2010-11-26 15:06:39 +09:00
2010-11-26 15:06:39 +09:00
2010-05-25 08:07:08 -07:00
2010-08-09 11:25:17 +02:00
2010-03-12 15:52:34 -08:00
2011-02-28 13:22:45 -07:00
2011-01-06 15:46:56 +09:00
2010-03-30 22:02:32 +09:00
2009-05-06 16:36:10 -07:00
2011-02-28 13:22:45 -07:00
2011-03-22 16:35:44 +09:00
2011-03-22 16:35:44 +09:00
2011-01-26 10:50:06 +10:00
2010-05-17 21:37:41 +02:00
2009-12-16 07:20:04 -08:00
2010-05-03 15:42:58 +02:00
2010-08-01 01:42:42 -06:00
2011-02-11 10:16:07 +00:00
2011-02-11 10:16:07 +00:00
2011-01-26 10:50:06 +10:00
2010-03-30 22:02:32 +09:00
2011-03-22 16:45:03 +09:00
2010-09-22 17:22:39 -07:00
2011-01-11 12:26:58 +00:00
2010-10-18 11:03:14 +02:00
2010-03-30 22:02:32 +09:00
2010-12-15 10:56:11 +01:00
2009-05-06 16:36:10 -07:00
2011-03-17 09:19:20 +08:00
2010-11-26 15:05:08 +09:00
2010-10-18 11:03:14 +02:00
2011-01-26 10:50:06 +10:00
2010-11-15 14:52:23 +09:00
2011-01-26 10:50:06 +10:00
2011-03-22 16:18:51 +09:00
2010-05-17 21:37:41 +02:00
2011-02-28 13:22:45 -07:00
2010-03-30 22:02:32 +09:00
2010-10-27 18:03:08 -07:00
2011-03-22 16:34:28 +09:00
2011-01-06 15:48:13 +09:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:32 +09:00
2010-08-11 08:59:12 -07:00
2010-03-30 22:02:32 +09:00
2011-01-12 15:06:59 +09:00
2011-01-26 10:50:06 +10:00
2011-03-17 19:08:06 -07:00
2011-02-28 13:22:45 -07:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2011-03-17 19:08:06 -07:00
2010-03-30 22:02:32 +09:00
2011-03-22 16:34:33 +09:00
2011-01-12 14:57:52 +09:00
2011-01-26 10:50:06 +10:00
2011-03-07 19:29:30 +01:00
2011-01-18 13:38:06 +09:00
2010-03-12 15:52:34 -08:00
2010-08-01 01:42:42 -06:00
2010-03-30 22:02:32 +09:00
2011-02-28 13:22:45 -07:00
2011-02-28 13:22:45 -07:00
2010-02-05 12:22:42 +01:00
2010-03-30 22:02:32 +09:00
2010-07-26 19:08:14 +01:00
2010-07-26 19:08:15 +01:00
2011-01-26 10:50:06 +10:00
2010-02-17 13:23:00 +09:00
2011-01-18 13:40:34 +09:00
2010-12-16 14:31:18 +08:00
2011-01-25 15:09:19 +09:00
2009-06-13 00:09:09 +08:00
2009-12-29 14:11:27 +08:00
2010-10-22 09:43:25 +02:00
2010-12-21 01:05:43 +09:00
2011-01-12 15:00:31 +09:00
2009-06-16 19:47:59 -07:00
2011-03-22 16:22:45 +09:00
2011-03-22 15:50:00 +09:00
2010-03-07 17:04:50 -08:00
2009-04-13 15:04:29 -07:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:35 +09:00
2011-01-05 17:22:32 +09:00
2011-01-26 10:50:06 +10:00
2011-03-22 16:08:48 +09:00
2011-03-16 17:27:10 +09:00
2009-04-13 15:04:29 -07:00
2011-03-22 17:17:14 +09:00
2010-11-01 15:38:34 -04:00
2009-12-04 15:39:55 +01:00
2010-04-05 11:37:28 +09:00
2011-02-28 13:22:45 -07:00
2010-03-30 22:02:32 +09:00
2011-03-22 15:47:22 +09:00
2010-03-30 22:02:32 +09:00
2009-05-06 16:36:10 -07:00
2011-03-22 16:35:44 +09:00
2010-08-05 13:25:38 +01:00
2010-06-16 18:05:05 +02:00
2011-01-26 10:50:06 +10:00
2010-03-30 22:02:32 +09:00
2011-01-10 16:04:53 -08:00
2011-03-22 16:20:44 +09:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00
2011-03-22 16:20:44 +09:00
2010-05-25 08:07:08 -07:00
2010-05-25 08:07:08 -07:00
2011-01-13 13:07:41 +09:00
2010-11-09 18:52:07 +09:00
2011-03-22 15:47:59 +09:00
2010-08-09 20:44:53 -07:00
2010-11-09 18:52:07 +09:00
2010-12-21 01:05:48 +09:00
2010-12-21 01:05:43 +09:00
2010-11-09 18:52:07 +09:00
2011-01-26 10:50:06 +10:00
2011-02-28 13:22:45 -07:00