forked from Minki/linux
drm/i915: Fix HDMI 12bpc TRANSCONF bpc value
IBX BSpec says we must specify 8bpc in TRANSCONF for both 8bpc and 12bpc HDMI output. Do so. v2: Pass intel_crtc to intel_pipe_has_type() Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chandra Konduru <Chandra.konduru@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
12aa32905d
commit
c5de7c6f3b
@ -2003,11 +2003,15 @@ static void ironlake_enable_pch_transcoder(struct drm_i915_private *dev_priv,
|
||||
|
||||
if (HAS_PCH_IBX(dev_priv->dev)) {
|
||||
/*
|
||||
* make the BPC in transcoder be consistent with
|
||||
* that in pipeconf reg.
|
||||
* Make the BPC in transcoder be consistent with
|
||||
* that in pipeconf reg. For HDMI we must use 8bpc
|
||||
* here for both 8bpc and 12bpc.
|
||||
*/
|
||||
val &= ~PIPECONF_BPC_MASK;
|
||||
val |= pipeconf_val & PIPECONF_BPC_MASK;
|
||||
if (intel_pipe_has_type(intel_crtc, INTEL_OUTPUT_HDMI))
|
||||
val |= PIPECONF_8BPC;
|
||||
else
|
||||
val |= pipeconf_val & PIPECONF_BPC_MASK;
|
||||
}
|
||||
|
||||
val &= ~TRANS_INTERLACE_MASK;
|
||||
|
Loading…
Reference in New Issue
Block a user