summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_fbdev_generic.h
blob: 75799342098dcf4dc4fff9d0cbaafd9fedf5c165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: MIT */

#ifndef DRM_FBDEV_GENERIC_H
#define DRM_FBDEV_GENERIC_H

struct drm_device;

#ifdef CONFIG_DRM_FBDEV_EMULATION
void drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp);
#else
static inline void drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp)
{ }
#endif

#endif