summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2020-01-16 09:16:18 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-02-06 15:04:37 -0500
commitb1e9da7f7dd4a7bfeb8c0819cfd97db672229e42 (patch)
tree415c1eb2cff8f44a3455bc948fc2deb21b76daf1 /tools/perf/scripts/python
parentfbbd3f8f6b8fd0165ed95cc0236cd482175a0403 (diff)
downloadlinux-b1e9da7f7dd4a7bfeb8c0819cfd97db672229e42.tar.gz
linux-b1e9da7f7dd4a7bfeb8c0819cfd97db672229e42.zip
drm/amd/display: Wait for clean shutdown in DMCUB reset
[Why] The DMCUB may be currently executing commands when the reset is triggered. Before issuing a reset we should first wait for the DMCUB to finish its work. [How] Send the GPINT command for halting the firmware before reset. Get the ack for the command then wait for the scratch register to become the correct value. We want this to take under ~40us or so at most before we force reset to cover PHY delay sequence max time. Each register read will be at least ~1-3us so don't bother using udelay. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions