Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 2 | #ifndef __DRM_FB_CMA_HELPER_H__ |
| 3 | #define __DRM_FB_CMA_HELPER_H__ |
| 4 | |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 5 | struct drm_framebuffer; |
Marek Vasut | 196594e | 2016-11-15 11:55:29 +0100 | [diff] [blame] | 6 | struct drm_plane_state; |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 7 | |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 8 | struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb, |
| 9 | unsigned int plane); |
| 10 | |
Yannick Fertre | 4636ce9 | 2017-04-14 12:13:32 +0200 | [diff] [blame] | 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 | |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 15 | #endif |
| 16 | |