summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAbhinav Kumar <abhinavk@codeaurora.org>2020-09-12 23:49:32 +0300
committerRob Clark <robdclark@chromium.org>2020-09-15 20:54:35 +0300
commit158b9aa74479c9979b7b4806cefdbf0c9a72ba49 (patch)
tree6768265267b788f69ada719bc8440524ee63b0e8 /tools/perf/scripts/python
parentbf4a1b3127d34b0b6ee0565b31ff699b3dc9c48e (diff)
downloadlinux-158b9aa74479c9979b7b4806cefdbf0c9a72ba49.tar.xz
drm/msm/dp: wait for audio notification before disabling clocks
In the current implementation, there is a very small window for the audio side to safely signal the hdmi_code_shutdown() before the clocks are disabled. Add some synchronization between the DP display and DP audio module to safely disable the clocks to avoid unclocked access from audio side. In addition, audio side can open the sound card even if DP monitor is not connected. Avoid programming hardware registers in this case and bail out early. Changes in v4: - removed some leftover prints Changes in v5: - fix crash when user tries to play audio in suspended state Changes in v6: - rebased on top of latest patchset of dependency Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions