Subversion Repositories Kolibri OS

Rev

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

Rev 5060 Rev 5139
Line 710... Line 710...
710
 
710
 
711
static void intel_hdmi_get_config(struct intel_encoder *encoder,
711
static void intel_hdmi_get_config(struct intel_encoder *encoder,
712
				  struct intel_crtc_config *pipe_config)
712
				  struct intel_crtc_config *pipe_config)
713
{
713
{
-
 
714
	struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(&encoder->base);
714
	struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(&encoder->base);
715
	struct drm_device *dev = encoder->base.dev;
715
	struct drm_i915_private *dev_priv = encoder->base.dev->dev_private;
716
	struct drm_i915_private *dev_priv = dev->dev_private;
716
	u32 tmp, flags = 0;
717
	u32 tmp, flags = 0;
Line 717... Line 718...
717
	int dotclock;
718
	int dotclock;
Line 732... Line 733...
732
		pipe_config->has_hdmi_sink = true;
733
		pipe_config->has_hdmi_sink = true;
Line 733... Line 734...
733
 
734
 
734
	if (tmp & HDMI_MODE_SELECT_HDMI)
735
	if (tmp & HDMI_MODE_SELECT_HDMI)
Line -... Line 736...
-
 
736
		pipe_config->has_audio = true;
-
 
737
 
-
 
738
	if (!HAS_PCH_SPLIT(dev) &&
-
 
739
	    tmp & HDMI_COLOR_RANGE_16_235)
735
		pipe_config->has_audio = true;
740
		pipe_config->limited_color_range = true;
Line 736... Line 741...
736
 
741
 
737
	pipe_config->adjusted_mode.flags |= flags;
742
	pipe_config->adjusted_mode.flags |= flags;
738
 
743