[PATCH v11 0/8] drm: Remove usage of deprecated DRM_* macros in DRM core
From: Siddh Raman Pant
Date: Sun Aug 20 2023 - 07:58:11 EST
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/cover.1686075579.git.code@xxxxxxxx/
---
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(-)
--
2.40.1