Linux Audio

Check our new training course

Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __DRM_FB_DMA_HELPER_H__
 3#define __DRM_FB_DMA_HELPER_H__
 4
 5#include <linux/types.h>
 6
 7struct drm_device;
 8struct drm_framebuffer;
 
 9struct drm_plane_state;
 
10
11struct drm_gem_dma_object *drm_fb_dma_get_gem_obj(struct drm_framebuffer *fb,
12	unsigned int plane);
13
14dma_addr_t drm_fb_dma_get_gem_addr(struct drm_framebuffer *fb,
15				   struct drm_plane_state *state,
16				   unsigned int plane);
17
18void drm_fb_dma_sync_non_coherent(struct drm_device *drm,
19				  struct drm_plane_state *old_state,
20				  struct drm_plane_state *state);
 
 
 
21
22#endif
23