mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/fb-helper: Add force parameter to stub function
@ 2026-01-14 14:57 Matt Coster
  2026-01-14 16:07 ` Thomas Zimmermann
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Coster @ 2026-01-14 14:57 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Simona Vetter, Jocelyn Falempe
  Cc: Frank Binns, Karolis Mituzas, Matt Coster, dri-devel, linux-kernel

The signature of drm_fb_helper_restore_fbdev_mode_unlocked() was modified
in commit 943240d342f14 ("drm/client: Pass force parameter to client
restore") to add a force parameter, but this was not added to the stub
equivalent for when CONFIG_DRM_FBDEV_EMULATION is not enabled.

Suggested-by: Karolis Mituzas <karolis.mituzas@imgtec.com>
Fixes: 943240d342f14 ("drm/client: Pass force parameter to client restore")
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
---
 include/drm/drm_fb_helper.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h
index dd9a18f8de5a7..eebb36a099698 100644
--- a/include/drm/drm_fb_helper.h
+++ b/include/drm/drm_fb_helper.h
@@ -333,7 +333,8 @@ static inline int drm_fb_helper_check_var(struct fb_var_screeninfo *var,
 }
 
 static inline int
-drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper)
+drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper,
+					  bool force)
 {
 	return 0;
 }

---
base-commit: b91a565ed14fcf900b4d95e86882b4b763860986
change-id: 20260114-drm-fb-helper-stub-fix-03f07bd2be61


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-14 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-14 14:57 [PATCH] drm/fb-helper: Add force parameter to stub function Matt Coster
2026-01-14 16:07 ` Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®