linux_dsm_epyc7002/drivers/gpu/drm/amd
Jerry Zuo e8cd26434d drm/amd/display: Use atomic types for ref_count
Current ref_count inc/dec is not guarded by locks which leads to
a raced condition where two threads try to access the variable
at the same time. In this case, both might act on the same cached
value and inc/dec from the same value, rather than inc/dec by 2.

Signed-off-by: Jerry Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 18:16:36 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdgpu: disable DC on KB/ML for now 2017-09-26 18:16:35 -04:00
amdkfd drm/amdkfd: Use PASID manager from KGD 2017-09-26 13:07:04 -04:00
display drm/amd/display: Use atomic types for ref_count 2017-09-26 18:16:36 -04:00
include drm/amd: Add missing SURFACE_TMZ register shift/mask 2017-09-26 18:15:20 -04:00
lib drm/amd: Closed hash table with low overhead (v2) 2017-09-26 14:53:19 -04:00
powerplay drm/amd/powerplay: delete dead code in smumgr 2017-09-26 15:14:36 -04:00
scheduler drm/amdgpu: discard commands of killed processes 2017-08-29 15:27:42 -04:00