drm/i915/tc: move legacy code out of the main _max_lane_count() func
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 25 Aug 2023 08:16:37 +0000 (11:16 +0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 6 Sep 2023 02:43:21 +0000 (19:43 -0700)
commit6a96c1c63ecdde633675e7cd41a317ba28dd371e
tree85b24b97e917a23fe89404bcf6c7b0c06c3ac87f
parentafaa4ff0bc7820ba98be93efce806a27c3472d9b
drm/i915/tc: move legacy code out of the main _max_lane_count() func

This makes the code a bit more symmetric and readable, especially when
we start adding more display version-specific alternatives.

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-4-luciano.coelho@intel.com
drivers/gpu/drm/i915/display/intel_tc.c