Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[linux-2.6-microblaze.git] / include / drm / drm_fb_cma_helper.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __DRM_FB_CMA_HELPER_H__
3 #define __DRM_FB_CMA_HELPER_H__
4
5 #include <linux/types.h>
6
7 struct drm_framebuffer;
8 struct drm_plane_state;
9
10 struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb,
11         unsigned int plane);
12
13 dma_addr_t drm_fb_cma_get_gem_addr(struct drm_framebuffer *fb,
14                                    struct drm_plane_state *state,
15                                    unsigned int plane);
16
17 #endif
18