diff options
author | Peichen Huang <[email protected]> | 2023-12-14 23:16:34 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-01-09 15:43:54 -0500 |
commit | 5f3bce13266e6fe2f7a46f94d8bc94d5274e276b (patch) | |
tree | 028376f9554e1a69f983aae2d600e3c3be6e71fb /rust/helpers/helpers.c | |
parent | a465536ebff88fcc42e131a1b09bbe3df829117b (diff) |
drm/amd/display: Request usb4 bw for mst streams
[WHY]
When usb4 bandwidth allocation mode is enabled, driver need to request
bandwidth from connection manager. For mst link, the requested
bandwidth should be big enough for all remote streams.
[HOW]
- If mst link, the requested bandwidth should be the sum of all mst
streams bandwidth added with dp MTPH overhead.
- Allocate/deallcate usb4 bandwidth when setting dpms on/off.
- When doing display mode validation, driver also need to consider total
bandwidth of all mst streams for mst link.
Reviewed-by: Cruise Hung <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Peichen Huang <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions