]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix for PHY_MISC_TC1 offset
authorJouni Högander <jouni.hogander@intel.com>
Fri, 18 Feb 2022 01:03:26 +0000 (17:03 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 19 Feb 2022 00:03:30 +0000 (16:03 -0800)
commit13098f0a77517bce7487a5c9f55b40e8d047bf9c
treee35527f676beea04182aa246ab0c3d24a9a7b629
parent7aa19732403d9cf45bbae8e9c33ba73abd7ec33f
drm/i915: Fix for PHY_MISC_TC1 offset

Currently ICL_PHY_MISC macro is returning offset 0x64C10 for PHY_E.
The PORT_TC1 port is not yet enabled properly in the driver, but
intel_phy_snps.c is relying on intel_phy_is_snps() to filter out
unavailable phys. That function was already considering the last phy as
available. Just correct the offset of the last phy to 0x64C14 as the
rest of the support for it is coming on next commits.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220218010328.183423-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_snps_phy.c
drivers/gpu/drm/i915/i915_reg.h