[Intel-gfx] [PATCH 1/2] drm/i915/hdmi: call intel_hdmi_prepare for CHV

Daniel Vetter daniel at ffwll.ch
Wed Jul 30 12:46:22 CEST 2014


On Wed, Jul 30, 2014 at 10:43:48AM +0800, libin.yang at intel.com wrote:
> From: Libin Yang <libin.yang at intel.com>
> 
> call the intel_hdmi_prepare() in chv_hdmi_pre_enable() for
> hdmi audio.
> 
> Signed-off-by: Libin Yang <libin.yang at intel.com>

I've just merged a similar patch from Ville, please check that it works.
-Daniel

> ---
>  drivers/gpu/drm/i915/intel_hdmi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
> index 5f8f4ca..5a65e0c 100644
> --- a/drivers/gpu/drm/i915/intel_hdmi.c
> +++ b/drivers/gpu/drm/i915/intel_hdmi.c
> @@ -1374,6 +1374,7 @@ static void chv_hdmi_pre_enable(struct intel_encoder *encoder)
>  	int data, i;
>  	u32 val;
>  
> +	intel_hdmi_prepare(encoder);
>  	mutex_lock(&dev_priv->dpio_lock);
>  
>  	/* Deassert soft data lane reset*/
> -- 
> 1.9.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list