diff options
| author | Dillon Varone <dillon.varone@amd.com> | 2025-04-28 12:34:27 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-13 09:27:36 -0400 |
| commit | dd141b16b3a2979a01194615dfe87dbba9d87045 (patch) | |
| tree | e36e860b6ebe610f498f4433e39b43f9be2587e9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7ac37f0dcd2e0b729fa7b5513908dc8ab802b540 (diff) | |
drm/amd/display: Fix race in dmub_srv_wait_for_pending
[WHY]
If commands are being submitted to DMCUB while concurrently waiting for
pending commands to complete, rptr and wptr may never match again, and
reported command count will not update.
[HOW]
Modify dmub_srv_wait_for_pending to constantly check wptr and rptr
match, and update inbox status whenever a message is sent to avoid the
race and determine message completion or idle as quickly as possible.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
