drm/nouveau: require reservations for nouveau_fence_sync and nouveau_bo_fence
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 21 Jan 2014 12:02:14 +0000 (13:02 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 1 Sep 2014 08:16:43 +0000 (10:16 +0200)
commitbdaf7ddf652ef51fd363b052e320711c06f6f553
tree2c819bda873b7b9271f40c5b09a7a8e1b92c9b75
parentd0b3c3b6c26c6eed1ba3fa37242dfc8942b5e997
drm/nouveau: require reservations for nouveau_fence_sync and nouveau_bo_fence

This will ensure we always hold the required lock when calling those functions.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_display.c