]> Gentwo Git Trees - linux/.git/commit
drm/i915/tc: Handle non-TC encoders when getting the pin assignment
authorImre Deak <imre.deak@intel.com>
Tue, 5 Aug 2025 07:36:56 +0000 (10:36 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 13 Aug 2025 12:03:19 +0000 (15:03 +0300)
commit70435fce3225631011f36ec9b0dd1f8c9e90e986
treea6c526387c996c216d88bc48635f6eb6f7162954
parentc96ba5883df7fabc5df34e1486df538d514f4c12
drm/i915/tc: Handle non-TC encoders when getting the pin assignment

For consistency, handle the case where
intel_tc_port_get_pin_assignment() is called for a non-TypeC encoder,
returning the default NONE pin assignment value, similarly to how this
is done in intel_tc_port_max_lane_count().

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://lore.kernel.org/r/20250805073700.642107-16-imre.deak@intel.com
Signed-off-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_tc.c