Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Pandiyan, Dhinakaran" <dhinakaran.pandiyan@intel.com>
To: "Vivi, Rodrigo" <rodrigo.vivi@intel.com>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 3/5] drm/i915/cfl: Basic DDI plumbing for Coffee Lake.
Date: Wed, 7 Jun 2017 22:06:04 +0000	[thread overview]
Message-ID: <1496874301.32316.31.camel@dk-H97M-D3H> (raw)
In-Reply-To: <1496872432.3272.56.camel@rdvivi-vienna>

On Wed, 2017-06-07 at 21:53 +0000, Vivi, Rodrigo wrote:
> On Wed, 2017-06-07 at 18:04 +0000, Pandiyan, Dhinakaran wrote:
> > On Tue, 2017-06-06 at 12:20 -0700, Rodrigo Vivi wrote:
> > > All here is pretty much like Kabylake.
> > > 
> > > Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> > > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > > ---
> > >  drivers/gpu/drm/i915/intel_ddi.c | 6 +++---
> > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > > 
> > > diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
> > > index 8bac628..5b5bee6 100644
> > > --- a/drivers/gpu/drm/i915/intel_ddi.c
> > > +++ b/drivers/gpu/drm/i915/intel_ddi.c
> > > @@ -429,7 +429,7 @@ enum port intel_ddi_get_encoder_port(struct intel_encoder *encoder)
> > >  		}
> > >  	}
> > >  
> > 
> > I don't see the corresponding change in the caller
> > intel_ddi_get_buf_trans_edp(). 
> > 
^How about this?

intel_ddi_get_buf_trans_edp(struct drm_i915_private *dev_priv,
                            int *n_entries)
{
        if (IS_KABYLAKE(dev_priv) || IS_SKYLAKE(dev_priv)) {
                return skl_get_buf_trans_edp(dev_priv, n_entries);


> > 
> > > -	if (IS_KABYLAKE(dev_priv))
> > > +	if (IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv))
> > >  		return kbl_get_buf_trans_dp(dev_priv, n_entries);
> > >  	else
> > >  		return skl_get_buf_trans_dp(dev_priv, n_entries);
> > > @@ -485,7 +485,7 @@ static int intel_ddi_hdmi_level(struct drm_i915_private *dev_priv, enum port por
> > >  intel_ddi_get_buf_trans_dp(struct drm_i915_private *dev_priv,
> > >  			   int *n_entries)
> > >  {
> > > -	if (IS_KABYLAKE(dev_priv)) {
> > > +	if (IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv)) {
> > 
> > What SKU's are being supported here? Anusha's sent patches for U, H and
> > S. I see distinct ddi_translation definitions for KBL U SKU's but I see
> > them missing for CFL in the callee kbl_get_buf_trans_dp. 
> 
> good catch! CFL-U is same as KBL-U and according to hardware engineers
> should start with same translation table. If something changes in the
> future we update here.
> 
> I will rebase and put this patch on top of PCI ID ones so I reuse the
> Anusha's definition to get CFL-U.
> 
> > 
> > 
> > -DK
> > 
> > 
> > >  		return kbl_get_buf_trans_dp(dev_priv, n_entries);
> > >  	} else if (IS_SKYLAKE(dev_priv)) {
> > >  		return skl_get_buf_trans_dp(dev_priv, n_entries);
> > > @@ -1478,7 +1478,7 @@ static void skl_ddi_set_iboost(struct intel_encoder *encoder, u32 level)
> > >  		if (dp_iboost) {
> > >  			iboost = dp_iboost;
> > >  		} else {
> > > -			if (IS_KABYLAKE(dev_priv))
> > > +			if (IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv))
> > >  				ddi_translations = kbl_get_buf_trans_dp(dev_priv,
> > >  									&n_entries);
> > >  			else
> > 
> 

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-06-07 22:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 19:19 [PATCH 1/5] drm/i915/cfl: Introduce Coffee Lake platform definition Rodrigo Vivi
2017-06-06 19:19 ` [PATCH 2/5] drm/i915/cfl: Coffee Lake uses CNP PCH Rodrigo Vivi
2017-06-07 17:40   ` Pandiyan, Dhinakaran
2017-06-06 19:20 ` [PATCH 3/5] drm/i915/cfl: Basic DDI plumbing for Coffee Lake Rodrigo Vivi
2017-06-07 18:04   ` Pandiyan, Dhinakaran
2017-06-07 21:53     ` Vivi, Rodrigo
2017-06-07 22:06       ` Pandiyan, Dhinakaran [this message]
2017-06-07 22:14         ` Vivi, Rodrigo
2017-06-06 19:20 ` [PATCH 4/5] drm/i915/cfl: Introduce Display workarounds " Rodrigo Vivi
2017-06-07 18:44   ` Pandiyan, Dhinakaran
2017-06-07 21:52     ` Vivi, Rodrigo
2017-06-07 22:00       ` Pandiyan, Dhinakaran
2017-06-06 19:20 ` [PATCH 5/5] drm/i915/cfl: Introduce Coffee Lake workardounds Rodrigo Vivi
2017-06-07 22:40   ` Pandiyan, Dhinakaran
2017-06-08 14:01   ` Mika Kuoppala
2017-06-06 21:26 ` [PATCH 1/5] drm/i915/cfl: Introduce Coffee Lake platform definition Srivatsa, Anusha
2017-06-07  7:42 ` ✓ Fi.CI.BAT: success for series starting with [1/5] " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496874301.32316.31.camel@dk-H97M-D3H \
    --to=dhinakaran.pandiyan@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox