2023-03-13 15:51:14 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
|
|
|
|
#ifndef DRM_FBDEV_DMA_H
|
|
|
|
#define DRM_FBDEV_DMA_H
|
|
|
|
|
2024-09-24 07:12:03 +00:00
|
|
|
struct drm_fb_helper;
|
|
|
|
struct drm_fb_helper_surface_size;
|
2023-03-13 15:51:14 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_DRM_FBDEV_EMULATION
|
2024-09-24 07:12:03 +00:00
|
|
|
int drm_fbdev_dma_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
|
|
|
|
struct drm_fb_helper_surface_size *sizes);
|
|
|
|
|
|
|
|
#define DRM_FBDEV_DMA_DRIVER_OPS \
|
|
|
|
.fbdev_probe = drm_fbdev_dma_driver_fbdev_probe
|
2023-03-13 15:51:14 +00:00
|
|
|
#else
|
2024-09-24 07:12:03 +00:00
|
|
|
#define DRM_FBDEV_DMA_DRIVER_OPS \
|
|
|
|
.fbdev_probe = NULL
|
2023-03-13 15:51:14 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|