summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2017-04-21 00:33:50 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-06-02 10:57:04 +0300
commitaa0408bcb1b8c2c5941b6e0e7ce0ad2b733bb971 (patch)
tree692f3b47ecfaac0b02bfba90cc2f0e5d34e77dec /drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
parentdff6c24698a4d05d9a90de97612ec520c6fa8bd8 (diff)
downloadlinux-aa0408bcb1b8c2c5941b6e0e7ce0ad2b733bb971.tar.bz2
drm: omapdrm: Remove remap argument to omap_gem_get_paddr()
The function is always called with the remap argument set to true. Hardcode that behaviour and remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
index 0dbe0306953d..024cf27d74db 100644
--- a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
+++ b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
@@ -41,7 +41,7 @@ static struct sg_table *omap_gem_map_dma_buf(
/* camera, etc, need physically contiguous.. but we need a
* better way to know this..
*/
- ret = omap_gem_get_paddr(obj, &paddr, true);
+ ret = omap_gem_get_paddr(obj, &paddr);
if (ret)
goto out;