xref: /linux/include/drm/drm_fbdev_ttm.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1 /* SPDX-License-Identifier: MIT */
2 
3 #ifndef DRM_FBDEV_TTM_H
4 #define DRM_FBDEV_TTM_H
5 
6 struct drm_device;
7 
8 #ifdef CONFIG_DRM_FBDEV_EMULATION
9 void drm_fbdev_ttm_setup(struct drm_device *dev, unsigned int preferred_bpp);
10 #else
drm_fbdev_ttm_setup(struct drm_device * dev,unsigned int preferred_bpp)11 static inline void drm_fbdev_ttm_setup(struct drm_device *dev, unsigned int preferred_bpp)
12 { }
13 #endif
14 
15 #endif
16