aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm/ttm_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_object.c')
-rw-r--r--drivers/gpu/drm/ttm/ttm_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_object.c b/drivers/gpu/drm/ttm/ttm_object.c
index d2a053352789..12c87110db3a 100644
--- a/drivers/gpu/drm/ttm/ttm_object.c
+++ b/drivers/gpu/drm/ttm/ttm_object.c
@@ -695,7 +695,7 @@ int ttm_prime_handle_to_fd(struct ttm_object_file *tfile,
695 } 695 }
696 696
697 dma_buf = dma_buf_export(prime, &tdev->ops, 697 dma_buf = dma_buf_export(prime, &tdev->ops,
698 prime->size, flags); 698 prime->size, flags, NULL);
699 if (IS_ERR(dma_buf)) { 699 if (IS_ERR(dma_buf)) {
700 ret = PTR_ERR(dma_buf); 700 ret = PTR_ERR(dma_buf);
701 ttm_mem_global_free(tdev->mem_glob, 701 ttm_mem_global_free(tdev->mem_glob,