]> Gentwo Git Trees - linux/.git/commit
drm/i915/tc: Add an enum for the TypeC pin assignment
authorImre Deak <imre.deak@intel.com>
Tue, 5 Aug 2025 07:36:50 +0000 (10:36 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 13 Aug 2025 12:02:45 +0000 (15:02 +0300)
commit6eaec941df17d3690b0be455f69f2cf64dea70a4
treef74e798f899adf3bed0275a7afeae6d8f54cbd0e
parentf1ecaa7a6ef06e2843f7c6638db5dbd12a405866
drm/i915/tc: Add an enum for the TypeC pin assignment

Add an enum for the TypeC pin assignment, which is a better way to pass
its value around than a plain integer. While at it add a description for
each pin assignment, based on the DP and DP Alt mode Standards, opting
for more details to ease any future debugging related to a given pin
assignment and the cables / sink types used.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
[Imre: s/deined/defined in pin assignment enum documentation.]
Link: https://lore.kernel.org/r/20250805073700.642107-10-imre.deak@intel.com
Signed-off-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_display_regs.h
drivers/gpu/drm/i915/display/intel_tc.c
drivers/gpu/drm/i915/display/intel_tc.h