public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: javierm@redhat.com, maarten.lankhorst@linux.intel.com,
	mripard@kernel.org, airlied@gmail.com, simona@ffwll.ch
Cc: dri-devel@lists.freedesktop.org, Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 0/5] drm/sysfb: Support basic power management
Date: Wed,  8 Apr 2026 14:03:13 +0200	[thread overview]
Message-ID: <20260408120722.328769-1-tzimmermann@suse.de> (raw)

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


             reply	other threads:[~2026-04-08 12:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-08 12:03 Thomas Zimmermann [this message]
2026-04-08 12:03 ` [PATCH 1/5] drm/sysfb: corebootdrm: Support power management 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

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=20260408120722.328769-1-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    /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