diff options
| author | Natanel Roizenman <[email protected]> | 2024-03-08 12:41:04 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-03-27 01:35:29 -0400 |
| commit | 865d38e690c664f08b26f75731223cc80ec589e8 (patch) | |
| tree | 919dfacfa30f7da97723512d1f39e548d024dc75 /tools/perf/scripts/python/bin | |
| parent | be524af47a82f48022c093ad7992b5eb501877b9 (diff) | |
drm/amd/display: Consolidate HPO enable/disable and restrict only to state transitions.
[WHY]
Previously, we'd disabled HPO whenever an HPO display was disconnected. This
caused other HPO displays to blank whenever one was unplugged.
[HOW]
This change restricts HPO enable/disable to dce110_apply_ctx_to_hw and adds a
helper function (dce110_is_hpo_enabled) that returns true if any HPO displays
are present in a context. We compare the current and previous dc ctx to check
whether HPO is transitioning from on to off or vice versa, and adjust the HPO
state accordingly.
Reviewed-by: Wenjing Liu <[email protected]>
Reviewed-by: Chris Park <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Natanel Roizenman <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions