aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_display.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 88913a47cd34..a69a3d0d3acf 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3754,17 +3754,6 @@ static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
3754 continue; 3754 continue;
3755 } 3755 }
3756 3756
3757 if (intel_encoder->type == INTEL_OUTPUT_EDP) {
3758 /* Use VBT settings if we have an eDP panel */
3759 unsigned int edp_bpc = dev_priv->edp.bpp / 3;
3760
3761 if (edp_bpc < display_bpc) {
3762 DRM_DEBUG_KMS("clamping display bpc (was %d) to eDP (%d)\n", display_bpc, edp_bpc);
3763 display_bpc = edp_bpc;
3764 }
3765 continue;
3766 }
3767
3768 /* Not one of the known troublemakers, check the EDID */ 3757 /* Not one of the known troublemakers, check the EDID */
3769 list_for_each_entry(connector, &dev->mode_config.connector_list, 3758 list_for_each_entry(connector, &dev->mode_config.connector_list,
3770 head) { 3759 head) {