File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
drivers/media/platform/nvidia/tegra-vde Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ static void tegra_vde_release_entry(struct tegra_vde_cache_entry *entry)
38
38
if (entry -> vde -> domain )
39
39
tegra_vde_iommu_unmap (entry -> vde , entry -> iova );
40
40
41
- dma_buf_unmap_attachment (entry -> a , entry -> sgt , entry -> dma_dir );
41
+ dma_buf_unmap_attachment_unlocked (entry -> a , entry -> sgt , entry -> dma_dir );
42
42
dma_buf_detach (dmabuf , entry -> a );
43
43
dma_buf_put (dmabuf );
44
44
@@ -102,7 +102,7 @@ int tegra_vde_dmabuf_cache_map(struct tegra_vde *vde,
102
102
goto err_unlock ;
103
103
}
104
104
105
- sgt = dma_buf_map_attachment (attachment , dma_dir );
105
+ sgt = dma_buf_map_attachment_unlocked (attachment , dma_dir );
106
106
if (IS_ERR (sgt )) {
107
107
dev_err (dev , "Failed to get dmabufs sg_table\n" );
108
108
err = PTR_ERR (sgt );
@@ -152,7 +152,7 @@ int tegra_vde_dmabuf_cache_map(struct tegra_vde *vde,
152
152
err_free :
153
153
kfree (entry );
154
154
err_unmap :
155
- dma_buf_unmap_attachment (attachment , sgt , dma_dir );
155
+ dma_buf_unmap_attachment_unlocked (attachment , sgt , dma_dir );
156
156
err_detach :
157
157
dma_buf_detach (dmabuf , attachment );
158
158
err_unlock :
You can’t perform that action at this time.
0 commit comments