Commit a92e390
drm/i915/dp_mst: Use the correct connector while computing the link BPP limit on MST
Atm, on an MST link in DSC mode
intel_dp_compute_config_link_bpp_limits() calculates the maximum link
bpp limit using the MST root connector's DSC capabilities. That's not
correct in general: the decompression could be performed by a branch
device downstream of the root branch device or the sink itself.
Fix the above by passing to intel_dp_compute_config_link_bpp_limits()
the actual connector being modeset, containing the correct DSC
capabilities.
Cc: Ankit Nautiyal <[email protected]>
Fixes: 1c5b72d ("drm/i915/dp: Set the DSC link limits in intel_dp_compute_config_link_bpp_limits")
Reviewed-by: Ankit Nautiyal <[email protected]>
Reviewed-by: Luca Coelho <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit 266e2fc)
Signed-off-by: Joonas Lahtinen <[email protected]>1 parent 1faeeb3 commit a92e390
File tree
3 files changed
+8
-5
lines changed- drivers/gpu/drm/i915/display
3 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2524 | 2524 | | |
2525 | 2525 | | |
2526 | 2526 | | |
| 2527 | + | |
2527 | 2528 | | |
2528 | 2529 | | |
2529 | 2530 | | |
| |||
2577 | 2578 | | |
2578 | 2579 | | |
2579 | 2580 | | |
2580 | | - | |
| 2581 | + | |
2581 | 2582 | | |
2582 | 2583 | | |
2583 | 2584 | | |
| |||
2638 | 2639 | | |
2639 | 2640 | | |
2640 | 2641 | | |
2641 | | - | |
| 2642 | + | |
2642 | 2643 | | |
2643 | 2644 | | |
2644 | 2645 | | |
| |||
2672 | 2673 | | |
2673 | 2674 | | |
2674 | 2675 | | |
2675 | | - | |
| 2676 | + | |
2676 | 2677 | | |
2677 | 2678 | | |
2678 | 2679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
| 607 | + | |
| 608 | + | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| |||
0 commit comments