Skip to content

drm: Remove usage of deprecated DRM_* macros in DRM core

Siddh Raman Pant dri-devel lkml 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest8 patches 1 replyIn review
  2. v109 patches 2 repliesSuperseded
  3. v98 patches 28 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v88 patches2 repliesSuperseded
v77 patches3 repliesSuperseded
v610 patches3 repliesSuperseded
v510 patches0 repliesSuperseded
v410 patches2 repliesSuperseded
v310 patches0 repliesSuperseded
v29 patches2 repliesSuperseded
v110 patches14 repliesSuperseded

Changes in v11 from the cover letter

- Rebased to drm-misc-next.
- Dropped the last patch removing print statements.

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Revert "drm: mipi-dsi: Convert logging to drm_* functions."drivers/gpu/drm/drm_mipi_dsi.c+8 -70 replies
2/8drm/print: Fix and add support for NULL as first argument in drm_* macrosinclude/drm/drm_print.h+52 -270 replies
3/8drm: Remove usage of deprecated DRM_INFO in DRM coredrivers/gpu/drm/drm_client_modeset.c drivers/gpu/drm/drm_connector.c drivers/gpu/drm/drm_drv.c +1 more+7 -61 reply
4/8drm: Remove usage of deprecated DRM_NOTE in DRM coredrivers/gpu/drm/drm_displayid.c drivers/gpu/drm/drm_kms_helper_common.c+2 -20 replies
5/8drm: Remove usage of deprecated DRM_ERROR in DRM coredrivers/gpu/drm/drm_bridge.c drivers/gpu/drm/drm_bufs.c drivers/gpu/drm/drm_client_modeset.c +18 more+68 -650 replies
6/8drm: Remove usage of deprecated DRM_DEBUG in DRM coredrivers/gpu/drm/drm_agpsupport.c drivers/gpu/drm/drm_bufs.c drivers/gpu/drm/drm_context.c +15 more+149 -1410 replies
7/8drm: Remove usage of deprecated DRM_DEBUG_DRIVER in DRM coredrivers/gpu/drm/drm_mipi_dbi.c include/drm/drm_print.h+6 -60 replies
8/8drm: Remove usage of deprecated DRM_DEBUG_KMS in DRM coredrivers/gpu/drm/drm_client_modeset.c drivers/gpu/drm/drm_color_mgmt.c drivers/gpu/drm/drm_connector.c +12 more+187 -1680 replies

Reviews trailers per patch

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

PatchJani NikulaLaurent Pinchart
1/8R-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

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

Read the v11 thread

Cover letter [PATCH v11 0/8] drm: Remove usage of deprecated DRM_* macros in DRM core

This patchset aims to completely remove usages of deprecated DRM_* macros from the DRM core (i.e. drivers/gpu/drm/*.c).

This patchset should be applied in order as changes are dependent.

Thanks,
Siddh

---

v10 -> v11 (today):
- Rebased to drm-misc-next.
- Dropped the last patch removing print statements.

v9 -> v10 (7 Jun 2023)
- Picked up rb's from Laurent Pinchart.
- Clarified commit message to point out the changes are in DRM core.
- Remove superfluous print messages after the changes.
- Link: https://lore.kernel.org/all/[email protected]/

---

Siddh Raman Pant (8):
Revert "drm: mipi-dsi: Convert logging to drm_* functions." drm/print: Fix and add support for NULL as first argument in drm_*
macros
drm: Remove usage of deprecated DRM_INFO in DRM core
drm: Remove usage of deprecated DRM_NOTE in DRM core
drm: Remove usage of deprecated DRM_ERROR in DRM core
drm: Remove usage of deprecated DRM_DEBUG in DRM core
drm: Remove usage of deprecated DRM_DEBUG_DRIVER in DRM core
drm: Remove usage of deprecated DRM_DEBUG_KMS in DRM core

 drivers/gpu/drm/drm_agpsupport.c        |   4 +-
 drivers/gpu/drm/drm_bridge.c            |   8 +-
 drivers/gpu/drm/drm_bufs.c              | 122 ++++++++++++------------
 drivers/gpu/drm/drm_client_modeset.c    | 118 +++++++++++++----------
 drivers/gpu/drm/drm_color_mgmt.c        |   4 +-
 drivers/gpu/drm/drm_connector.c         |  28 +++---
 drivers/gpu/drm/drm_context.c           |  18 ++--
 drivers/gpu/drm/drm_crtc.c              |  36 ++++---
 drivers/gpu/drm/drm_crtc_helper.c       |  62 ++++++------
 drivers/gpu/drm/drm_debugfs_crc.c       |   8 +-
 drivers/gpu/drm/drm_displayid.c         |   6 +-
 drivers/gpu/drm/drm_dma.c               |  10 +-
 drivers/gpu/drm/drm_drv.c               |  28 +++---
 drivers/gpu/drm/drm_edid.c              |  17 ++--
 drivers/gpu/drm/drm_flip_work.c         |   2 +-
 drivers/gpu/drm/drm_framebuffer.c       |   3 +-
 drivers/gpu/drm/drm_gem.c               |   7 +-
 drivers/gpu/drm/drm_gem_dma_helper.c    |   2 +-
 drivers/gpu/drm/drm_hashtab.c           |  10 +-
 drivers/gpu/drm/drm_irq.c               |   4 +-
 drivers/gpu/drm/drm_kms_helper_common.c |   2 +-
 drivers/gpu/drm/drm_lease.c             |   4 +-
 drivers/gpu/drm/drm_legacy_misc.c       |   4 +-
 drivers/gpu/drm/drm_lock.c              |  36 +++----
 drivers/gpu/drm/drm_mipi_dbi.c          |  19 ++--
 drivers/gpu/drm/drm_mipi_dsi.c          |  15 +--
 drivers/gpu/drm/drm_mm.c                |   8 +-
 drivers/gpu/drm/drm_mode_config.c       |   2 +-
 drivers/gpu/drm/drm_mode_object.c       |   6 +-
 drivers/gpu/drm/drm_modes.c             |  36 +++----
 drivers/gpu/drm/drm_modeset_helper.c    |   2 +-
 drivers/gpu/drm/drm_pci.c               |  14 +--
 drivers/gpu/drm/drm_plane.c             |  46 ++++-----
 drivers/gpu/drm/drm_probe_helper.c      |  39 ++++----
 drivers/gpu/drm/drm_rect.c              |   4 +-
 drivers/gpu/drm/drm_scatter.c           |  19 ++--
 drivers/gpu/drm/drm_syncobj.c           |   2 +-
 drivers/gpu/drm/drm_sysfs.c             |  20 ++--
 drivers/gpu/drm/drm_vm.c                |  45 +++++----
 include/drm/drm_print.h                 |  81 ++++++++++------
 40 files changed, 479 insertions(+), 422 deletions(-)
Signature · 1 line
2.40.1