All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kai Vehmanen <kai.vehmanen@linux.intel.com>
To: intel-gfx@lists.freedesktop.org, jani.nikula@linux.intel.com,
	ville.syrjala@linux.intel.com
Subject: [PATCH v2 2/2] drm/i915/dp: fix DP infoframe init for PORT_A on gen12+
Date: Mon, 25 Nov 2019 14:53:13 +0200	[thread overview]
Message-ID: <20191125125313.17584-2-kai.vehmanen@linux.intel.com> (raw)
In-Reply-To: <20191125125313.17584-1-kai.vehmanen@linux.intel.com>

Starting with gen12, PORT_A can be also connected to DP
transcoder. Update code in intel_dp_init() to take this
into account.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 4519c32f6c24..fd2b39fe0e60 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -7335,7 +7335,7 @@ bool intel_dp_init(struct drm_i915_private *dev_priv,
 
 	intel_dig_port->hpd_pulse = intel_dp_hpd_pulse;
 
-	if (port != PORT_A)
+	if (port != PORT_A || INTEL_GEN(dev_priv) >=  12)
 		intel_infoframe_init(intel_dig_port);
 
 	intel_dig_port->aux_ch = intel_bios_port_aux_ch(dev_priv, port);
-- 
2.17.1

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

WARNING: multiple messages have this Message-ID (diff)
From: Kai Vehmanen <kai.vehmanen@linux.intel.com>
To: intel-gfx@lists.freedesktop.org, jani.nikula@linux.intel.com,
	ville.syrjala@linux.intel.com
Subject: [Intel-gfx] [PATCH v2 2/2] drm/i915/dp: fix DP infoframe init for PORT_A on gen12+
Date: Mon, 25 Nov 2019 14:53:13 +0200	[thread overview]
Message-ID: <20191125125313.17584-2-kai.vehmanen@linux.intel.com> (raw)
Message-ID: <20191125125313.rkMPqIiVvolCMaloGGRa39cWqOkO83cN8XCxSm5d4vE@z> (raw)
In-Reply-To: <20191125125313.17584-1-kai.vehmanen@linux.intel.com>

Starting with gen12, PORT_A can be also connected to DP
transcoder. Update code in intel_dp_init() to take this
into account.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 4519c32f6c24..fd2b39fe0e60 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -7335,7 +7335,7 @@ bool intel_dp_init(struct drm_i915_private *dev_priv,
 
 	intel_dig_port->hpd_pulse = intel_dp_hpd_pulse;
 
-	if (port != PORT_A)
+	if (port != PORT_A || INTEL_GEN(dev_priv) >=  12)
 		intel_infoframe_init(intel_dig_port);
 
 	intel_dig_port->aux_ch = intel_bios_port_aux_ch(dev_priv, port);
-- 
2.17.1

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

  reply	other threads:[~2019-11-25 12:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 12:53 [PATCH v2 1/2] drm/i915/dp: fix DP audio for PORT_A on gen12+ Kai Vehmanen
2019-11-25 12:53 ` [Intel-gfx] " Kai Vehmanen
2019-11-25 12:53 ` Kai Vehmanen [this message]
2019-11-25 12:53   ` [Intel-gfx] [PATCH v2 2/2] drm/i915/dp: fix DP infoframe init " Kai Vehmanen
2019-11-26 23:52   ` Matt Roper
2019-11-26 23:52     ` [Intel-gfx] " Matt Roper
2019-11-28 15:09     ` Kai Vehmanen
2019-11-28 15:09       ` [Intel-gfx] " Kai Vehmanen
2019-11-25 16:28 ` ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915/dp: fix DP audio " Patchwork
2019-11-25 16:28   ` [Intel-gfx] " Patchwork
2019-11-26  2:03 ` ✗ Fi.CI.IGT: failure " Patchwork
2019-11-26  2:03   ` [Intel-gfx] " Patchwork
2019-11-26  8:24   ` Kai Vehmanen
2019-11-26  8:24     ` [Intel-gfx] " Kai Vehmanen
2019-11-27  0:15   ` Matt Roper
2019-11-27  0:15     ` [Intel-gfx] " Matt Roper
2019-11-27  0:10 ` [PATCH v2 1/2] " Matt Roper
2019-11-27  0:10   ` [Intel-gfx] " Matt Roper

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=20191125125313.17584-2-kai.vehmanen@linux.intel.com \
    --to=kai.vehmanen@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=ville.syrjala@linux.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.