drm/i915/mst: abstract choosing the MST mode to use
authorJani Nikula <jani.nikula@intel.com>
Tue, 19 Mar 2024 09:12:50 +0000 (11:12 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 21 Mar 2024 06:44:36 +0000 (08:44 +0200)
commitd4e16b8b0365f3b6f19c45e7c4e6b643b5a67786
treeed25ffedfcc7d1ad2850a3193a3487504f260082
parent20fbb14b0826023128b174dd0f255375764a04c6
drm/i915/mst: abstract choosing the MST mode to use

Clarify the conditions for choosing the MST mode to use by adding a new
function intel_dp_mst_mode_choose(). This also prepares for being able
to extend the MST modes to single-stream sideband messaging.

Cc: Arun R Murthy <arun.r.murthy@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f626144f10b03d4609ff38a29bac013ecf3aca4e.1710839496.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c