projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bad145
)
drm/fb: use printk to print out the switching to text mode error.
author
Dave Airlie
<airlied@redhat.com>
Mon, 7 Jun 2010 02:14:54 +0000
(12:14 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 7 Jun 2010 23:33:27 +0000
(09:33 +1000)
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: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_fb_helper.c
b/drivers/gpu/drm/drm_fb_helper.c
index b3779d243aefc30f48768c67c2f5a261dd825ce2..08c4c926e65f58e1b28fabcb1bb30c3ac183f7b5 100644
(file)
--- a/
drivers/gpu/drm/drm_fb_helper.c
+++ b/
drivers/gpu/drm/drm_fb_helper.c
@@
-264,7
+264,7
@@
bool drm_fb_helper_force_kernel_mode(void)
int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
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 0;
}