diff options
author | Keith Packard <keithp@keithp.com> | 2009-06-28 18:42:17 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-07-01 21:13:34 -0400 |
commit | 1ae8c0a56eeb3ed358b78ccadd024d6b721f26bc (patch) | |
tree | cdcc00e23f1c1fb5ba2ef1d21ef846d17d3286fc /drivers/gpu/drm/i915/intel_lvds.c | |
parent | 956dba3caaf66b84fe5f6180e0e4dd03902c7980 (diff) |
drm/i915: Make driver less chatty
Convert many printk calls to DRM_DEBUG calls to reduce kernel log noise
for normal activities. Switch other printk calls to DRM_ERROR or DRM_INFO.
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lvds.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lvds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index 9564ca44a977..f65044b1647b 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c | |||
@@ -252,14 +252,14 @@ static bool intel_lvds_mode_fixup(struct drm_encoder *encoder, | |||
252 | 252 | ||
253 | /* Should never happen!! */ | 253 | /* Should never happen!! */ |
254 | if (!IS_I965G(dev) && intel_crtc->pipe == 0) { | 254 | if (!IS_I965G(dev) && intel_crtc->pipe == 0) { |
255 | printk(KERN_ERR "Can't support LVDS on pipe A\n"); | 255 | DRM_ERROR("Can't support LVDS on pipe A\n"); |
256 | return false; | 256 | return false; |
257 | } | 257 | } |
258 | 258 | ||
259 | /* Should never happen!! */ | 259 | /* Should never happen!! */ |
260 | list_for_each_entry(tmp_encoder, &dev->mode_config.encoder_list, head) { | 260 | list_for_each_entry(tmp_encoder, &dev->mode_config.encoder_list, head) { |
261 | if (tmp_encoder != encoder && tmp_encoder->crtc == encoder->crtc) { | 261 | if (tmp_encoder != encoder && tmp_encoder->crtc == encoder->crtc) { |
262 | printk(KERN_ERR "Can't enable LVDS and another " | 262 | DRM_ERROR("Can't enable LVDS and another " |
263 | "encoder on the same pipe\n"); | 263 | "encoder on the same pipe\n"); |
264 | return false; | 264 | return false; |
265 | } | 265 | } |