aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorEric Huang <JinhuiEric.Huang@amd.com>2019-07-09 15:33:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-07-11 14:37:24 -0500
commit70df8273ca0cebd2bba443a4444b4944a5929151 (patch)
treeaba0381400e3b31c1b7d2c73fab6d376e38810c2 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent63e2fef631383b9a44a2b727b9507fe058cba9c1 (diff)
drm/amdkfd: fix cp hang in eviction
The cp hang occurs in OCL conformance test only on supermicro platform which has 40 cores and the test generates 40 threads. The root cause is race condition in non-protected flags. The fix is to add flags of is_evicted and is_active(init_mqd()) into protected area. Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions