Re: [PATCH 2/3] drm/amdgpu: Make pin_size values atomic

2018-07-12 Thread Christian König
Am 11.07.2018 um 18:23 schrieb Michel Dänzer: From: Michel Dänzer Concurrent execution of the non-atomic arithmetic could result in completely bogus values. Cc: sta...@vger.kernel.org Bugzilla: https://bugs.freedesktop.org/106872 Signed-off-by: Michel Dänzer Reviewed-by: Christian König

[PATCH 2/3] drm/amdgpu: Make pin_size values atomic

2018-07-11 Thread Michel Dänzer
From: Michel Dänzer Concurrent execution of the non-atomic arithmetic could result in completely bogus values. Cc: sta...@vger.kernel.org Bugzilla: https://bugs.freedesktop.org/106872 Signed-off-by: Michel Dänzer --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 6 +++--- drivers/gpu/drm/amd/a