commit | f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Fri Feb 05 14:35:53 2016 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Feb 10 14:07:44 2016 -0500 |
tree | af5411ce6dd25d290d0e56c731cdd12ed63660aa | |
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