From: Thomas Zimmermann <tzimmermann@suse.de>
To: inki.dae@samsung.com, sw0312.kim@samsung.com,
kyungmin.park@samsung.com, airlied@gmail.com, simona@ffwll.ch,
dri-devel@lists.freedesktop.org
Cc: linux-samsung-soc@vger.kernel.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 5/5] drm/exynos: Make exynos_drm_framebuffer_init() an internal interface
Date: Thu, 23 Apr 2026 11:37:50 +0200 [thread overview]
Message-ID: <20260423094452.32665-6-tzimmermann@suse.de> (raw)
In-Reply-To: <20260423094452.32665-1-tzimmermann@suse.de>
The only caller of exynos_drm_framebuffer_init() is the helper
exynos_user_fb_create() from the same source file. Declare the
former as static.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
drivers/gpu/drm/exynos/exynos_drm_fb.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_fb.h | 7 -------
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c b/drivers/gpu/drm/exynos/exynos_drm_fb.c
index ab0e0c74ec47..66dec2b7a5de 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fb.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fb.c
@@ -55,7 +55,7 @@ static const struct drm_framebuffer_funcs exynos_drm_fb_funcs = {
.create_handle = drm_gem_fb_create_handle,
};
-struct drm_framebuffer *
+static struct drm_framebuffer *
exynos_drm_framebuffer_init(struct drm_device *dev,
const struct drm_format_info *info,
const struct drm_mode_fb_cmd2 *mode_cmd,
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.h b/drivers/gpu/drm/exynos/exynos_drm_fb.h
index fdc6cb40cc9c..aeb6f29eb167 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fb.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_fb.h
@@ -12,13 +12,6 @@
#include "exynos_drm_gem.h"
-struct drm_framebuffer *
-exynos_drm_framebuffer_init(struct drm_device *dev,
- const struct drm_format_info *info,
- const struct drm_mode_fb_cmd2 *mode_cmd,
- struct exynos_drm_gem **exynos_gem,
- int count);
-
dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index);
void exynos_drm_mode_config_init(struct drm_device *dev);
--
2.53.0
next prev parent reply other threads:[~2026-04-23 9:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20260423095139eucas1p149a0e97f62e8bf353a65466ca26cbff9@eucas1p1.samsung.com>
2026-04-23 9:37 ` [PATCH 0/5] drm/exynos: fbdev: Use client buffers Thomas Zimmermann
2026-04-23 9:37 ` [PATCH 1/5] drm/exynos: fbdev: Remove offset into screen_buffer Thomas Zimmermann
2026-04-23 9:37 ` [PATCH 2/5] drm/exynos: fbdev: Inline exynos_drm_fbdev_update() Thomas Zimmermann
2026-04-23 9:37 ` [PATCH 3/5] drm/exynos: fbdev: Calculate buffer geometry with format helpers Thomas Zimmermann
2026-04-23 9:37 ` [PATCH 4/5] drm/exynos: fbdev: Use a DRM client buffer Thomas Zimmermann
2026-04-23 9:37 ` Thomas Zimmermann [this message]
2026-05-06 6:59 ` [PATCH 5/5] drm/exynos: Make exynos_drm_framebuffer_init() an internal interface Chen-Yu Tsai
2026-05-08 6:41 ` Thomas Zimmermann
2026-05-06 6:35 ` [PATCH 0/5] drm/exynos: fbdev: Use client buffers Marek Szyprowski
2026-05-08 6:34 ` Thomas Zimmermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260423094452.32665-6-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=inki.dae@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=sw0312.kim@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox