]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Restore the missing check for intel_dp_has_joiner
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 6 Feb 2026 04:47:53 +0000 (10:17 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 9 Feb 2026 07:29:55 +0000 (12:59 +0530)
commit20df14666adfe05156902bec0a54b1aba05ec4d4
tree1cfb932a4a4a3912ff869a7711c69ae40681e59a
parent5293d4ab3a79e16b9cd24906262be31afc1fa230
drm/i915/dp: Restore the missing check for intel_dp_has_joiner

Commit ad121a62d566 ("drm/i915/dp: Rework pipe joiner logic in mode_valid")
replaced intel_dp_num_joined_pipes() with an explicit joiner candidate
iteration. The previous code implicitly checked for DP joiner capability
via intel_dp_has_joiner(), but this check was lost during the refactor.

Restore the missing intel_dp_has_joiner() check in intel_dp_can_join() so
that DP specific joiner conditions are taken into account.

v2: Derive intel_dp from intel_attached_dp(). (Imre)

Fixes: ad121a62d566 ("drm/i915/dp: Rework pipe joiner logic in mode_valid")
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260206044753.808631-1-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c