diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-10-31 18:56:20 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-11-02 04:32:33 +0100 |
commit | 3c5026395bcdaa956fa5c6ec7571f1a04847c74b (patch) | |
tree | 8f31bd9028a8a38b22692cd875baf9327bb49199 /drivers/gpu/drm/nouveau/nouveau_ttm.c | |
parent | drm/nouveau: allocate vmm object for every client (diff) | |
download | linux-3c5026395bcdaa956fa5c6ec7571f1a04847c74b.tar.xz linux-3c5026395bcdaa956fa5c6ec7571f1a04847c74b.zip |
drm/nouveau: switch to vmm limit
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c b/drivers/gpu/drm/nouveau/nouveau_ttm.c index f64a55421a96..15c1091cccb5 100644 --- a/drivers/gpu/drm/nouveau/nouveau_ttm.c +++ b/drivers/gpu/drm/nouveau/nouveau_ttm.c @@ -323,7 +323,7 @@ nouveau_ttm_init(struct nouveau_drm *drm) /* GART init */ if (!drm->agp.bridge) { - drm->gem.gart_available = nvxx_mmu(&drm->client.device)->limit; + drm->gem.gart_available = drm->client.vmm.vmm.limit; } else { drm->gem.gart_available = drm->agp.size; } |