OSDN Git Service

drm/i915/tgl+: Sanitize the DDI LANES/IO and AUX power domain names
authorImre Deak <imre.deak@intel.com>
Mon, 22 Feb 2021 21:04:00 +0000 (23:04 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 24 Feb 2021 12:05:39 +0000 (14:05 +0200)
commitc73927183f2b85bf1a06d75d2b51be72aff42358
tree500de81109f8588ea5c9e29b8a43ffae934c18db
parent62c211bb9e1bee0083d8061ce0012f538ac754c3
drm/i915/tgl+: Sanitize the DDI LANES/IO and AUX power domain names

In Bspec the TGL TypeC ports are TC1-6, the AUX power well request flags
are USBC1-6/TBT1-6, so for clarity use these names in the port power
domain names instead of the D-I terminology (which Bspec uses only for
the ICL TypeC ports).

A domain name should follow the <domain>_<pipe/transcoder/port/aux_ch>
format. Add the new aliases based on this, leaving a change to rename
all the rest accordingly for a follow-up.

No functional change.

v2: Add comment to commit log about unifying domain names. (Jose)

Cc: Souza Jose <jose.souza@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210222210400.940158-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power.h