]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: store the port type for TC ports
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 25 Jul 2018 00:28:10 +0000 (17:28 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 25 Jul 2018 20:33:25 +0000 (13:33 -0700)
commit6075546f57f8fb56a95070adf9602687a01fd49b
tree160323b52157a3568ce4f2dc5d554c5f0d68cae9
parentb9fcddab4afbac67660410009828eae83b6f3a36
drm/i915/icl: store the port type for TC ports

The type is detected based on the live status bits. Once detected,
it's not supposed to be changed, so we have some sanity checks for
that.

v2: Rebase.

Cc: Animesh Manna <animesh.manna@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180725002813.6938-3-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_display.h
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h