diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2016-02-05 14:35:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 14:07:44 -0500 |
commit | f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb (patch) | |
tree | af5411ce6dd25d290d0e56c731cdd12ed63660aa /net/unix/af_unix.c | |
parent | b19763d0d867eb863953500a5c87f2fd663863b8 (diff) |
drm/radeon: hold reference to fences in radeon_sa_bo_new
An arbitrary amount of time can pass between spin_unlock and
radeon_fence_wait_any, so we need to ensure that nobody frees the
fences from under us.
Based on the analogous fix for amdgpu.
Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions