All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: "Lee, Shawn C" <shawn.c.lee@intel.com>,
	"Souza, Jose" <jose.souza@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Cc: "Vivi, Rodrigo" <rodrigo.vivi@intel.com>
Subject: Re: [PATCH] drm/i915: Apply correct ddi translation table for AML device
Date: Thu, 27 Sep 2018 09:34:03 +0300	[thread overview]
Message-ID: <8736tvtpno.fsf@intel.com> (raw)
In-Reply-To: <D42A2A322A1FCA4089E30E9A9BA36AC65CB603C4@PGSMSX102.gar.corp.intel.com>

On Wed, 26 Sep 2018, "Lee, Shawn C" <shawn.c.lee@intel.com> wrote:
> On Tue, 2018-09-25 at 21:20, Souza, Jose wrote:
>>> Amber Lake used the same gen graphics as Kaby Lake. Kernel driver 
>>> should configure KBL's DDI buffer setting for AML ULX as well.
>>> 
>>> So far, driver would load DDI translation table that used for KBL H/S 
>>> platform and apply it on AML devices. But AML is belong to ULX series. 
>>> This change will lead driver to apply KBL-Y's DDI table for AML 
>>> devices to avoid unexpected eDP/DP signal quality issue.
>>> 
>>> Cc: Jani Nikula <jani.nikula@intel.com>
>>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>>> Cc: Jose Roberto de Souza <jose.souza@intel.com>
>>
>>Reviewed-by: Jose Roberto de Souza <jose.souza@intel.com>
>>
>>But I guess CI will fail in this patch as looks like you send the first one separated from this one.
>>
>
> Yes, it depends on https://patchwork.kernel.org/patch/10613643/.

You need to send them together, or have that one merged first.

BR,
Jani.

>
>>> Signed-off-by: Lee, Shawn C <shawn.c.lee@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 b6910c8b4e08..b051970912a3 100644
>>> --- a/drivers/gpu/drm/i915/intel_ddi.c
>>> +++ b/drivers/gpu/drm/i915/intel_ddi.c
>>> @@ -642,7 +642,7 @@ skl_get_buf_trans_dp(struct drm_i915_private 
>>> *dev_priv, int *n_entries)  static const struct ddi_buf_trans *  
>>> kbl_get_buf_trans_dp(struct drm_i915_private *dev_priv, int
>>> *n_entries)
>>>  {
>>> -	if (IS_KBL_ULX(dev_priv)) {
>>> +	if (IS_KBL_ULX(dev_priv) || IS_AML_ULX(dev_priv)) {
>>>  		*n_entries = ARRAY_SIZE(kbl_y_ddi_translations_dp);
>>>  		return kbl_y_ddi_translations_dp;
>>>  	} else if (IS_KBL_ULT(dev_priv) || IS_CFL_ULT(dev_priv)) { @@ -658,7 
>>> +658,7 @@ static const struct ddi_buf_trans *  
>>> skl_get_buf_trans_edp(struct drm_i915_private *dev_priv, int
>>> *n_entries)
>>>  {
>>>  	if (dev_priv->vbt.edp.low_vswing) {
>>> -		if (IS_SKL_ULX(dev_priv) || IS_KBL_ULX(dev_priv)) {
>>> +		if (IS_SKL_ULX(dev_priv) || IS_KBL_ULX(dev_priv) ||
>>> IS_AML_ULX(dev_priv)) {
>>>  			*n_entries =
>>> ARRAY_SIZE(skl_y_ddi_translations_edp);
>>>  			return skl_y_ddi_translations_edp;
>>>  		} else if (IS_SKL_ULT(dev_priv) || IS_KBL_ULT(dev_priv)
>>> ||
>>> @@ -680,7 +680,7 @@ skl_get_buf_trans_edp(struct drm_i915_private 
>>> *dev_priv, int *n_entries)  static const struct ddi_buf_trans *  
>>> skl_get_buf_trans_hdmi(struct drm_i915_private *dev_priv, int
>>> *n_entries)
>>>  {
>>> -	if (IS_SKL_ULX(dev_priv) || IS_KBL_ULX(dev_priv)) {
>>> +	if (IS_SKL_ULX(dev_priv) || IS_KBL_ULX(dev_priv) ||
>>> IS_AML_ULX(dev_priv)) {
>>>  		*n_entries = ARRAY_SIZE(skl_y_ddi_translations_hdmi);
>>>  		return skl_y_ddi_translations_hdmi;
>>>  	} else {

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-09-27  6:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-25  9:20 [PATCH] drm/i915: Apply correct ddi translation table for AML device Lee, Shawn C
2018-09-25 10:23 ` ✗ Fi.CI.BAT: failure for " Patchwork
2018-09-25 21:20 ` [PATCH] " Souza, Jose
2018-09-26  1:59   ` Lee, Shawn C
2018-09-27  6:34     ` Jani Nikula [this message]
2018-09-27  6:52       ` Lee, Shawn C
2018-09-26 17:52 ` kbuild test robot
2018-09-26 21:05 ` kbuild test robot

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=8736tvtpno.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jose.souza@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=shawn.c.lee@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.