[PATCH 0/2] Fix module name clash with omapdrm and DRM panel modules

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Aug 16 12:22:26 UTC 2019


Hello,

The patch series "[PATCH v4 0/9] DRM panel drivers for omapdrm" added
new DRM panel drivers for a set of panels used on OMAP platforms, with
the omapdrm and omapfb2 drivers. Both those drivers contain
omap-specific panel drivers, which the new DRM panel drivers aims to
replace for omapdrm. The new drivers use the same module name as the old
ones (with one exception), resulting in module name clashes.

This needs to be fixed separately for omapfb2 and omapdrm.

For omapfb2, we can disable the omapfb2-specific panel drivers in
Kconfig when the standard drivers are enabled. As omapfb2 and omapdrm
are mutually exclusive, the DRM panel drivers are not useful with
omapfb2 in any case. This is done in patch 1/2.

For omapdrm, we can simply drop the omapdrm-specific panel drivers, as
the new drivers replace them. This is done in patch 2/2, which was
already part of the larger omapdrm patch series "[PATCH 00/60] drm/omap:
Replace custom display drivers with drm_bridge and drm_panel".

Laurent Pinchart (2):
  video: omapfb2: Make standard and custom panel drivers mutually
    exclusive
  drm/omap: displays: Remove unused panel drivers

 drivers/gpu/drm/omapdrm/displays/Kconfig      |  38 -
 drivers/gpu/drm/omapdrm/displays/Makefile     |   6 -
 .../displays/panel-lgphilips-lb035q02.c       | 251 ------
 .../omapdrm/displays/panel-nec-nl8048hl11.c   | 271 -------
 .../displays/panel-sharp-ls037v7dw01.c        | 262 ------
 .../omapdrm/displays/panel-sony-acx565akm.c   | 755 ------------------
 .../omapdrm/displays/panel-tpo-td028ttec1.c   | 390 ---------
 .../omapdrm/displays/panel-tpo-td043mtea1.c   | 513 ------------
 .../gpu/drm/omapdrm/dss/omapdss-boot-init.c   |   7 -
 .../video/fbdev/omap2/omapfb/displays/Kconfig |   5 +
 10 files changed, 5 insertions(+), 2493 deletions(-)
 delete mode 100644 drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
 delete mode 100644 drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c
 delete mode 100644 drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c
 delete mode 100644 drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
 delete mode 100644 drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
 delete mode 100644 drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list