diff options
| author | Nicholas Kazlauskas <[email protected]> | 2023-12-04 16:35:04 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-12-19 14:59:02 -0500 |
| commit | 8892780834ae294bc3697c7d0e056d7743900b39 (patch) | |
| tree | e3c922fff2a065f68930faf8c529af631a76cd2c /tools/perf/scripts/python/flamegraph.py | |
| parent | 8e57c06bf4b0f51a4d6958e15e1a99c9520d00fa (diff) | |
drm/amd/display: Wake DMCUB before sending a command
[Why]
We can hang in place trying to send commands when the DMCUB isn't
powered on.
[How]
For functions that execute within a DC context or DC lock we can
wrap the direct calls to dm_execute_dmub_cmd/list with code that
exits idle power optimizations and reallows once we're done with
the command submission on success.
For DM direct submissions the DM will need to manage the enter/exit
sequencing manually.
We cannot invoke a DMCUB command directly within the DM execution
helper or we can deadlock.
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Hansen Dsouza <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions