diff options
| author | Laurent Pinchart <[email protected]> | 2017-04-20 21:33:55 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2017-06-02 07:57:06 +0000 |
| commit | d61ce7da02a3c52317474f2a15dd610ec652d513 (patch) | |
| tree | 6d636eaea8b31258d17ad93df135b9321b508da8 /drivers/gpu/drm/omapdrm/omap_fb.c | |
| parent | drm: omapdrm: Rename the omap_gem_object addrs field to dma_addrs (diff) | |
| download | kernel-d61ce7da02a3c52317474f2a15dd610ec652d513.tar.gz kernel-d61ce7da02a3c52317474f2a15dd610ec652d513.zip | |
drm: omapdrm: Rename GEM DMA sync functions
The omap_gem_cpu_sync() function operates at a page level, while the
omap_gem_dma_sync() function operates at a buffer level. Rename them to
omap_gem_cpu_sync_page() and omap_gem_dma_sync_buffer() respectively to
avoid confusion.
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.c | 2 |
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 2e8d77166e1f..ee615fa048a5 100644 --- a/drivers/gpu/drm/omapdrm/omap_fb.c +++ b/drivers/gpu/drm/omapdrm/omap_fb.c @@ -262,7 +262,7 @@ int omap_framebuffer_pin(struct drm_framebuffer *fb) ret = omap_gem_pin(plane->bo, &plane->dma_addr); if (ret) goto fail; - omap_gem_dma_sync(plane->bo, DMA_TO_DEVICE); + omap_gem_dma_sync_buffer(plane->bo, DMA_TO_DEVICE); } omap_fb->pin_count++; |
