diff options
author | Dave Airlie <airlied@redhat.com> | 2010-06-06 22:14:54 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-06-07 19:33:27 -0400 |
commit | fc2362afd5ab9456caab4de317da796cc88944fe (patch) | |
tree | becc3dd58408b56cc284ca73d7fc220632feecff /drivers/gpu | |
parent | 9bad145ee2ef43ac36d397190a7d8b1a7306d3fb (diff) |
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: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index b3779d243aef..08c4c926e65f 100644 --- 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) | |||
264 | int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed, | 264 | int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed, |
265 | void *panic_str) | 265 | void *panic_str) |
266 | { | 266 | { |
267 | DRM_ERROR("panic occurred, switching back to text console\n"); | 267 | printk(KERN_ERR "panic occurred, switching back to text console\n"); |
268 | return drm_fb_helper_force_kernel_mode(); | 268 | return drm_fb_helper_force_kernel_mode(); |
269 | return 0; | 269 | return 0; |
270 | } | 270 | } |