drm/i915: Split intel_ddi_pre_enable() into DP and HDMI versions
authorManasi Navare <manasi.d.navare@intel.com>
Thu, 1 Sep 2016 22:08:08 +0000 (15:08 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 20:55:33 +0000 (13:55 -0700)
commitba88d153526f31777ef40b065a772e8dbf97b7c0
tree95ca2c2bf30bdc52b65da8f54682298af47d9121
parentc856052abc769da6d16d0df8807320ccc854c5d9
drm/i915: Split intel_ddi_pre_enable() into DP and HDMI versions

Split intel_ddi_pre_enable() into encoder type specific versions that
don't depend on crtc_state. The necessary parameters are passed as
function arguments. This split will be necessary for implementing DP
upfront link training.

v3:
* Rebased onto latest kernel (Manasi)
v2:
* Rebased onto kernel v4.7 (Jim)

Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Jim Bride <jim.bride@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_ddi.c