mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
bf0978203a
The old setup function drm_fbdev_shmem_setup() is unused. Remove it and its internal callbacks. New drivers should call drm_client_setup() instead. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-64-tzimmermann@suse.de
21 lines
475 B
C
21 lines
475 B
C
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef DRM_FBDEV_SHMEM_H
|
|
#define DRM_FBDEV_SHMEM_H
|
|
|
|
struct drm_fb_helper;
|
|
struct drm_fb_helper_surface_size;
|
|
|
|
#ifdef CONFIG_DRM_FBDEV_EMULATION
|
|
int drm_fbdev_shmem_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
|
|
struct drm_fb_helper_surface_size *sizes);
|
|
|
|
#define DRM_FBDEV_SHMEM_DRIVER_OPS \
|
|
.fbdev_probe = drm_fbdev_shmem_driver_fbdev_probe
|
|
#else
|
|
#define DRM_FBDEV_SHMEM_DRIVER_OPS \
|
|
.fbdev_probe = NULL
|
|
#endif
|
|
|
|
#endif
|