summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2021-10-29 14:50:13 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2021-12-07 15:55:20 +0300
commit24af7c34b290dc0da62349dfb050bb4a8e16c6c1 (patch)
treeaecab7209a1906128dc5249294c5688b26080273 /drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h
parent8697c410457fbc50169d2c7db4a7eef9b58924a9 (diff)
downloadlinux-24af7c34b290dc0da62349dfb050bb4a8e16c6c1.tar.xz
drm/rockchip: use generic fbdev setup
The Rockchip fbdev code does not add anything compared to drm_fbdev_generic_setup(); the one custom function for .fb_mmap does the same thing as gem_prime_mmap which is called by the helper. Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20211029115014.264084-1-john@metanate.com
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h')
-rw-r--r--drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h
deleted file mode 100644
index 5fb7ac2371a8..000000000000
--- a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
- * Author:Mark Yao <mark.yao@rock-chips.com>
- */
-
-#ifndef _ROCKCHIP_DRM_FBDEV_H
-#define _ROCKCHIP_DRM_FBDEV_H
-
-#ifdef CONFIG_DRM_FBDEV_EMULATION
-int rockchip_drm_fbdev_init(struct drm_device *dev);
-void rockchip_drm_fbdev_fini(struct drm_device *dev);
-#else
-static inline int rockchip_drm_fbdev_init(struct drm_device *dev)
-{
- return 0;
-}
-
-static inline void rockchip_drm_fbdev_fini(struct drm_device *dev)
-{
-}
-#endif
-
-#endif /* _ROCKCHIP_DRM_FBDEV_H */