mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
8ab59da26b
Move the generic fbdev implementation into its own source and header file. Adapt drivers. No functional changes, but some of the internal helpers have been renamed to fit into the drm_fbdev_ naming scheme. v3: * rename drm_fbdev.{c,h} to drm_fbdev_generic.{c,h} * rebase onto vmwgfx changes * rebase onto xlnx changes * fix include statements in amdgpu Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221103151446.2638-22-tzimmermann@suse.de
16 lines
349 B
C
16 lines
349 B
C
/* 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
|