File Index
Files and directories
Sign in
FILE

drm_client_setup.h

File preview with syntax highlighting.

linux-6.19.14/include/drm/clients/drm_client_setup.h C
 1/* SPDX-License-Identifier: MIT */
 2
 3#ifndef DRM_CLIENT_SETUP_H
 4#define DRM_CLIENT_SETUP_H
 5
 6#include <linux/types.h>
 7
 8struct drm_device;
 9struct drm_format_info;
10
11#if defined(CONFIG_DRM_CLIENT_SETUP)
12void drm_client_setup(struct drm_device *dev, const struct drm_format_info *format);
13void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc);
14void drm_client_setup_with_color_mode(struct drm_device *dev, unsigned int color_mode);
15#else
16static inline void drm_client_setup(struct drm_device *dev,
17				    const struct drm_format_info *format)
18{ }
19static inline void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc)
20{ }
21static inline void drm_client_setup_with_color_mode(struct drm_device *dev,
22						    unsigned int color_mode)
23{ }
24#endif
25
26#endif
~/ Read-only file preview.