aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2020-02-10 12:52:16 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-04-01 14:44:45 -0400
commite3b41d82dabaf6f1da94df8339afeee66e9b1a7e (patch)
treec2251647d564f0e6c2d1dfd92d37261d588f5b7f /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentdrm/amdgpu/vcn: fix race condition issue for vcn start (diff)
downloadlinux-rng-e3b41d82dabaf6f1da94df8339afeee66e9b1a7e.tar.xz
linux-rng-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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions