commit | 9af20792124850369e764965690b99b20623dfc4 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Dec 11 23:42:24 2012 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Dec 14 10:45:23 2012 -0500 |
tree | f8cea8c80e4ae11b414d9e0f529ade0c51201e6f | |
parent | 2c385151ed6db8ded2faa3328f0377e6c5fa1e89 [diff] |
drm/radeon: fix fence locking in the pageflip callback We need to hold bdev->fence_lock while grabbing a reference to the fence, to prevent concurrent clearing/changing of the ttm_bo->sync_obj field. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>