aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_ttm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_ttm.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_ttm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c b/drivers/gpu/drm/nouveau/nouveau_ttm.c
index d45d50da978f..be3a3c9feafa 100644
--- a/drivers/gpu/drm/nouveau/nouveau_ttm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_ttm.c
@@ -376,7 +376,9 @@ nouveau_ttm_init(struct nouveau_drm *drm)
376 376
377 ret = ttm_bo_device_init(&drm->ttm.bdev, 377 ret = ttm_bo_device_init(&drm->ttm.bdev,
378 drm->ttm.bo_global_ref.ref.object, 378 drm->ttm.bo_global_ref.ref.object,
379 &nouveau_bo_driver, DRM_FILE_PAGE_OFFSET, 379 &nouveau_bo_driver,
380 dev->anon_inode->i_mapping,
381 DRM_FILE_PAGE_OFFSET,
380 bits <= 32 ? true : false); 382 bits <= 32 ? true : false);
381 if (ret) { 383 if (ret) {
382 NV_ERROR(drm, "error initialising bo driver, %d\n", ret); 384 NV_ERROR(drm, "error initialising bo driver, %d\n", ret);