drm/i915/icl: use combophy/TC helper functions during display detection
authorMahesh Kumar <mahesh1.kumar@intel.com>
Wed, 3 Oct 2018 07:21:57 +0000 (12:51 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 16 Oct 2018 16:00:55 +0000 (09:00 -0700)
commitc0aa834404b33804b3af0822ebcd9881fa8cb214
tree924e62847493e20d5d42cbbcbd361821f048220d
parent176597a12d61709727d1639836e5d68a6e7c437b
drm/i915/icl: use combophy/TC helper functions during display detection

Instead of directly comparing HPD pins use intel_port_is_combophy/tc
helper functions to distinguish between combophy/TC ports.

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181003072203.12848-3-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/intel_dp.c