drm/radeon: fix fence locking in the pageflip callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Dec 2012 22:42:24 +0000 (23:42 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2012 15:45:23 +0000 (10:45 -0500)
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>

No differences found