]> Git Repo - linux.git/blob - drivers/gpu/drm/omapdrm/omap_fbdev.h
Merge tag 'linux-watchdog-6.14-rc1' of git://www.linux-watchdog.org/linux-watchdog
[linux.git] / drivers / gpu / drm / omapdrm / omap_fbdev.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * omap_fbdev.h -- OMAP DRM FBDEV Compatibility
4  *
5  * Copyright (C) 2011 Texas Instruments
6  * Author: Rob Clark <[email protected]>
7  */
8
9 #ifndef __OMAPDRM_FBDEV_H__
10 #define __OMAPDRM_FBDEV_H__
11
12 struct drm_device;
13 struct drm_fb_helper;
14 struct drm_fb_helper_surface_size;
15
16 #ifdef CONFIG_DRM_FBDEV_EMULATION
17 int omap_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
18                                   struct drm_fb_helper_surface_size *sizes);
19 #define OMAP_FBDEV_DRIVER_OPS \
20         .fbdev_probe = omap_fbdev_driver_fbdev_probe
21 void omap_fbdev_setup(struct drm_device *dev);
22 #else
23 #define OMAP_FBDEV_DRIVER_OPS \
24         .fbdev_probe = NULL
25 static inline void omap_fbdev_setup(struct drm_device *dev)
26 {
27 }
28 #endif
29
30 #endif /* __OMAPDRM_FBDEV_H__ */
This page took 0.030298 seconds and 4 git commands to generate.