XenevaOS
Loading...
Searching...
No Matches
drm_fb_dma_helper.h
Go to the documentation of this file.
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;
10struct drm_plane_state;
12
14 unsigned int plane);
15
17 struct drm_plane_state *state,
18 unsigned int plane);
19
21 struct drm_plane_state *old_state,
22 struct drm_plane_state *state);
23
25 struct drm_scanout_buffer *sb);
26
27#endif
28
int drm_fb_dma_get_scanout_buffer(struct drm_plane *plane, struct drm_scanout_buffer *sb)
dma_addr_t drm_fb_dma_get_gem_addr(struct drm_framebuffer *fb, struct drm_plane_state *state, unsigned int plane)
void drm_fb_dma_sync_non_coherent(struct drm_device *drm, struct drm_plane_state *old_state, struct drm_plane_state *state)
struct drm_gem_dma_object * drm_fb_dma_get_gem_obj(struct drm_framebuffer *fb, unsigned int plane)
struct drm_plane * plane
Definition drm_plane.h:828
uintptr_t dma_addr_t
Definition kernel.h:42
Definition drm_device.h:75
Definition drm_framebuffer.h:120
Definition drm_gem_dma_helper.h:21
Definition drm_plane.h:54
Definition drm_plane.h:641
Definition drm_panic.h:24
#define state(x)