José Roberto de Souza 34a3f0b273 drm/i915/display: Move out code to return the digital_port of the aux ch
Moving the code to return the digital port of the aux channel also
removing the intel_phy_is_tc() to make it generic.
digital_port will be needed in icl_tc_phy_aux_power_well_enable()
so adding it as a parameter to icl_tc_port_assert_ref_held().

While at at removing the duplicated call to icl_tc_phy_aux_ch() in
icl_tc_port_assert_ref_held().

v2:
- fixed build when DRM_I915_DEBUG_RUNTIME_PM is not set
- moved to before hsw_wait_for_power_well_enable() as it will be
needed by hsw_wait_for_power_well_enable() in a future patch

v4:
- fixed action of if (!dig_port), continue instead of return

Cc: You-Sheng Yang <vicamo@gmail.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Tested-by: You-Sheng Yang <vicamo.yang@canonical.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200414194956.164323-1-jose.souza@intel.com
2020-04-17 14:55:29 -07:00
..
2020-03-02 09:22:43 +01:00
2020-03-31 15:15:47 +10:00
2020-03-11 07:27:21 +10:00
2020-02-21 05:44:40 +10:00
2020-04-02 15:50:04 -07:00
2020-03-02 09:22:49 +01:00
2020-04-08 11:00:00 -07:00
2020-04-07 20:24:34 -07:00
2020-04-03 15:05:35 -07:00
2020-03-12 12:42:56 +10:00
2020-03-02 09:22:56 +01:00
2020-04-03 14:25:02 -07:00
2020-03-11 07:27:21 +10:00
2020-03-19 10:11:09 +10:00
2020-04-10 12:38:28 -07:00
2020-03-27 13:38:47 +01:00
2020-03-16 09:26:18 +01:00
2020-03-11 07:27:21 +10:00
2020-01-14 16:22:17 -05:00
2019-10-08 18:29:00 +02:00
2020-03-31 15:15:47 +10:00
2020-01-14 16:22:17 -05:00
2020-01-14 16:22:17 -05:00
2020-03-16 09:27:09 +01:00
2020-03-09 09:22:50 +00:00
2020-03-16 09:25:22 +01:00