diff options
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 14 |
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 | ||