diff options
| author | Imre Deak <imre.deak@intel.com> | 2025-11-20 19:23:55 +0200 |
|---|---|---|
| committer | Imre Deak <imre.deak@intel.com> | 2025-11-21 20:50:34 +0200 |
| commit | 8aa2945f049d7cfc7b3c9195a7341e8eb0d9c961 (patch) | |
| tree | 614fe4c6d1c2025a746e643f74b8b7f1266ebddc /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 370f45b1cea859484691128ec205abc7e9402fb7 (diff) | |
| download | linux-8aa2945f049d7cfc7b3c9195a7341e8eb0d9c961.tar.gz linux-8aa2945f049d7cfc7b3c9195a7341e8eb0d9c961.zip | |
drm/i915/tc: Add separate intel_tc_phy_port_to_tc() for TC DDI/PHY ports
intel_port_to_tc() returns the PORT_TC1..6 -> TC_PORT_1..6 mapping only
for DDI ports that are connected to a TypeC PHY. In some cases this
mapping is also required for TypeC DDI ports which are not connected to
a TypeC PHY. Such DDI ports are the PORT_TC1..4 ports on RKL/ADLS/BMG.
Add a separate intel_tc_phy_to_tc() helper to return the mapping for
ports connected to a TypeC PHY, and make all the current users - which
expect this semantic - call this helper. A follow-up change will need to
get the same mapping for TypeC DDI ports not connected to a TypeC PHY,
leave intel_port_to_tc() exported for that.
Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251120172358.1282765-2-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
