diff options
| author | James Zhu <James.Zhu@amd.com> | 2020-02-10 12:52:16 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-01 14:44:45 -0400 |
| commit | e3b41d82dabaf6f1da94df8339afeee66e9b1a7e (patch) | |
| tree | c2251647d564f0e6c2d1dfd92d37261d588f5b7f /tools/perf/scripts/python/netdev-times.py | |
| parent | bd718638b8513e20a481a67f37a8acc1ebf2d957 (diff) | |
| download | linux-e3b41d82dabaf6f1da94df8339afeee66e9b1a7e.tar.gz linux-e3b41d82dabaf6f1da94df8339afeee66e9b1a7e.zip | |
drm/amdgpu/vcn: fix race condition issue for dpg unpause mode switch
Couldn't only rely on enc fence to decide switching to dpg unpaude mode.
Since a enc thread may not schedule a fence in time during multiple
threads running situation.
v3: 1. Rename enc_submission_cnt to dpg_enc_submission_cnt
2. Add dpg_enc_submission_cnt check in idle_work_handler
v4: Remove extra counter check, and reduce counter before idle
work schedule
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
