mbox series

[0/4] fbdev: Rename helpers for struct fb_ops

Message ID 20230729193157.15446-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series fbdev: Rename helpers for struct fb_ops | expand

Message

Thomas Zimmermann July 29, 2023, 7:26 p.m. UTC
As discussed at [1], rename helpers for struct fb_ops to include
'MEM' in their name to signal that these helpers operate on a
certain type of memory address; either I/O, system or DMA-able
ranges. These are trival renames without any functional changes.

[1] https://lore.kernel.org/dri-devel/1ab418ae-592f-4347-fa75-bf9b00115afe@gmx.de/T/#mcb92691d6131333782cc83190a5fc00bd575a0c5

Thomas Zimmermann (4):
  fbdev: Use _IOMEM_ infix for I/O-memory helpers
  fbdev: Use _SYSMEM_ infix for system-memory helpers
  fbdev: Use _DMAMEM_ infix for DMA-memory helpers
  fbdev: Align deferred I/O with naming of helpers

 drivers/gpu/drm/Kconfig                    |  4 ++--
 drivers/gpu/drm/armada/Kconfig             |  2 +-
 drivers/gpu/drm/armada/armada_fbdev.c      |  2 +-
 drivers/gpu/drm/drm_fbdev_dma.c            |  4 ++--
 drivers/gpu/drm/drm_fbdev_generic.c        |  6 ++---
 drivers/gpu/drm/exynos/Kconfig             |  2 +-
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c  |  4 ++--
 drivers/gpu/drm/gma500/Kconfig             |  2 +-
 drivers/gpu/drm/gma500/fbdev.c             |  4 ++--
 drivers/gpu/drm/i915/Kconfig               |  2 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c |  6 ++---
 drivers/gpu/drm/msm/Kconfig                |  2 +-
 drivers/gpu/drm/msm/msm_fbdev.c            |  6 ++---
 drivers/gpu/drm/omapdrm/Kconfig            |  2 +-
 drivers/gpu/drm/omapdrm/omap_fbdev.c       |  4 ++--
 drivers/gpu/drm/radeon/Kconfig             |  2 +-
 drivers/gpu/drm/radeon/radeon_fbdev.c      |  2 +-
 drivers/gpu/drm/tegra/Kconfig              |  2 +-
 drivers/gpu/drm/tegra/fbdev.c              |  4 ++--
 drivers/video/fbdev/Kconfig                | 10 ++++-----
 drivers/video/fbdev/broadsheetfb.c         |  6 ++---
 drivers/video/fbdev/core/Kconfig           | 10 ++++-----
 drivers/video/fbdev/hecubafb.c             |  6 ++---
 drivers/video/fbdev/metronomefb.c          |  6 ++---
 drivers/video/fbdev/ssd1307fb.c            |  6 ++---
 drivers/video/fbdev/xen-fbfront.c          |  6 ++---
 include/linux/fb.h                         | 26 +++++++++++-----------
 27 files changed, 69 insertions(+), 69 deletions(-)


base-commit: fba8a13ec9ae1a7175cc0dda7235b3d2df0f0f90

Comments

Sam Ravnborg July 30, 2023, 8:53 a.m. UTC | #1
Hi Thomas,

On Sat, Jul 29, 2023 at 09:26:45PM +0200, Thomas Zimmermann wrote:
> As discussed at [1], rename helpers for struct fb_ops to include
> 'MEM' in their name to signal that these helpers operate on a
> certain type of memory address; either I/O, system or DMA-able
> ranges. These are trival renames without any functional changes.
> 
> [1] https://lore.kernel.org/dri-devel/1ab418ae-592f-4347-fa75-bf9b00115afe@gmx.de/T/#mcb92691d6131333782cc83190a5fc00bd575a0c5

Yep, Helge is right that the naming is better with MEM added.
Good that we could get this sorted out now where the impact is "only" in
drm.

All 4 patches are:
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>