aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_fence.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fence.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_fence.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.c b/drivers/gpu/drm/nouveau/nouveau_fence.c
index ff5969d057ea..aca4719c287f 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fence.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fence.c
@@ -32,6 +32,7 @@
32 32
33#include "nouveau_drv.h" 33#include "nouveau_drv.h"
34#include "nouveau_ramht.h" 34#include "nouveau_ramht.h"
35#include "nouveau_software.h"
35#include "nouveau_dma.h" 36#include "nouveau_dma.h"
36 37
37#define USE_REFCNT(dev) (nouveau_private(dev)->chipset >= 0x10) 38#define USE_REFCNT(dev) (nouveau_private(dev)->chipset >= 0x10)
@@ -503,11 +504,6 @@ nouveau_fence_channel_init(struct nouveau_channel *chan)
503 int ret; 504 int ret;
504 505
505 if (dev_priv->card_type < NV_C0) { 506 if (dev_priv->card_type < NV_C0) {
506 /* Create an NV_SW object for various sync purposes */
507 ret = nouveau_gpuobj_gr_new(chan, NvSw, NV_SW);
508 if (ret)
509 return ret;
510
511 ret = RING_SPACE(chan, 2); 507 ret = RING_SPACE(chan, 2);
512 if (ret) 508 if (ret)
513 return ret; 509 return ret;