Skip to content

Commit ad26d56

Browse files
vsyrjalajlahtine-intel
authored andcommitted
drm/i915/dp: Limit SST link rate to <=8.1Gbps
Limit the link rate to HBR3 or below (<=8.1Gbps) in SST mode. UHBR (10Gbps+) link rates require 128b/132b channel encoding which we have not yet hooked up into the SST/no-sideband codepaths. Cc: stable@vger.kernel.org Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240208154552.14545-1-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com> (cherry picked from commit 6061811) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
1 parent 962ac2d commit ad26d56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,9 @@ intel_dp_compute_config_limits(struct intel_dp *intel_dp,
23552355
limits->min_rate = intel_dp_common_rate(intel_dp, 0);
23562356
limits->max_rate = intel_dp_max_link_rate(intel_dp);
23572357

2358+
/* FIXME 128b/132b SST support missing */
2359+
limits->max_rate = min(limits->max_rate, 810000);
2360+
23582361
limits->min_lane_count = 1;
23592362
limits->max_lane_count = intel_dp_max_lane_count(intel_dp);
23602363

0 commit comments

Comments
 (0)