Subversion Repositories Kolibri OS

Rev

Rev 3037 | Rev 3243 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3037 Rev 3120
Line 3855... Line 3855...
3855
				DRM_DEBUG_KMS("clamping display bpc (was %d) to EDID reported max of %d\n", display_bpc, connector->display_info.bpc);
3855
				DRM_DEBUG_KMS("clamping display bpc (was %d) to EDID reported max of %d\n", display_bpc, connector->display_info.bpc);
3856
				display_bpc = connector->display_info.bpc;
3856
				display_bpc = connector->display_info.bpc;
3857
        }
3857
        }
3858
    }
3858
    }
Line -... Line 3859...
-
 
3859
 
-
 
3860
		if (intel_encoder->type == INTEL_OUTPUT_EDP) {
-
 
3861
			/* Use VBT settings if we have an eDP panel */
-
 
3862
			unsigned int edp_bpc = dev_priv->edp.bpp / 3;
-
 
3863
 
-
 
3864
			if (edp_bpc < display_bpc) {
-
 
3865
				DRM_DEBUG_KMS("clamping display bpc (was %d) to eDP (%d)\n", display_bpc, edp_bpc);
-
 
3866
				display_bpc = edp_bpc;
-
 
3867
			}
-
 
3868
			continue;
-
 
3869
		}
3859
 
3870
 
3860
		/*
3871
		/*
3861
		 * HDMI is either 12 or 8, so if the display lets 10bpc sneak
3872
		 * HDMI is either 12 or 8, so if the display lets 10bpc sneak
3862
		 * through, clamp it down.  (Note: >12bpc will be caught below.)
3873
		 * through, clamp it down.  (Note: >12bpc will be caught below.)
3863
		 */
3874
		 */