diff options
author | 2020-02-10 12:41:41 -0500 | |
---|---|---|
committer | 2020-04-01 14:44:45 -0400 | |
commit | bd718638b8513e20a481a67f37a8acc1ebf2d957 (patch) | |
tree | 3fd16c8546827e31e64045fc30e96b9d42a4d0e1 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | drm/amdgpu: skip access sdma_v5_0 registers under SRIOV (v2) (diff) | |
download | linux-rng-bd718638b8513e20a481a67f37a8acc1ebf2d957.tar.xz linux-rng-bd718638b8513e20a481a67f37a8acc1ebf2d957.zip |
drm/amdgpu/vcn: fix race condition issue for vcn start
Fix race condition issue when multiple vcn starts are called.
v2: Removed checking the return value of cancel_delayed_work_sync()
to prevent possible races here.
v3: Add total_submission_cnt to avoid gate power unexpectedly.
v4: Remove extra counter check, and reduce counter before idle
work schedule
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions