diff options
| author | Jani Nikula <[email protected]> | 2025-02-04 15:49:25 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-02-05 19:42:42 +0000 |
| commit | 069504f1fcfa1532e4e221290df428b15bd9d284 (patch) | |
| tree | 986f61fd298250b6b6bfeb5b91379fe73e535184 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | drm/i915/dp: Iterate DSC BPP from high to low on all platforms (diff) | |
| download | kernel-069504f1fcfa1532e4e221290df428b15bd9d284.tar.gz kernel-069504f1fcfa1532e4e221290df428b15bd9d284.zip | |
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 <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Reviewed-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Jani Nikula <[email protected]>
(cherry picked from commit a40e718d34d3d02c781c295466b013415f68c4f1)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
