]> Gentwo Git Trees - linux/.git/commit
drm/i915/tc: Pass pin assignment value around using the pin assignment enum
authorImre Deak <imre.deak@intel.com>
Tue, 5 Aug 2025 07:36:51 +0000 (10:36 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 13 Aug 2025 12:03:01 +0000 (15:03 +0300)
commit4ae33f0a5d1cef2830c364fd7dd6260ebfda9abd
tree3e646bc38f0a26493326c64460dc463bcff7f869
parent6eaec941df17d3690b0be455f69f2cf64dea70a4
drm/i915/tc: Pass pin assignment value around using the pin assignment enum

Pass around the pin assignment value via the corresponding enum instead
of a plain integer.

While at it rename intel_tc_port_get_pin_assignment_mask() to
intel_tc_port_get_pin_assignment(), since the value returned is not a
mask.

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