OSDN Git Service

drm/i915/icl: introduce tc_port
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 22 May 2018 00:25:37 +0000 (17:25 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 1 Jun 2018 23:04:56 +0000 (16:04 -0700)
commitac213c1b45f7dcedb71d955c2321cbb4a2b6558e
tree8a1162ec8f5c6b7f8cb822453b252aee79352615
parent9bb635d9e7dbfd8e0bc352457c70e75d612c7edb
drm/i915/icl: introduce tc_port

Add and enum for TC ports and auxiliary functions to handle them.
Icelake brings a lot of registers and other things that only apply to
the TC ports and are indexed starting from 0, so having an enum for
tc_ports that starts at 0 really helps the indexing.

This patch is based on previous patches written by Dhinakaran Pandiyan
and Mahesh Kumar.

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180522002558.29262-4-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_display.h
drivers/gpu/drm/i915/intel_drv.h