File Index
Files and directories
Sign in
FILE

drm_fbdev_ttm.h

File preview with syntax highlighting.

linux-6.19.14/include/drm/drm_fbdev_ttm.h C
 1/* SPDX-License-Identifier: MIT */
 2
 3#ifndef DRM_FBDEV_TTM_H
 4#define DRM_FBDEV_TTM_H
 5
 6#include <linux/stddef.h>
 7
 8struct drm_fb_helper;
 9struct drm_fb_helper_surface_size;
10
11#ifdef CONFIG_DRM_FBDEV_EMULATION
12int drm_fbdev_ttm_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
13				     struct drm_fb_helper_surface_size *sizes);
14
15#define DRM_FBDEV_TTM_DRIVER_OPS \
16	.fbdev_probe = drm_fbdev_ttm_driver_fbdev_probe
17#else
18#define DRM_FBDEV_TTM_DRIVER_OPS \
19	.fbdev_probe = NULL
20#endif
21
22#endif
~/ Read-only file preview.