]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp_mst: Move the check for dotclock at the end
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 2 Feb 2026 10:37:20 +0000 (16:07 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 3 Feb 2026 08:17:04 +0000 (13:47 +0530)
commitf8c172660a2a08cfdd17b0394168e03f07feada2
tree938ffd66226515df0e0d4a8e62036d38c3812296
parent1f1e3e5c65f6d8fe08bc0d300ba085ba29c887f6
drm/i915/dp_mst: Move the check for dotclock at the end

Refactor the mode_valid to have all joiner dependent stuff together and
place the check for dotclock limit at the very end.

This will help in the following refactor to iterate over the joiner
candidates and find the best joiner candidate that satisfy all checks
and limits.

v2: Update status to MODE_CLOCK_HIGH if max_dotclock check fails. (Imre)
v3: Drop redundant MODE_OK assignment and return. (Imre)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260202103731.357416-7-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c