diff options
| author | Yongqiang Sun <yongqiang.sun@amd.com> | 2021-02-26 11:07:37 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-23 23:02:46 -0400 |
| commit | 6804287bd1421f290065081db4b1a93c2fd2c591 (patch) | |
| tree | ee108a9c241a21d31b6939805636dffabd264358 /tools/perf/scripts/python | |
| parent | drm/amd/display: Fix warning (diff) | |
| download | linux-6804287bd1421f290065081db4b1a93c2fd2c591.tar.gz linux-6804287bd1421f290065081db4b1a93c2fd2c591.zip | |
drm/amd/display: Fixed read/write pointer issue for get dmub trace
[Why]
Driver get wrap around dmub trace data due to read pointer being
increased incorrectly when there are multiple interrupt
queues with very short interval
[How]
Check read/write pointer before copying data from ring buffer
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
