Re: [RFC 2/4] drm/i915/dp: refactor DP MST detection and configuration

2024-02-12 Thread Ville Syrjälä
On Mon, Feb 12, 2024 at 05:25:43PM +0200, Jani Nikula wrote: > On Fri, 02 Feb 2024, Ville Syrjälä wrote: > > On Fri, Feb 02, 2024 at 04:05:32PM +0200, Jani Nikula wrote: > >> Currently we've split MST capability detection in two places, > >> intel_dp_can_mst() and intel_dp_configure_mst(). They ch

Re: [RFC 2/4] drm/i915/dp: refactor DP MST detection and configuration

2024-02-12 Thread Jani Nikula
On Fri, 02 Feb 2024, Ville Syrjälä wrote: > On Fri, Feb 02, 2024 at 04:05:32PM +0200, Jani Nikula wrote: >> Currently we've split MST capability detection in two places, >> intel_dp_can_mst() and intel_dp_configure_mst(). They check essentially >> the same things. >> >> Move bulk of the work, inc

Re: [RFC 2/4] drm/i915/dp: refactor DP MST detection and configuration

2024-02-02 Thread Ville Syrjälä
On Fri, Feb 02, 2024 at 04:05:32PM +0200, Jani Nikula wrote: > Currently we've split MST capability detection in two places, > intel_dp_can_mst() and intel_dp_configure_mst(). They check essentially > the same things. > > Move bulk of the work, including logging, to intel_dp_can_mst() and > rename

[RFC 2/4] drm/i915/dp: refactor DP MST detection and configuration

2024-02-02 Thread Jani Nikula
Currently we've split MST capability detection in two places, intel_dp_can_mst() and intel_dp_configure_mst(). They check essentially the same things. Move bulk of the work, including logging, to intel_dp_can_mst() and rename it intel_dp_mst_detect(). Set intel_dp->is_mst there to avoid duplicate