Files
linux/drivers/gpu/drm
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
..
2017-08-29 06:20:31 +10:00
2017-08-10 11:26:49 +10:00
2017-08-18 09:10:46 +02:00
2017-08-16 21:35:57 +02:00
2017-08-11 10:49:21 +02:00