16 lines · c
1/* SPDX-License-Identifier: MIT */2 3#ifndef DRM_FBDEV_DMA_H4#define DRM_FBDEV_DMA_H5 6struct drm_device;7 8#ifdef CONFIG_DRM_FBDEV_EMULATION9void drm_fbdev_dma_setup(struct drm_device *dev, unsigned int preferred_bpp);10#else11static inline void drm_fbdev_dma_setup(struct drm_device *dev, unsigned int preferred_bpp)12{ }13#endif14 15#endif16