aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fb.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2017-04-20 21:33:50 +0000
committerTomi Valkeinen <[email protected]>2017-06-02 07:57:04 +0000
commitaa0408bcb1b8c2c5941b6e0e7ce0ad2b733bb971 (patch)
tree692f3b47ecfaac0b02bfba90cc2f0e5d34e77dec /drivers/gpu/drm/omapdrm/omap_fb.c
parentdrm: omapdrm: Add zpos property (diff)
downloadkernel-aa0408bcb1b8c2c5941b6e0e7ce0ad2b733bb971.tar.gz
kernel-aa0408bcb1b8c2c5941b6e0e7ce0ad2b733bb971.zip
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 <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fb.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c
index 5ca0537bb427..5fc240f3a67e 100644
--- a/drivers/gpu/drm/omapdrm/omap_fb.c
+++ b/drivers/gpu/drm/omapdrm/omap_fb.c
@@ -258,7 +258,7 @@ int omap_framebuffer_pin(struct drm_framebuffer *fb)
for (i = 0; i < n; i++) {
struct plane *plane = &omap_fb->planes[i];
- ret = omap_gem_get_paddr(plane->bo, &plane->paddr, true);
+ ret = omap_gem_get_paddr(plane->bo, &plane->paddr);
if (ret)
goto fail;
omap_gem_dma_sync(plane->bo, DMA_TO_DEVICE);