Message ID | 20240123021949.1288562-1-airlied@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/qxl: pass a device into ttm init. | expand |
diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c index 1a82629bce3f..1876419ea237 100644 --- a/drivers/gpu/drm/qxl/qxl_ttm.c +++ b/drivers/gpu/drm/qxl/qxl_ttm.c @@ -195,7 +195,7 @@ int qxl_ttm_init(struct qxl_device *qdev) int num_io_pages; /* != rom->num_io_pages, we include surface0 */ /* No others user of address space so set it to 0 */ - r = ttm_device_init(&qdev->mman.bdev, &qxl_bo_driver, NULL, + r = ttm_device_init(&qdev->mman.bdev, &qxl_bo_driver, qdev->ddev.dev, qdev->ddev.anon_inode->i_mapping, qdev->ddev.vma_offset_manager, false, false);