diff options
| author | Dillon Varone <[email protected]> | 2025-04-28 16:34:27 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-13 13:27:36 +0000 |
| commit | dd141b16b3a2979a01194615dfe87dbba9d87045 (patch) | |
| tree | e36e860b6ebe610f498f4433e39b43f9be2587e9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd/display: Correct the reply value when AUX write incomplete (diff) | |
| download | kernel-dd141b16b3a2979a01194615dfe87dbba9d87045.tar.gz kernel-dd141b16b3a2979a01194615dfe87dbba9d87045.zip | |
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 <[email protected]>
Signed-off-by: Dillon Varone <[email protected]>
Signed-off-by: Ray Wu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
