diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-07-20 01:48:05 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-04 00:02:39 -0400 |
commit | f940f37f022f7392ab81a35516222cbd46110b42 (patch) | |
tree | 1dac5677cee83eb6f9cf38bf6b8f0419c5df01e4 /drivers/gpu/drm/drm_modes.c | |
parent | 8a4c47f346cc7a12d0897c05eb3cc1add26b487f (diff) |
drm: Remove the macro defintion of DRM_DEBUG_MODE
Two macro definitions of DRM_DEBUG_KMS/MODE can be used to add the debug
info related with KMS. It is confusing.
So remove the macro definition of DRM_DEBUG_MODE. Instead it can be replaced
by the DRM_DEBUG_KMS.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
-rw-r--r-- | drivers/gpu/drm/drm_modes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 5eca2d5c5f2..6b4d2dc3cdd 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c | |||
@@ -52,7 +52,7 @@ | |||
52 | */ | 52 | */ |
53 | void drm_mode_debug_printmodeline(struct drm_display_mode *mode) | 53 | void drm_mode_debug_printmodeline(struct drm_display_mode *mode) |
54 | { | 54 | { |
55 | DRM_DEBUG_MODE("Modeline %d:\"%s\" %d %d %d %d %d %d %d %d %d %d " | 55 | DRM_DEBUG_KMS("Modeline %d:\"%s\" %d %d %d %d %d %d %d %d %d %d " |
56 | "0x%x 0x%x\n", | 56 | "0x%x 0x%x\n", |
57 | mode->base.id, mode->name, mode->vrefresh, mode->clock, | 57 | mode->base.id, mode->name, mode->vrefresh, mode->clock, |
58 | mode->hdisplay, mode->hsync_start, | 58 | mode->hdisplay, mode->hsync_start, |
@@ -818,7 +818,7 @@ void drm_mode_prune_invalid(struct drm_device *dev, | |||
818 | list_del(&mode->head); | 818 | list_del(&mode->head); |
819 | if (verbose) { | 819 | if (verbose) { |
820 | drm_mode_debug_printmodeline(mode); | 820 | drm_mode_debug_printmodeline(mode); |
821 | DRM_DEBUG_MODE("Not using %s mode %d\n", | 821 | DRM_DEBUG_KMS("Not using %s mode %d\n", |
822 | mode->name, mode->status); | 822 | mode->name, mode->status); |
823 | } | 823 | } |
824 | drm_mode_destroy(dev, mode); | 824 | drm_mode_destroy(dev, mode); |