1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __DRM_FB_CMA_HELPER_H__ 3 #define __DRM_FB_CMA_HELPER_H__ 4 5 struct drm_framebuffer; 6 struct drm_plane_state; 7 8 struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb, 9 unsigned int plane); 10 11 dma_addr_t drm_fb_cma_get_gem_addr(struct drm_framebuffer *fb, 12 struct drm_plane_state *state, 13 unsigned int plane); 14 15 #endif 16 17