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>
This commit is contained in:
parent
80a2901d2a
commit
8282049039
|
@ -4711,7 +4711,7 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
|
||||||
lvds_bpc = 6;
|
lvds_bpc = 6;
|
||||||
|
|
||||||
if (lvds_bpc < display_bpc) {
|
if (lvds_bpc < display_bpc) {
|
||||||
DRM_DEBUG_DRIVER("clamping display bpc (was %d) to LVDS (%d)\n", display_bpc, lvds_bpc);
|
DRM_DEBUG_KMS("clamping display bpc (was %d) to LVDS (%d)\n", display_bpc, lvds_bpc);
|
||||||
display_bpc = lvds_bpc;
|
display_bpc = lvds_bpc;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
@ -4722,7 +4722,7 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
|
||||||
unsigned int edp_bpc = dev_priv->edp.bpp / 3;
|
unsigned int edp_bpc = dev_priv->edp.bpp / 3;
|
||||||
|
|
||||||
if (edp_bpc < display_bpc) {
|
if (edp_bpc < display_bpc) {
|
||||||
DRM_DEBUG_DRIVER("clamping display bpc (was %d) to eDP (%d)\n", display_bpc, edp_bpc);
|
DRM_DEBUG_KMS("clamping display bpc (was %d) to eDP (%d)\n", display_bpc, edp_bpc);
|
||||||
display_bpc = edp_bpc;
|
display_bpc = edp_bpc;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
@ -4737,7 +4737,7 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
|
||||||
/* Don't use an invalid EDID bpc value */
|
/* Don't use an invalid EDID bpc value */
|
||||||
if (connector->display_info.bpc &&
|
if (connector->display_info.bpc &&
|
||||||
connector->display_info.bpc < display_bpc) {
|
connector->display_info.bpc < display_bpc) {
|
||||||
DRM_DEBUG_DRIVER("clamping display bpc (was %d) to EDID reported max of %d\n", display_bpc, connector->display_info.bpc);
|
DRM_DEBUG_KMS("clamping display bpc (was %d) to EDID reported max of %d\n", display_bpc, connector->display_info.bpc);
|
||||||
display_bpc = connector->display_info.bpc;
|
display_bpc = connector->display_info.bpc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4748,10 +4748,10 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
|
||||||
*/
|
*/
|
||||||
if (intel_encoder->type == INTEL_OUTPUT_HDMI) {
|
if (intel_encoder->type == INTEL_OUTPUT_HDMI) {
|
||||||
if (display_bpc > 8 && display_bpc < 12) {
|
if (display_bpc > 8 && display_bpc < 12) {
|
||||||
DRM_DEBUG_DRIVER("forcing bpc to 12 for HDMI\n");
|
DRM_DEBUG_KMS("forcing bpc to 12 for HDMI\n");
|
||||||
display_bpc = 12;
|
display_bpc = 12;
|
||||||
} else {
|
} else {
|
||||||
DRM_DEBUG_DRIVER("forcing bpc to 8 for HDMI\n");
|
DRM_DEBUG_KMS("forcing bpc to 8 for HDMI\n");
|
||||||
display_bpc = 8;
|
display_bpc = 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4789,8 +4789,8 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
|
||||||
|
|
||||||
display_bpc = min(display_bpc, bpc);
|
display_bpc = min(display_bpc, bpc);
|
||||||
|
|
||||||
DRM_DEBUG_DRIVER("setting pipe bpc to %d (max display bpc %d)\n",
|
DRM_DEBUG_KMS("setting pipe bpc to %d (max display bpc %d)\n",
|
||||||
bpc, display_bpc);
|
bpc, display_bpc);
|
||||||
|
|
||||||
*pipe_bpp = display_bpc * 3;
|
*pipe_bpp = display_bpc * 3;
|
||||||
|
|
||||||
|
|
Reference in New Issue