aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-10-10 16:33:34 -0400
committerKeith Packard <keithp@keithp.com>2011-10-28 13:01:59 -0400
commit828204903945002be837d938401e242978b7b505 (patch)
treef1eba81bfbba6d538f3b998990858c4f4019c6a3
parent80a2901d2a59946d098c4479d650d0c3c82c3d85 (diff)
drm/i915: intel_choose_pipe_bpp_dither messages should be DRM_DEBUG_KMS
Shouldn't hide these behind _DRIVER, they're all KMS-related. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index b75bd93cf59b..9fa342e89454 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -4711,7 +4711,7 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
4711 lvds_bpc = 6; 4711 lvds_bpc = 6;
4712 4712
4713 if (lvds_bpc < display_bpc) { 4713 if (lvds_bpc < display_bpc) {
4714 DRM_DEBUG_DRIVER("clamping display bpc (was %d) to LVDS (%d)\n", display_bpc, lvds_bpc); 4714 DRM_DEBUG_KMS("clamping display bpc (was %d) to LVDS (%d)\n", display_bpc, lvds_bpc);
4715 display_bpc = lvds_bpc; 4715 display_bpc = lvds_bpc;
4716 } 4716 }
4717 continue; 4717 continue;
@@ -4722,7 +4722,7 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
4722 unsigned int edp_bpc = dev_priv->edp.bpp / 3; 4722 unsigned int edp_bpc = dev_priv->edp.bpp / 3;
4723 4723
4724 if (edp_bpc < display_bpc) { 4724 if (edp_bpc < display_bpc) {
4725 DRM_DEBUG_DRIVER("clamping display bpc (was %d) to eDP (%d)\n", display_bpc, edp_bpc); 4725 DRM_DEBUG_KMS("clamping display bpc (was %d) to eDP (%d)\n", display_bpc, edp_bpc);
4726 display_bpc = edp_bpc; 4726 display_bpc = edp_bpc;
4727 } 4727 }
4728 continue; 4728 continue;
@@ -4737,7 +4737,7 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
4737 /* Don't use an invalid EDID bpc value */ 4737 /* Don't use an invalid EDID bpc value */
4738 if (connector->display_info.bpc && 4738 if (connector->display_info.bpc &&
4739 connector->display_info.bpc < display_bpc) { 4739 connector->display_info.bpc < display_bpc) {
4740 DRM_DEBUG_DRIVER("clamping display bpc (was %d) to EDID reported max of %d\n", display_bpc, connector->display_info.bpc); 4740 DRM_DEBUG_KMS("clamping display bpc (was %d) to EDID reported max of %d\n", display_bpc, connector->display_info.bpc);
4741 display_bpc = connector->display_info.bpc; 4741 display_bpc = connector->display_info.bpc;
4742 } 4742 }
4743 } 4743 }
@@ -4748,10 +4748,10 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
4748 */ 4748 */
4749 if (intel_encoder->type == INTEL_OUTPUT_HDMI) { 4749 if (intel_encoder->type == INTEL_OUTPUT_HDMI) {
4750 if (display_bpc > 8 && display_bpc < 12) { 4750 if (display_bpc > 8 && display_bpc < 12) {
4751 DRM_DEBUG_DRIVER("forcing bpc to 12 for HDMI\n"); 4751 DRM_DEBUG_KMS("forcing bpc to 12 for HDMI\n");
4752 display_bpc = 12; 4752 display_bpc = 12;
4753 } else { 4753 } else {
4754 DRM_DEBUG_DRIVER("forcing bpc to 8 for HDMI\n"); 4754 DRM_DEBUG_KMS("forcing bpc to 8 for HDMI\n");
4755 display_bpc = 8; 4755 display_bpc = 8;
4756 } 4756 }
4757 } 4757 }
@@ -4789,8 +4789,8 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
4789 4789
4790 display_bpc = min(display_bpc, bpc); 4790 display_bpc = min(display_bpc, bpc);
4791 4791
4792 DRM_DEBUG_DRIVER("setting pipe bpc to %d (max display bpc %d)\n", 4792 DRM_DEBUG_KMS("setting pipe bpc to %d (max display bpc %d)\n",
4793 bpc, display_bpc); 4793 bpc, display_bpc);
4794 4794
4795 *pipe_bpp = display_bpc * 3; 4795 *pipe_bpp = display_bpc * 3;
4796 4796