Skip to content

drm/radeon: Inline drm_crtc_init()

Thomas Zimmermann amd-gfx dri-devel sashiko-reviews 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v15 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- keep plane->format_default for now
- remove some obsolete include statements

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/radeon: Inline drm_crtc_init()drivers/gpu/drm/radeon/radeon_display.c+46 -70 replies
2/2drm: Remove drm_crtc_init()drivers/gpu/drm/drm_crtc.c drivers/gpu/drm/drm_modeset_helper.c include/drm/drm_modeset_helper.h+7 -910 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMaxime Ripard
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] drm/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].

v3:
- keep plane->format_default for now
- remove some obsolete include statements
v2:
- add missing formats for primary plane
- drop amdgpu patches

[1] https://lore.kernel.org/dri-devel/[email protected]/
[2] https://lore.kernel.org/amd-gfx/[email protected]/

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

 drivers/gpu/drm/drm_crtc.c              | 19 +++----
 drivers/gpu/drm/drm_modeset_helper.c    | 76 -------------------------
 drivers/gpu/drm/radeon/radeon_display.c | 53 ++++++++++++++---
 include/drm/drm_modeset_helper.h        |  3 -
 4 files changed, 53 insertions(+), 98 deletions(-)

base-commit: 7d502136b31169f6b5575f7f89c3da60cdf7891d
prerequisite-patch-id: 29d74d364880d75af999879ea5eec1e61f99eee4
prerequisite-patch-id: c4aac512c186a1189b7e7d81e3a118b3e487f955
prerequisite-patch-id: 2e6a87a46e3157194ea11a2a4821ffbe38e7748e

Signature · 1 line
2.56.0