diff options
author | Samson Tam <[email protected]> | 2023-11-28 16:53:12 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-12-15 12:16:58 -0500 |
commit | 0f657938e4345a77be871d906f3e0de3c58a7a49 (patch) | |
tree | 1d2a4c42dbe03592edccb2096217994e2b4d1dd2 /scripts/generate_rust_analyzer.py | |
parent | 7046ca9c1ba64938f1b498026419d47b0993c69f (diff) |
drm/amd/display: do not send commands to DMUB if DMUB is inactive from S3
[Why]
On resume from S3, may get apply_idle_optimizations call while DMUB
is inactive which will just time out.
[How]
Set and track power state in dmub_srv and check power state before
sending commands to DMUB. Add interface in both dmub_srv and
dc_dmub_srv
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Signed-off-by: Samson Tam <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions