diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-02-04 17:49:25 +0200 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-02-05 15:39:44 +0200 |
| commit | a40e718d34d3d02c781c295466b013415f68c4f1 (patch) | |
| tree | 7d01b1d7004fe69c991b9a69163706177aed41ac /drivers/counter | |
| parent | b5ee4c2852d381a8f5351231561aa2faed474fe4 (diff) | |
drm/i915/dp: Fix potential infinite loop in 128b/132b SST
Passing 0 as the step only works when there are other reasons to break
out of the BPP loop in intel_dp_mtp_tu_compute_config(). Otherwise, an
infinite loop might occur. Fix it by explicitly checking for 0 step.
Fixes: ef0a0757bbea ("drm/i915/dp: compute config for 128b/132b SST w/o DSC")
Reported-by: Imre Deak <imre.deak@intel.com>
Closes: https://lore.kernel.org/r/Z6I0knh2Kt5T0JrT@ideak-desk.fi.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250204154925.3001781-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/counter')
0 files changed, 0 insertions, 0 deletions
