xref: /linux/include/drm/drm_fbdev_client.h (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1 /* SPDX-License-Identifier: MIT */
2 
3 #ifndef DRM_FBDEV_CLIENT_H
4 #define DRM_FBDEV_CLIENT_H
5 
6 struct drm_device;
7 struct drm_format_info;
8 
9 #ifdef CONFIG_DRM_FBDEV_EMULATION
10 int drm_fbdev_client_setup(struct drm_device *dev, const struct drm_format_info *format);
11 #else
12 static 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 #endif
20