diff options
author | Wenjing Liu <[email protected]> | 2022-06-13 11:45:31 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-07-13 11:25:16 -0400 |
commit | 017860c909b03fa687d29a1ca46390ba9a007b2a (patch) | |
tree | 27cba141a01ee1849c7998e3180895fd783a112f /tools/perf/scripts/python/compaction-times.py | |
parent | 57b9f3384c64e37bbdad7f127625ac3733d11e5c (diff) |
drm/amd/display: make enable link independent from verified link caps
[why]
Ideally link capability should be independent from the link
configuration that we decide to use in enable link. Otherwise if link
capability is changed after validation has completed, we could end up
enabling a link configuration with invalid configuration. This would
lead to over link bandwidth subscription or in the extreme case
causes us to enable HPO link to a DIO stream.
[how]
Add a new struct in pipe ctx called link config. This structure will
contain link configuration to enable a link. It will be populated
during map pool resources after we validate link bandwidth. Remove
the reference of verified link cap during enable link process and
use link config in pipe ctx instead.
Reviewed-by: George Shen <[email protected]>
Acked-by: Solomon Chiu <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions