diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-05-24 09:26:48 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-02-17 06:15:02 +0100 |
commit | bab7cc18d3ba56c9160f4708dbf353eaa3ce1ec5 (patch) | |
tree | a8aa98a2330246dd55fbe8ab98f59a2aea607710 /drivers/gpu/drm/nouveau/nv17_fence.c | |
parent | drm/nouveau/core/memory: distinguish between coherent/non-coherent targets (diff) | |
download | linux-bab7cc18d3ba56c9160f4708dbf353eaa3ce1ec5.tar.xz linux-bab7cc18d3ba56c9160f4708dbf353eaa3ce1ec5.zip |
drm/nouveau: pass nvif_client to nouveau_bo_new() instead of drm_device
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv17_fence.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv17_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv17_fence.c b/drivers/gpu/drm/nouveau/nv17_fence.c index 79bc01111351..5aeda1427ae3 100644 --- a/drivers/gpu/drm/nouveau/nv17_fence.c +++ b/drivers/gpu/drm/nouveau/nv17_fence.c @@ -129,7 +129,7 @@ nv17_fence_create(struct nouveau_drm *drm) priv->base.context_base = dma_fence_context_alloc(priv->base.contexts); spin_lock_init(&priv->lock); - ret = nouveau_bo_new(drm->dev, 4096, 0x1000, TTM_PL_FLAG_VRAM, + ret = nouveau_bo_new(&drm->client, 4096, 0x1000, TTM_PL_FLAG_VRAM, 0, 0x0000, NULL, NULL, &priv->bo); if (!ret) { ret = nouveau_bo_pin(priv->bo, TTM_PL_FLAG_VRAM, false); |