]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - include/drm/drm_fb_cma_helper.h
Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[mirror_ubuntu-jammy-kernel.git] / include / drm / drm_fb_cma_helper.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
2e3b3c42
LPC
2#ifndef __DRM_FB_CMA_HELPER_H__
3#define __DRM_FB_CMA_HELPER_H__
4
9d10fc26
BG
5#include <linux/types.h>
6
2e3b3c42 7struct drm_framebuffer;
196594ef 8struct drm_plane_state;
2e3b3c42 9
2e3b3c42
LPC
10struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb,
11 unsigned int plane);
12
4636ce93
YF
13dma_addr_t drm_fb_cma_get_gem_addr(struct drm_framebuffer *fb,
14 struct drm_plane_state *state,
15 unsigned int plane);
16
2e3b3c42
LPC
17#endif
18