summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_display.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-10-28 23:33:06 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-10-30 14:47:07 +0200
commit1d8ca002456b6c504b0af2d159c4776ba6b1ad81 (patch)
tree57e792e9674685a55030fbaa7d4904d04660c0ab /drivers/gpu/drm/i915/display/intel_display.h
parent320c670c048d3b178da6129257e8aee517c81e10 (diff)
downloadlinux-1d8ca002456b6c504b0af2d159c4776ba6b1ad81.tar.gz
linux-1d8ca002456b6c504b0af2d159c4776ba6b1ad81.tar.bz2
linux-1d8ca002456b6c504b0af2d159c4776ba6b1ad81.zip
drm/i915: Add PORT_TCn aliases to enum port
Since tgl the DDIs have been named A,B,C,TC1,TC2,TC3... Add the appropriate enum values for the TC DDIs to enum port. v2: Deal with rkl and dg1 Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201028213323.5423-3-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_display.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h
index 1b7ae1d507f2..747aec8e8580 100644
--- a/drivers/gpu/drm/i915/display/intel_display.h
+++ b/drivers/gpu/drm/i915/display/intel_display.h
@@ -208,6 +208,14 @@ enum port {
PORT_H,
PORT_I,
+ /* tgl+ */
+ PORT_TC1 = PORT_D,
+ PORT_TC2,
+ PORT_TC3,
+ PORT_TC4,
+ PORT_TC5,
+ PORT_TC6,
+
I915_MAX_PORTS
};