diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-04-19 10:29:35 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-05-02 11:33:32 +0200 |
commit | aae4682e5d66c1e1dc181fa341652e037237f144 (patch) | |
tree | 4cc33289e53c323a8946e979a50506b8ae7b564a /include/drm/drm_fbdev_generic.h | |
parent | drm/tiny/st7735r: Use fbdev-dma (diff) | |
download | linux-aae4682e5d66c1e1dc181fa341652e037237f144.tar.xz linux-aae4682e5d66c1e1dc181fa341652e037237f144.zip |
drm/fbdev-generic: Convert to fbdev-ttm
Only TTM-based drivers use fbdev-generic. Rename it to fbdev-ttm and
change the symbol infix from _generic_ to _ttm_. Link the source file
into TTM helpers, so that it is only build if TTM-based drivers have
been selected. Select DRM_TTM_HELPER for loongson.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240419083331.7761-43-tzimmermann@suse.de
Diffstat (limited to 'include/drm/drm_fbdev_generic.h')
-rw-r--r-- | include/drm/drm_fbdev_generic.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/drm/drm_fbdev_generic.h b/include/drm/drm_fbdev_generic.h deleted file mode 100644 index 75799342098d..000000000000 --- a/include/drm/drm_fbdev_generic.h +++ /dev/null @@ -1,15 +0,0 @@ -/* 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 |