diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2023-08-25 11:16:38 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-09-05 19:43:22 -0700 |
commit | 182ccc43aa80b468ac210cb03176f1726f2be993 (patch) | |
tree | 962662ae4d30dcf3daa1e26647821d72c374dbaf /drivers/gpu/drm/i915/display/intel_cx0_phy.c | |
parent | 6a96c1c63ecdde633675e7cd41a317ba28dd371e (diff) | |
download | linux-182ccc43aa80b468ac210cb03176f1726f2be993.tar.gz linux-182ccc43aa80b468ac210cb03176f1726f2be993.tar.bz2 linux-182ccc43aa80b468ac210cb03176f1726f2be993.zip |
drm/i915/tc: remove "fia" from intel_tc_port_fia_max_lane_count()
It is irrelevant for the caller that the max lane count is being
derived from a FIA register, so having "fia" in the function name is
irrelevant. Rename the function accordingly.
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230825081638.275795-5-luciano.coelho@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_cx0_phy.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_cx0_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/display/intel_cx0_phy.c index dd489b50ad60..4846f50e7cd5 100644 --- a/drivers/gpu/drm/i915/display/intel_cx0_phy.c +++ b/drivers/gpu/drm/i915/display/intel_cx0_phy.c @@ -58,7 +58,7 @@ static u8 intel_cx0_get_owned_lane_mask(struct drm_i915_private *i915, * In DP-alt with pin assignment D, only PHY lane 0 is owned * by display and lane 1 is owned by USB. */ - return intel_tc_port_fia_max_lane_count(dig_port) > 2 + return intel_tc_port_max_lane_count(dig_port) > 2 ? INTEL_CX0_BOTH_LANES : INTEL_CX0_LANE0; } |