summaryrefslogtreecommitdiff
path: root/tests/modedemo/demo.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-06-18 13:57:39 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-18 13:57:39 -0700
commit7010d500072977f63a0bac08f2141d69dbd19595 (patch)
tree60db58e7d12d0db75b19b730d670eee51ed7f0ee /tests/modedemo/demo.c
parentc987e76d953b6aecbfb69058fc4c387aa3fb33c9 (diff)
i915: switch back to fbcon on panic
Normally when X is running, panic messages will be invisible and the machine will just appear to hard hang. This patch adds support for switching back to the fbcon framebuffer on panic (through the use of a panic notifier registration) so we can see what happened. Note that in order to be really useful, X will have to run its VT in something other than KD_GRAPHICS mode. Also, not all kernel errors result in panics, some go through BUG() which may trigger another type of event, not resulting in a switch.
Diffstat (limited to 'tests/modedemo/demo.c')
0 files changed, 0 insertions, 0 deletions