drm/i915/display: Cleanup intel_phy_is_combo()
authorAnusha Srivatsa <anusha.srivatsa@intel.com>
Mon, 25 Jul 2022 22:50:28 +0000 (15:50 -0700)
committerAnusha Srivatsa <anusha.srivatsa@intel.com>
Wed, 27 Jul 2022 21:50:27 +0000 (14:50 -0700)
commitace98ffc8acbe7e8f886f2048436a0438663b153
treeff7c295d2eb5b9a8b2f7437ea63178707bc2e931
parent3565c7219c169ab6c6ef34ba9187c1b7bc6dbfa5
drm/i915/display: Cleanup intel_phy_is_combo()

Cleanup the intel_phy_is_combo
to accommodate for cases where combo phy is not available.

v2: retain comment that explains DG2 returning false from
intel_phy_is_combo() (Arun)

Cc: Arun R Murthy <arun.r.murthy@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220725225028.98612-1-anusha.srivatsa@intel.com
drivers/gpu/drm/i915/display/intel_display.c