diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2021-02-23 15:16:44 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-23 23:02:38 -0400 |
commit | 3c934f454dae53c56a983226516acb014244a8d0 (patch) | |
tree | eecd268c08f3804c84e567ffc6f309c7e3ae4cf0 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | |
parent | 0c66824be8f459f3f7010bb90c236d3142006e37 (diff) |
drm/amd/display: Read all the trace entry if it is not empty
[Why]
If interval of two interrupt from dmub outbox0 is too short,
some event might be skipped
[How]
Compare read pointer and write pointer until all the event
entry is processed
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h')
0 files changed, 0 insertions, 0 deletions