public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/sysfb: Support basic power management
@ 2026-04-08 12:03 Thomas Zimmermann
  2026-04-08 12:03 ` [PATCH 1/5] drm/sysfb: corebootdrm: Support " Thomas Zimmermann
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Thomas Zimmermann @ 2026-04-08 12:03 UTC (permalink / raw)
  To: javierm, maarten.lankhorst, mripard, airlied, simona
  Cc: dri-devel, Thomas Zimmermann

Add callbacks for suspending and resuming to the sysfb drivers. The
helpers store and restore DRM state across the suspend/resume cycle.

While most hardware loses the system framebuffer setup on suspends,
some systems do retain the configuration; notable emulators. Adding
PM support makes it work with DRM.

Tested with vesadrm on qemu's bochs device.

Thomas Zimmermann (5):
  drm/sysfb: corebootdrm: Support power management
  drm/sysfb: efidrm: Support power management
  drm/sysfb: ofdrm: Support power management
  drm/sysfb: simpledrm: Support power management
  drm/sysfb: vesadrm: Support power management

 drivers/gpu/drm/sysfb/corebootdrm.c | 21 +++++++++++++++++++++
 drivers/gpu/drm/sysfb/efidrm.c      | 19 +++++++++++++++++++
 drivers/gpu/drm/sysfb/ofdrm.c       | 19 +++++++++++++++++++
 drivers/gpu/drm/sysfb/simpledrm.c   | 21 +++++++++++++++++++++
 drivers/gpu/drm/sysfb/vesadrm.c     | 19 +++++++++++++++++++
 5 files changed, 99 insertions(+)

-- 
2.53.0


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

end of thread, other threads:[~2026-04-12  2:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08 12:03 [PATCH 0/5] drm/sysfb: Support basic power management Thomas Zimmermann
2026-04-08 12:03 ` [PATCH 1/5] drm/sysfb: corebootdrm: Support " Thomas Zimmermann
2026-04-12  2:33   ` Claude review: " Claude Code Review Bot
2026-04-08 12:03 ` [PATCH 2/5] drm/sysfb: efidrm: " Thomas Zimmermann
2026-04-12  2:33   ` Claude review: " Claude Code Review Bot
2026-04-08 12:03 ` [PATCH 3/5] drm/sysfb: ofdrm: " Thomas Zimmermann
2026-04-12  2:33   ` Claude review: " Claude Code Review Bot
2026-04-08 12:03 ` [PATCH 4/5] drm/sysfb: simpledrm: " Thomas Zimmermann
2026-04-12  2:33   ` Claude review: " Claude Code Review Bot
2026-04-08 12:03 ` [PATCH 5/5] drm/sysfb: vesadrm: " Thomas Zimmermann
2026-04-12  2:33   ` Claude review: " Claude Code Review Bot
2026-04-12  2:33 ` Claude review: drm/sysfb: Support basic " Claude Code Review Bot

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