]> Git Repo - J-linux.git/blob - include/drm/drm_client_setup.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / include / drm / drm_client_setup.h
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
8 struct drm_device;
9 struct drm_format_info;
10
11 #if defined(CONFIG_DRM_CLIENT_SETUP)
12 void drm_client_setup(struct drm_device *dev, const struct drm_format_info *format);
13 void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc);
14 void drm_client_setup_with_color_mode(struct drm_device *dev, unsigned int color_mode);
15 #else
16 static inline void drm_client_setup(struct drm_device *dev,
17                                     const struct drm_format_info *format)
18 { }
19 static inline void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc)
20 { }
21 static inline void drm_client_setup_with_color_mode(struct drm_device *dev,
22                                                     unsigned int color_mode)
23 { }
24 #endif
25
26 #endif
This page took 0.026657 seconds and 4 git commands to generate.