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/nv84_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/nv84_fence.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv84_fence.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nv84_fence.c b/drivers/gpu/drm/nouveau/nv84_fence.c index 52b87ae83e7b..be30aaf698a9 100644 --- a/drivers/gpu/drm/nouveau/nv84_fence.c +++ b/drivers/gpu/drm/nouveau/nv84_fence.c @@ -219,8 +219,8 @@ nv84_fence_create(struct nouveau_drm *drm) * will lose CPU/GPU coherency! */ TTM_PL_FLAG_TT | TTM_PL_FLAG_UNCACHED; - ret = nouveau_bo_new(drm->dev, 16 * priv->base.contexts, 0, domain, 0, - 0, NULL, NULL, &priv->bo); + ret = nouveau_bo_new(&drm->client, 16 * priv->base.contexts, 0, + domain, 0, 0, NULL, NULL, &priv->bo); if (ret == 0) { ret = nouveau_bo_pin(priv->bo, domain, false); if (ret == 0) { @@ -233,7 +233,7 @@ nv84_fence_create(struct nouveau_drm *drm) } if (ret == 0) - ret = nouveau_bo_new(drm->dev, 16 * priv->base.contexts, 0, + ret = nouveau_bo_new(&drm->client, 16 * priv->base.contexts, 0, TTM_PL_FLAG_TT | TTM_PL_FLAG_UNCACHED, 0, 0, NULL, NULL, &priv->bo_gart); if (ret == 0) { |