All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/display/dp: 128/132b DP-capable with SST
@ 2024-01-03  9:07 Arun R Murthy
  2024-01-04  6:08 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display/dp: 128/132b DP-capable with SST (rev2) Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Arun R Murthy @ 2024-01-03  9:07 UTC (permalink / raw)
  To: intel-gfx, jani.nikula, imre.deak

With a value of '0' read from MSTM_CAP register MST to be enabled.
DP2.1 SCR updates the spec for 128/132b DP capable supporting only one
stream and not supporting single stream sideband MSG.
The underlying protocol will be MST to enable use of MTP.

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 9ff0cbd9c0df..40d3280f8d98 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4038,8 +4038,13 @@ intel_dp_configure_mst(struct intel_dp *intel_dp)
 	if (!intel_dp_mst_source_support(intel_dp))
 		return;
 
-	intel_dp->is_mst = sink_can_mst &&
-		i915->display.params.enable_dp_mst;
+	/*
+	 * Even if dpcd reg MSTM_CAP is 0, if the sink supports UHBR rates then
+	 * DP2.1 can be enabled with underlying protocol using MST for MTP
+	 */
+	intel_dp->is_mst = (sink_can_mst ||
+			    drm_dp_is_uhbr_rate(intel_dp_max_common_rate(intel_dp)))
+			    && i915->display.params.enable_dp_mst;
 
 	drm_dp_mst_topology_mgr_set_mst(&intel_dp->mst_mgr,
 					intel_dp->is_mst);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-01-10 11:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03  9:07 [PATCH] drm/i915/display/dp: 128/132b DP-capable with SST Arun R Murthy
2024-01-04  6:08 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display/dp: 128/132b DP-capable with SST (rev2) Patchwork
2024-01-04  6:27 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-01-05  1:24 ` [PATCH] drm/i915/display/dp: 128/132b DP-capable with SST Almahallawy, Khaled
2024-01-08 11:38 ` Nautiyal, Ankit K
2024-01-08 11:58   ` Murthy, Arun R
2024-01-08 13:30 ` Jani Nikula
2024-01-09  2:50   ` Murthy, Arun R
2024-01-09  9:28     ` Jani Nikula
2024-01-09  9:29       ` Jani Nikula
2024-01-10 10:50         ` Murthy, Arun R
2024-01-10 10:53           ` Jani Nikula
2024-01-10 11:05             ` Murthy, Arun R
2024-01-10 10:42       ` Murthy, Arun R

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.