drm/i915/lnl: Fix check for TC phy
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 26 Oct 2023 18:40:45 +0000 (11:40 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sun, 29 Oct 2023 23:39:33 +0000 (16:39 -0700)
commit28066f38d94f846e66f4116a8b1c409b47072011
tree741fc88b19b9b03299579a71f3f2534ddc602a1c
parent10184a8a7f70d28ba6aae22142a7375a8c8c1924
drm/i915/lnl: Fix check for TC phy

With MTL adding PICA between the port and the real phy, the path
add for DG2 stopped being followed and newer platforms are simply using
the older path for TC phys. LNL is no different than MTL in this aspect,
so just add it to the mess. In future the phy and port designation and
deciding if it's TC should better be cleaned up.

To make it just a bit better, also change intel_phy_is_snps() to show
this is DG2-only.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231026184045.1015655-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display.c