diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bo.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 1aa03a83bae0..6d66314d16bd 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include "nouveau_dma.h" | 35 | #include "nouveau_dma.h" |
36 | #include "nouveau_mm.h" | 36 | #include "nouveau_mm.h" |
37 | #include "nouveau_vm.h" | 37 | #include "nouveau_vm.h" |
38 | #include "nouveau_fence.h" | ||
38 | 39 | ||
39 | #include <linux/log2.h> | 40 | #include <linux/log2.h> |
40 | #include <linux/slab.h> | 41 | #include <linux/slab.h> |
@@ -478,7 +479,7 @@ nouveau_bo_move_accel_cleanup(struct nouveau_channel *chan, | |||
478 | struct nouveau_fence *fence = NULL; | 479 | struct nouveau_fence *fence = NULL; |
479 | int ret; | 480 | int ret; |
480 | 481 | ||
481 | ret = nouveau_fence_new(chan, &fence, true); | 482 | ret = nouveau_fence_new(chan, &fence); |
482 | if (ret) | 483 | if (ret) |
483 | return ret; | 484 | return ret; |
484 | 485 | ||
@@ -1196,7 +1197,7 @@ nouveau_bo_fence_ref(void *sync_obj) | |||
1196 | static bool | 1197 | static bool |
1197 | nouveau_bo_fence_signalled(void *sync_obj, void *sync_arg) | 1198 | nouveau_bo_fence_signalled(void *sync_obj, void *sync_arg) |
1198 | { | 1199 | { |
1199 | return nouveau_fence_signalled(sync_obj); | 1200 | return nouveau_fence_done(sync_obj); |
1200 | } | 1201 | } |
1201 | 1202 | ||
1202 | static int | 1203 | static int |