diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2016-02-05 14:35:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-03 15:07:22 -0800 |
commit | bd4419f7ee1978a1dba107a0f112b797b024ce1d (patch) | |
tree | 728198d52b748ef05979d39359209bf5862c62a8 /Documentation/sh | |
parent | 9bf88217c3e18f28482921ad7902ffa178163126 (diff) | |
download | talos-op-linux-bd4419f7ee1978a1dba107a0f112b797b024ce1d.tar.gz talos-op-linux-bd4419f7ee1978a1dba107a0f112b797b024ce1d.zip |
drm/radeon: hold reference to fences in radeon_sa_bo_new
commit f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/sh')
0 files changed, 0 insertions, 0 deletions