Commit a4efae8
committed
drm/i915/dp: Compute DP tunnel BW during encoder state computation
Compute the BW required through a DP tunnel on links with such tunnels
detected and add the corresponding atomic state during a modeset.
v2:
- Fix error check of intel_dp_tunnel_compute_stream_bw(). (Ville)
- Move intel_dp_tunnel_atomic_cleanup_inherited_state() to this patch.
(Ville)
- Move intel_dp_tunnel_atomic_clear_stream_bw() to this patch.
Reviewed-by: Uma Shankar <uma.shankar@intel.com> (v1)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240220211841.448846-16-imre.deak@intel.com1 parent 259e2e0 commit a4efae8
4 files changed
Lines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
355 | 357 | | |
356 | 358 | | |
357 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4541 | 4541 | | |
4542 | 4542 | | |
4543 | 4543 | | |
| 4544 | + | |
| 4545 | + | |
4544 | 4546 | | |
4545 | 4547 | | |
4546 | 4548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2875 | 2875 | | |
2876 | 2876 | | |
2877 | 2877 | | |
| 2878 | + | |
2878 | 2879 | | |
2879 | 2880 | | |
2880 | 2881 | | |
| |||
2975 | 2976 | | |
2976 | 2977 | | |
2977 | 2978 | | |
2978 | | - | |
| 2979 | + | |
| 2980 | + | |
2979 | 2981 | | |
2980 | 2982 | | |
2981 | 2983 | | |
| |||
6066 | 6068 | | |
6067 | 6069 | | |
6068 | 6070 | | |
| 6071 | + | |
| 6072 | + | |
| 6073 | + | |
| 6074 | + | |
| 6075 | + | |
| 6076 | + | |
| 6077 | + | |
| 6078 | + | |
| 6079 | + | |
6069 | 6080 | | |
6070 | 6081 | | |
6071 | 6082 | | |
6072 | 6083 | | |
6073 | 6084 | | |
6074 | 6085 | | |
6075 | 6086 | | |
6076 | | - | |
6077 | | - | |
6078 | | - | |
6079 | 6087 | | |
6080 | 6088 | | |
6081 | 6089 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
523 | 524 | | |
524 | 525 | | |
525 | 526 | | |
| 527 | + | |
526 | 528 | | |
527 | 529 | | |
528 | 530 | | |
| |||
619 | 621 | | |
620 | 622 | | |
621 | 623 | | |
622 | | - | |
| 624 | + | |
| 625 | + | |
623 | 626 | | |
624 | 627 | | |
625 | 628 | | |
| |||
876 | 879 | | |
877 | 880 | | |
878 | 881 | | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
879 | 890 | | |
880 | 891 | | |
881 | 892 | | |
| |||
0 commit comments