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

Yang, Libin libin.yang at intel.com
Thu Jul 31 09:16:16 CEST 2014


Hi Daniel,

Do you mean the patch 95eb62c8c? If yes, I will have a test on the patch.

BTW: I'm not familiar with gfx driver. But I see intel_hdmi_prepare() is called in the pre_pll_enable() for chv and vlv, but in others, it is called in pre_enable(). Could you tell me what's the difference between the two functions? I'm not sure if there is some impact on the audio function.

Regards,
Libin

> -----Original Message-----
> From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel
> Vetter
> Sent: Wednesday, July 30, 2014 6:46 PM
> To: Yang, Libin
> Cc: intel-gfx at lists.freedesktop.org
> Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/hdmi: call intel_hdmi_prepare
> for CHV
> 
> 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