File Index
Files and directories
Sign in
FILE

drm_client_internal.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/clients/drm_client_internal.h C
 1/* SPDX-License-Identifier: MIT */
 2
 3#ifndef DRM_CLIENT_INTERNAL_H
 4#define DRM_CLIENT_INTERNAL_H
 5
 6struct drm_device;
 7struct drm_format_info;
 8
 9#ifdef CONFIG_DRM_FBDEV_EMULATION
10int drm_fbdev_client_setup(struct drm_device *dev, const struct drm_format_info *format);
11#else
12static inline int drm_fbdev_client_setup(struct drm_device *dev,
13					 const struct drm_format_info *format)
14{
15	return 0;
16}
17#endif
18
19#ifdef CONFIG_DRM_CLIENT_LOG
20void drm_log_register(struct drm_device *dev);
21#else
22static inline void drm_log_register(struct drm_device *dev) {}
23#endif
24
25#endif
~/ Read-only file preview.