diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-10-08 23:39:41 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-05 17:47:11 -0500 |
commit | 28c97730c36e06d5ba0c442156eb2154347cc3fe (patch) | |
tree | 3c5dc547eae020bf602c27dc82c83d2e14610e21 /drivers/gpu/drm/i915/intel_fb.c | |
parent | 44d98a614267c81a04ba9c7a0427c3a628985b7d (diff) |
drm/i915: Replace DRM_DEBUG with DRM_DEBUG_KMS
Replace the DRM_DEBUG with DRM_DEBUG_KMS in output device code.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fb.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_fb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c index 2b0fe54cd92c..d4823cc87895 100644 --- a/drivers/gpu/drm/i915/intel_fb.c +++ b/drivers/gpu/drm/i915/intel_fb.c | |||
@@ -230,8 +230,9 @@ static int intelfb_create(struct drm_device *dev, uint32_t fb_width, | |||
230 | par->intel_fb = intel_fb; | 230 | par->intel_fb = intel_fb; |
231 | 231 | ||
232 | /* To allow resizeing without swapping buffers */ | 232 | /* To allow resizeing without swapping buffers */ |
233 | DRM_DEBUG("allocated %dx%d fb: 0x%08x, bo %p\n", intel_fb->base.width, | 233 | DRM_DEBUG_KMS("allocated %dx%d fb: 0x%08x, bo %p\n", |
234 | intel_fb->base.height, obj_priv->gtt_offset, fbo); | 234 | intel_fb->base.width, intel_fb->base.height, |
235 | obj_priv->gtt_offset, fbo); | ||
235 | 236 | ||
236 | mutex_unlock(&dev->struct_mutex); | 237 | mutex_unlock(&dev->struct_mutex); |
237 | return 0; | 238 | return 0; |
@@ -249,7 +250,7 @@ int intelfb_probe(struct drm_device *dev) | |||
249 | { | 250 | { |
250 | int ret; | 251 | int ret; |
251 | 252 | ||
252 | DRM_DEBUG("\n"); | 253 | DRM_DEBUG_KMS("\n"); |
253 | ret = drm_fb_helper_single_fb_probe(dev, 32, intelfb_create); | 254 | ret = drm_fb_helper_single_fb_probe(dev, 32, intelfb_create); |
254 | return ret; | 255 | return ret; |
255 | } | 256 | } |