All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/dp: Update dfp caps only if its a branch device
@ 2023-12-11  5:11 Ankit Nautiyal
  2023-12-11  5:56 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ankit Nautiyal @ 2023-12-11  5:11 UTC (permalink / raw)
  To: intel-gfx

Avoid checking for Downstream Facing Port capabilities,
if its not a DP branch device.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 3b2482bf683f..bef797b63000 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -5502,6 +5502,9 @@ intel_dp_update_dfp(struct intel_dp *intel_dp,
 	struct drm_i915_private *i915 = dp_to_i915(intel_dp);
 	struct intel_connector *connector = intel_dp->attached_connector;
 
+	if (!drm_dp_is_branch(intel_dp->dpcd))
+		return;
+
 	intel_dp->dfp.max_bpc =
 		drm_dp_downstream_max_bpc(intel_dp->dpcd,
 					  intel_dp->downstream_ports, drm_edid);
-- 
2.40.1


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

end of thread, other threads:[~2023-12-11 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-11  5:11 [PATCH] drm/i915/dp: Update dfp caps only if its a branch device Ankit Nautiyal
2023-12-11  5:56 ` ✓ Fi.CI.BAT: success for " Patchwork
2023-12-11  7:24 ` ✗ Fi.CI.IGT: failure " Patchwork
2023-12-11  8:54 ` [PATCH] " Jani Nikula
2023-12-11 14:14   ` Nautiyal, Ankit K

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.