Commit fc2362af authored by Dave Airlie's avatar Dave Airlie

drm/fb: use printk to print out the switching to text mode error.

using DRM_ERROR, results in people blaming the drm code for the oops, and
not looking at the oops.

(sadly yes I've gotten reports).
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 9bad145e
...@@ -264,7 +264,7 @@ bool drm_fb_helper_force_kernel_mode(void) ...@@ -264,7 +264,7 @@ bool drm_fb_helper_force_kernel_mode(void)
int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed, int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
void *panic_str) void *panic_str)
{ {
DRM_ERROR("panic occurred, switching back to text console\n"); printk(KERN_ERR "panic occurred, switching back to text console\n");
return drm_fb_helper_force_kernel_mode(); return drm_fb_helper_force_kernel_mode();
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment