]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dg2: Classify DG2 PHY types
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 14 Jul 2021 03:15:35 +0000 (20:15 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 23 Jul 2021 17:33:39 +0000 (10:33 -0700)
commitfdc0b946a9cab3af21575fb0b16644d35e3473bf
tree56fbec00367f50ca6ed719788dc9d904f4e83ab7
parente73db72732dcb1bf3d8b1428f16616bbc263e509
drm/i915/dg2: Classify DG2 PHY types

Although the bspec labels four of DG2's outputs as "combo PHY," the
underlying PHYs in both cases are actually Synopsys PHYs that are
programmed completely differently than the traditional Intel "combo" PHY
units.  As such, we don't want intel_phy_is_combo to take us down legacy
programming paths, so just return false from it on DG2.  Instead add a
new intel_phy_is_snps() that will return true for all DG2 PHYs.

Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210714031540.3539704-46-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h