drm/i915/dp_mst: Add a way to disable the DP2 config
authorImre Deak <imre.deak@intel.com>
Wed, 30 Oct 2024 19:23:11 +0000 (21:23 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 6 Nov 2024 16:13:33 +0000 (18:13 +0200)
commit4dc776627602ae57de1dfac249fcfefb73983a80
tree7958ff2efe583f156abbd21b988f60450fec3a27
parent734148a1d8d1ff00b1f31a44f20bf013f820e8e0
drm/i915/dp_mst: Add a way to disable the DP2 config

Add a way to disable the DP2 configuration, required by the next patch
during transcoder disabling.

While at it drop the redundant encoder parameter.

v2:
- Keep intel_ddi_config_transcoder_dp2() static. (Jani)
- Remove the encoder parameter.

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241030192313.4030617-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c