Skip to content

drm: constify struct class usage

Ricardo B. Marliere dri-devel linux-fbdev linux-media lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20240305-class_cleanup-drm-591ca73b31f2

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/dp: make drm_dp_aux_dev_class constantdrivers/gpu/drm/display/drm_dp_aux_dev.c+12 -100 replies
2/4drm/sysfs: make drm_class constantdrivers/gpu/drm/drm_internal.h drivers/gpu/drm/drm_privacy_screen.c drivers/gpu/drm/drm_sysfs.c+21 -270 replies
3/4drm/fbdev/core: make fb_class constantdrivers/video/fbdev/core/fb_internal.h drivers/video/fbdev/core/fbcon.c drivers/video/fbdev/core/fbmem.c +1 more+13 -140 replies
4/4dma-buf: heaps: make dma_heap_class constantdrivers/dma-buf/dma-heap.c+14 -124 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchT.J. MercierSumit Semwal
1/4
2/4
3/4
4/4R-b A-b

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

Read the v1 thread

Cover letter [PATCH RESEND drm-misc 0/4] drm: constify struct class usage

This is a simple and straight forward cleanup series that aims to make the class structures in drm constant. This has been possible since 2023 [1].

[1]: https://lore.kernel.org/all/2023040248-customary-release-4aec@gregkh/

---
Ricardo B. Marliere (4):
drm/dp: make drm_dp_aux_dev_class constant drm/sysfs: make drm_class constant drm/fbdev/core: make fb_class constant
dma-buf: heaps: make dma_heap_class constant

 drivers/dma-buf/dma-heap.c               | 26 ++++++++++---------
 drivers/gpu/drm/display/drm_dp_aux_dev.c | 22 ++++++++--------
 drivers/gpu/drm/drm_internal.h           |  2 +-
 drivers/gpu/drm/drm_privacy_screen.c     |  2 +-
 drivers/gpu/drm/drm_sysfs.c              | 44 ++++++++++++++------------------
 drivers/video/fbdev/core/fb_internal.h   |  2 +-
 drivers/video/fbdev/core/fbcon.c         |  4 +--
 drivers/video/fbdev/core/fbmem.c         | 17 ++++++------
 drivers/video/fbdev/core/fbsysfs.c       |  4 +--
 9 files changed, 60 insertions(+), 63 deletions(-)

---
base-commit: 4a0e7b3c37531aabddf6f144b83ae9b65ec809fd
change-id: 20240305-class_cleanup-drm-591ca73b31f2

Best regards,

Signature · 1 line
Ricardo B. Marliere <[email protected]>