aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2016-08-22 08:54:07 +0000
committerNicholas Bellinger <[email protected]>2016-10-21 08:19:41 +0000
commit1b4c59b7a1d0b9d8019254a5f2e35b2663f49a9e (patch)
tree205b14587942953e85ff09798ac87d7ce1497f30 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentRevert "target: Fix residual overflow handling in target_complete_cmd_with_le... (diff)
downloadkernel-1b4c59b7a1d0b9d8019254a5f2e35b2663f49a9e.tar.gz
kernel-1b4c59b7a1d0b9d8019254a5f2e35b2663f49a9e.zip
target: fix potential race window in target_sess_cmd_list_waiting()
target_sess_cmd_list_waiting() might hit on a condition where the kref for the command is already 0, but the destructor has not been called yet (or is stuck in waiting for a spin lock). Rather than leaving the command on the list we should explicitly remove it to avoid race issues later on. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions