diff options
author | Samson Tam <samson.tam@amd.com> | 2023-11-28 16:53:12 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-15 12:16:58 -0500 |
commit | 0f657938e4345a77be871d906f3e0de3c58a7a49 (patch) | |
tree | 1d2a4c42dbe03592edccb2096217994e2b4d1dd2 /tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.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 <nicholas.kazlauskas@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py')
0 files changed, 0 insertions, 0 deletions