From: Thomas Zimmermann <tzimmermann@suse.de>
To: alexander.deucher@amd.com, christian.koenig@amd.com,
airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
sashiko-reviews@lists.linux.dev,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 0/5] drm/amdgpu,radeon: Inline drm_crtc_init()
Date: Tue, 10 Nov 2026 12:53:26 +0100 [thread overview]
Message-ID: <20261110120326.538252-1-tzimmermann@suse.de> (raw)
The helper drm_crtc_init() sets up a CRTC with a primary plane for
non-atomic mode setting. Only drivers for some AMD hardware still
use it.
Inline drm_crtc_init() into amdgpu and radeon and remove it from
DRM. All new code implements atomic mode setting, which does not
use drm_crtc_init().
DRM support for kernel panic is only implemented in amdgpu. Take
the panic helpers from drm_crtc_init() in amdgpu, but clean it up
in radeon.
With this series in place, DRM's helpers for drawing panic screens
can be further integrated with other drawing helpers, as outlined
in [1].
Tested on radeon with a Radeon HD 6570.
[1] https://lore.kernel.org/dri-devel/20261019154612.777074-1-tzimmermann@suse.de/
Thomas Zimmermann (5):
drm/amdgpu: dce_v6_0: Inline drm_crtc_init()
drm/amdgpu: dce_v8_0: Inline drm_crtc_init()
drm/amdgpu: dce_v10_0: Inline drm_crtc_init()
drm/radeon: Inline drm_crtc_init()
drm: Remove drm_crtc_init()
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 44 ++++++++++++++-
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 44 ++++++++++++++-
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 44 ++++++++++++++-
drivers/gpu/drm/drm_crtc.c | 26 +++------
drivers/gpu/drm/drm_modeset_helper.c | 74 -------------------------
drivers/gpu/drm/radeon/radeon_display.c | 47 +++++++++++++---
include/drm/drm_modeset_helper.h | 3 -
include/drm/drm_plane.h | 5 --
8 files changed, 170 insertions(+), 117 deletions(-)
--
2.56.0
next reply other threads:[~2026-11-10 12:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 11:53 Thomas Zimmermann [this message]
2026-11-10 11:53 ` [PATCH 1/5] drm/amdgpu: dce_v6_0: Inline drm_crtc_init() Thomas Zimmermann
2026-11-10 11:53 ` [PATCH 2/5] drm/amdgpu: dce_v8_0: " Thomas Zimmermann
2026-11-10 11:53 ` [PATCH 3/5] drm/amdgpu: dce_v10_0: " Thomas Zimmermann
2026-11-10 11:53 ` [PATCH 4/5] drm/radeon: " Thomas Zimmermann
2026-11-10 12:18 ` sashiko-bot
2026-11-10 14:27 ` Thomas Zimmermann
2026-11-10 11:53 ` [PATCH 5/5] drm: Remove drm_crtc_init() Thomas Zimmermann
2026-11-10 12:35 ` [PATCH 0/5] drm/amdgpu,radeon: Inline drm_crtc_init() Maxime Ripard
2026-11-10 21:49 ` Alex Deucher
2026-11-11 9:35 ` Thomas Zimmermann
2026-11-11 15:51 ` Alex Deucher
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=20261110120326.538252-1-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.