On Thu, Mar 27, 2014 at 11:56:08AM -0700, Jesse Barnes wrote:
> This makes HDMI testers happier on VLV platforms.  It may be that we
> need it for any non-SVO platform, but I don't have any tests to back
> that up, so I'm leaving other pre-ILK platforms alone for now.
> 
> Tested-by: "Clint Taylor <[email protected]>"
> Signed-off-by: Jesse Barnes <[email protected]>

Reviewed-by: Ville Syrjälä <[email protected]>

> ---
>  drivers/gpu/drm/i915/intel_display.c |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c 
> b/drivers/gpu/drm/i915/intel_display.c
> index e0a87aa..d633139 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -5541,8 +5541,11 @@ static void i9xx_set_pipeconf(struct intel_crtc 
> *intel_crtc)
>               }
>       }
>  
> -     if (!IS_GEN2(dev) &&
> +     if (IS_VALLEYVIEW(dev) &&
>           intel_crtc->config.adjusted_mode.flags & DRM_MODE_FLAG_INTERLACE)
> +             pipeconf |= PIPECONF_INTERLACE_W_SYNC_SHIFT;
> +     else if (!IS_GEN2(dev) &&
> +              intel_crtc->config.adjusted_mode.flags & 
> DRM_MODE_FLAG_INTERLACE)
>               pipeconf |= PIPECONF_INTERLACE_W_FIELD_INDICATION;
>       else
>               pipeconf |= PIPECONF_PROGRESSIVE;
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to