All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/radeon: Inline drm_crtc_init()
@ 2026-11-12 12:45 Thomas Zimmermann
  2026-11-12 12:45 ` [PATCH v2 1/2] " Thomas Zimmermann
  2026-11-12 12:45 ` [PATCH v2 2/2] drm: Remove drm_crtc_init() Thomas Zimmermann
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Zimmermann @ 2026-11-12 12:45 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, airlied, simona,
	maarten.lankhorst, mripard
  Cc: amd-gfx, dri-devel, sashiko-reviews, Thomas Zimmermann

(was: drm/amdgpu,radeon: Inline drm_crtc_init())

The helper drm_crtc_init() sets up a CRTC with a primary plane for
non-atomic mode setting. Only radeon still uses it.

Inline drm_crtc_init() into 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 not implemented by radeon. Clean it up.

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.

Requires the patch series at [2].

v2:
- add missing formats for primary plane
- drop amdgpu patches

[1] https://lore.kernel.org/dri-devel/20261019154612.777074-1-tzimmermann@suse.de/
[2] https://lore.kernel.org/amd-gfx/20261111151546.3105062-1-alexander.deucher@amd.com/

Thomas Zimmermann (2):
  drm/radeon: Inline drm_crtc_init()
  drm: Remove drm_crtc_init()

 drivers/gpu/drm/drm_crtc.c              | 26 +++------
 drivers/gpu/drm/drm_modeset_helper.c    | 74 -------------------------
 drivers/gpu/drm/radeon/radeon_display.c | 61 +++++++++++++++++---
 include/drm/drm_modeset_helper.h        |  3 -
 include/drm/drm_plane.h                 |  5 --
 5 files changed, 61 insertions(+), 108 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-11-12 20:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 12:45 [PATCH v2 0/2] drm/radeon: Inline drm_crtc_init() Thomas Zimmermann
2026-11-12 12:45 ` [PATCH v2 1/2] " Thomas Zimmermann
2026-11-12 13:21   ` sashiko-bot
2026-11-12 12:45 ` [PATCH v2 2/2] drm: Remove drm_crtc_init() Thomas Zimmermann
2026-11-12 13:01   ` sashiko-bot
2026-11-12 19:18   ` kernel test robot
2026-11-12 20:09   ` kernel test robot

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.