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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
committed by
Tomi Valkeinen
parent
57c22f7cc2
commit
d61ce7da02
@ -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++;
|
||||
|
Reference in New Issue
Block a user