File Index
Files and directories
Sign in
FILE

omap_fb.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/omapdrm/omap_fb.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * omap_fb.h -- OMAP DRM Framebuffer
 4 *
 5 * Copyright (C) 2011 Texas Instruments
 6 * Author: Rob Clark <rob@ti.com>
 7 */
 8
 9#ifndef __OMAPDRM_FB_H__
10#define __OMAPDRM_FB_H__
11
12struct drm_connector;
13struct drm_device;
14struct drm_file;
15struct drm_framebuffer;
16struct drm_format_info;
17struct drm_gem_object;
18struct drm_mode_fb_cmd2;
19struct drm_plane_state;
20struct omap_overlay_info;
21struct seq_file;
22
23struct drm_framebuffer *omap_framebuffer_create(struct drm_device *dev,
24		struct drm_file *file, const struct drm_format_info *info,
25		const struct drm_mode_fb_cmd2 *mode_cmd);
26struct drm_framebuffer *omap_framebuffer_init(struct drm_device *dev,
27		const struct drm_format_info *info,
28		const struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object **bos);
29int omap_framebuffer_pin(struct drm_framebuffer *fb);
30void omap_framebuffer_unpin(struct drm_framebuffer *fb);
31void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
32		struct drm_plane_state *state,
33		struct omap_overlay_info *info,
34		struct omap_overlay_info *r_info);
35bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb);
36void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
37
38#endif /* __OMAPDRM_FB_H__ */
~/ Read-only file preview.