Skip to contentSkip to conversation

Fix module name clash with omapdrm and DRM panel modules

PATCH In review Laurent Pinchart 5 participants 15 messages Aug 16, 2019 – Aug 20, 2019

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

cover Fix module name clash with omapdrm and DRM panel modules

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
Signature · 8 lines
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

PATCH 1/2 video: omapfb2: Make standard and custom panel drivers mutually exclusive

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
 drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +5 -0
index 8c1c5a4cfe18..744416dc530e 100644
@@ -49,6 +49,7 @@ config FB_OMAP2_PANEL_DSI_CM
 config FB_OMAP2_PANEL_SONY_ACX565AKM
 	tristate "ACX565AKM Panel"
 	depends on SPI && BACKLIGHT_CLASS_DEVICE
+	depends on DRM_PANEL_SONY_ACX565AKM = n
 	help
 	  This is the LCD panel used on Nokia N900
 
@@ -61,18 +62,21 @@ config FB_OMAP2_PANEL_LGPHILIPS_LB035Q02
 config FB_OMAP2_PANEL_SHARP_LS037V7DW01
 	tristate "Sharp LS037V7DW01 LCD Panel"
 	depends on BACKLIGHT_CLASS_DEVICE
+	depends on DRM_PANEL_SHARP_LS037V7DW01 = n
 	help
 	  LCD Panel used in TI's SDP3430 and EVM boards
 
 config FB_OMAP2_PANEL_TPO_TD028TTEC1
 	tristate "TPO TD028TTEC1 LCD Panel"
 	depends on SPI
+	depends on DRM_PANEL_TPO_TD028TTEC1 = n
 	help
 	  LCD panel used in Openmoko.
 
 config FB_OMAP2_PANEL_TPO_TD043MTEA1
 	tristate "TPO TD043MTEA1 LCD Panel"
 	depends on SPI
+	depends on DRM_PANEL_TPO_TD043MTEA1 = n
 	help
 	  LCD Panel used in OMAP3 Pandora
 
@@ -80,6 +84,7 @@ config FB_OMAP2_PANEL_NEC_NL8048HL11
 	tristate "NEC NL8048HL11 Panel"
 	depends on SPI
 	depends on BACKLIGHT_CLASS_DEVICE
+	depends on DRM_PANEL_NEC_NL8048HL11 = n
 	help
 	  This NEC NL8048HL11 panel is TFT LCD used in the
 	  Zoom2/3/3630 sdp boards.
Signature · 8 lines
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Quoted 3 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev

Shouldn't that path be drivers/video/fbdev/omap2/omapfb/displays?

Quoted 9 lines

driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
  drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
  1 file changed, 5 insertions(+)

Cc'd Bartlomiej.

Tomi

Signature · 6 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Quoted 6 lines · Tomi Valkeinen
Quoted 3 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev

Shouldn't that path be drivers/video/fbdev/omap2/omapfb/displays?

Absolutely :-) Could this be fixed when applying ? Otherwise I'll submit a v2.

Quoted 11 lines
Quoted 9 lines

driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
  drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
  1 file changed, 5 insertions(+)

Cc'd Bartlomiej.

Oops, sorry, forgot to do that :-S

Quoted 1 line
Signature · 7 lines
Regards,

Laurent Pinchart
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Quoted 22 lines · Laurent Pinchart
Quoted 6 lines · Tomi Valkeinen
Quoted 3 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev

Shouldn't that path be drivers/video/fbdev/omap2/omapfb/displays?

Absolutely :-) Could this be fixed when applying ? Otherwise I'll submit a v2.

Quoted 11 lines
Quoted 9 lines

driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
  drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
  1 file changed, 5 insertions(+)

Cc'd Bartlomiej.

Thanks Tomi.

Quoted 3 lines

Oops, sorry, forgot to do that :-S

Quoted 1 line

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Hi Bartlomiej

Quoted 25 lines · Bartlomiej Zolnierkiewicz
Quoted 22 lines · Laurent Pinchart
Quoted 6 lines · Tomi Valkeinen
Quoted 3 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev

Shouldn't that path be drivers/video/fbdev/omap2/omapfb/displays?

Absolutely :-) Could this be fixed when applying ? Otherwise I'll submit a v2.

Quoted 11 lines
Quoted 9 lines

driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
  drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
  1 file changed, 5 insertions(+)

Cc'd Bartlomiej.

Quoted 7 lines

Thanks Tomi.

Quoted 3 lines

Oops, sorry, forgot to do that :-S

Quoted 1 line

I took the liberty to apply it already only with Tomi's r-b. Let me know if you want me to wait for your ack in the future. This was touching two sub-systems and it can
in such cases sometimes be a challenge to get all acks.

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Quoted 1 line · Sam Ravnborg

Hi Bartlomiej

Hi Sam,

Quoted 28 lines · Bartlomiej Zolnierkiewicz
Quoted 27 lines · Laurent Pinchart
Quoted 22 lines · Tomi Valkeinen
Quoted 6 lines · Laurent Pinchart
Quoted 3 lines

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev

Shouldn't that path be drivers/video/fbdev/omap2/omapfb/displays?

Absolutely :-) Could this be fixed when applying ? Otherwise I'll submit a v2.

Quoted 11 lines
Quoted 9 lines

driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
  drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
  1 file changed, 5 insertions(+)

Cc'd Bartlomiej.

Thanks Tomi.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Oops, sorry, forgot to do that :-S

Quoted 1 line

I took the liberty to apply it already only with Tomi's r-b.

Fine with me, I don't want to block the merging process and I also trust your judgment. :)

Quoted 3 lines

Let me know if you want me to wait for your ack in the future. This was touching two sub-systems and it can
in such cases sometimes be a challenge to get all acks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

In reply to Laurent Pinchart

Hi Laurent

Thanks for beating me on this!

Quoted 18 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
 drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +0 -0
index 8c1c5a4cfe18..744416dc530e 100644

drivers/video/fbdev/omap2/omapfb/displays/Kconfig config FB_OMAP2_PANEL_DSI_CM · line 52

Quoted 4 lines
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +1 -0
@@ -49,6 +49,7 @@ config FB_OMAP2_PANEL_DSI_CM
 config FB_OMAP2_PANEL_SONY_ACX565AKM
 	tristate "ACX565AKM Panel"
 	depends on SPI && BACKLIGHT_CLASS_DEVICE
+	depends on DRM_PANEL_SONY_ACX565AKM = n

Would:
depends on !DRM_PANEL_SONY_ACX565AKM

do the same?

Example:
config FB_INTEL

        tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support"
        depends on FB && PCI && X86 && AGP_INTEL && EXPERT
	...
        depends on !DRM_I915

DRM_915 is a tristate symbol.

It is maybe bikeshedding, but the !<SYMBOL> seems more logical/readable to me.

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Hi Sam,

Quoted 41 lines · Sam Ravnborg

Hi Laurent

Thanks for beating me on this!

Quoted 18 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
 drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +0 -0
index 8c1c5a4cfe18..744416dc530e 100644

drivers/video/fbdev/omap2/omapfb/displays/Kconfig config FB_OMAP2_PANEL_DSI_CM · line 52

Quoted 4 lines
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +1 -0
@@ -49,6 +49,7 @@ config FB_OMAP2_PANEL_DSI_CM
 config FB_OMAP2_PANEL_SONY_ACX565AKM
 	tristate "ACX565AKM Panel"
 	depends on SPI && BACKLIGHT_CLASS_DEVICE
+	depends on DRM_PANEL_SONY_ACX565AKM = n

Would:
depends on !DRM_PANEL_SONY_ACX565AKM

do the same?

Example:
config FB_INTEL

        tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support"
        depends on FB && PCI && X86 && AGP_INTEL && EXPERT
	...
        depends on !DRM_I915
Quoted 3 lines

DRM_915 is a tristate symbol.

It is maybe bikeshedding, but the !<SYMBOL> seems more logical/readable to me.

The two are equivalent as far as I can tell, so I'm fine with !<SYMBOL>. Would you change that when applying, or should I send a v2 ?

Signature · 7 lines
Regards,

Laurent Pinchart
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Hi Laurent.

Quoted 44 lines · Laurent Pinchart

Hi Sam,

Quoted 41 lines · Sam Ravnborg

Hi Laurent

Thanks for beating me on this!

Quoted 18 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
 drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +0 -0
index 8c1c5a4cfe18..744416dc530e 100644

drivers/video/fbdev/omap2/omapfb/displays/Kconfig config FB_OMAP2_PANEL_DSI_CM · line 52

Quoted 4 lines
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +1 -0
@@ -49,6 +49,7 @@ config FB_OMAP2_PANEL_DSI_CM
 config FB_OMAP2_PANEL_SONY_ACX565AKM
 	tristate "ACX565AKM Panel"
 	depends on SPI && BACKLIGHT_CLASS_DEVICE
+	depends on DRM_PANEL_SONY_ACX565AKM = n

Would:
depends on !DRM_PANEL_SONY_ACX565AKM

do the same?

Example:
config FB_INTEL

        tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support"
        depends on FB && PCI && X86 && AGP_INTEL && EXPERT
	...
        depends on !DRM_I915
Quoted 6 lines
Quoted 3 lines

DRM_915 is a tristate symbol.

It is maybe bikeshedding, but the !<SYMBOL> seems more logical/readable to me.

The two are equivalent as far as I can tell, so I'm fine with !<SYMBOL>. Would you change that when applying, or should I send a v2 ?

I failed to convince myself they are equivalent.

From kconfig-languae.rst:

"
'!' <expr> (6)
(6) Returns the result of (2-/expr/).

An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2 respectively for calculations). A menu entry becomes visible when its expression evaluates to 'm' or 'y'.
"

So !<SYMBOL> equals 1 for m and 0 for y. If I get it right.

My testing was not fully conclusive.

So I left it as is.
Added a few Fixes: etc. tags.
Applied and pushed to drm-misc-next.

Ohh, and dim came to my rescue. My Fixes: syntax was wrong but it was caught in my "dim push" - nice.

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Quoted 69 lines · Sam Ravnborg

Hi Laurent.

Quoted 44 lines · Laurent Pinchart

Hi Sam,

Quoted 41 lines · Sam Ravnborg

Hi Laurent

Thanks for beating me on this!

Quoted 18 lines · Laurent Pinchart

Standard DRM panel drivers for several panels used by omapfb2 are now available. Their module name clashes with the modules from drivers/gpu/drm/omapdrm/displays/, part of the deprecated omapfb2 fbdev driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panels depend on the standard DRM panels being disabled to fix the name clash.

---
 drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +0 -0
index 8c1c5a4cfe18..744416dc530e 100644

drivers/video/fbdev/omap2/omapfb/displays/Kconfig config FB_OMAP2_PANEL_DSI_CM · line 52

Quoted 4 lines
drivers/video/fbdev/omap2/omapfb/displays/Kconfig +1 -0
@@ -49,6 +49,7 @@ config FB_OMAP2_PANEL_DSI_CM
 config FB_OMAP2_PANEL_SONY_ACX565AKM
 	tristate "ACX565AKM Panel"
 	depends on SPI && BACKLIGHT_CLASS_DEVICE
+	depends on DRM_PANEL_SONY_ACX565AKM = n

Would:
depends on !DRM_PANEL_SONY_ACX565AKM

do the same?

Example:
config FB_INTEL

        tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support"
        depends on FB && PCI && X86 && AGP_INTEL && EXPERT
	...
        depends on !DRM_I915
Quoted 6 lines
Quoted 3 lines

DRM_915 is a tristate symbol.

It is maybe bikeshedding, but the !<SYMBOL> seems more logical/readable to me.

The two are equivalent as far as I can tell, so I'm fine with !<SYMBOL>. Would you change that when applying, or should I send a v2 ?

I failed to convince myself they are equivalent.

From kconfig-languae.rst:

"
'!' <expr> (6)
(6) Returns the result of (2-/expr/).

An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2 respectively for calculations). A menu entry becomes visible when its expression evaluates to 'm' or 'y'.
"

So !<SYMBOL> equals 1 for m and 0 for y. If I get it right.

Quoted 8 lines

My testing was not fully conclusive.

So I left it as is.
Added a few Fixes: etc. tags.
Applied and pushed to drm-misc-next.

Ohh, and dim came to my rescue. My Fixes: syntax was wrong but it was caught in my "dim push" - nice.

Aside: dim fixes and dim cite should generate conformant commit citations. -Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

Hi Daniel

Quoted 5 lines
Quoted 3 lines

Ohh, and dim came to my rescue. My Fixes: syntax was wrong but it was caught in my "dim push" - nice.

Aside: dim fixes and dim cite should generate conformant commit citations.

Maybe I should invest more time in the wonders of dim. So far my use is limited to:

dim update-branches
dim push
dim apply
dim add-missing-cc

But I can see dim has a bit more possibilities.
Well, time to read some of the documentation.

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

PATCH 2/2 drm/omap: displays: Remove unused panel drivers

In reply to Laurent Pinchart

drm_panel-based drivers for the ACX565AKM, LB035Q02, LS037V7DW01, NL8048HL11, TD028TTEC1 and TD043MTEA1 are available, remove the omapdrm-specific 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 -
 9 files changed, 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
drivers/gpu/drm/omapdrm/displays/Kconfig +0 -38
index c2566da32ac4..240dda102845 100644
@@ -29,42 +29,4 @@ config DRM_OMAP_PANEL_DSI_CM
 	help
 	  Driver for generic DSI command mode panels.
 
-config DRM_OMAP_PANEL_SONY_ACX565AKM
-	tristate "ACX565AKM Panel"
-	depends on SPI && BACKLIGHT_CLASS_DEVICE
-	help
-	  This is the LCD panel used on Nokia N900
-
-config DRM_OMAP_PANEL_LGPHILIPS_LB035Q02
-	tristate "LG.Philips LB035Q02 LCD Panel"
-	depends on SPI
-	help
-	  LCD Panel used on the Gumstix Overo Palo35
-
-config DRM_OMAP_PANEL_SHARP_LS037V7DW01
-        tristate "Sharp LS037V7DW01 LCD Panel"
-        depends on BACKLIGHT_CLASS_DEVICE
-        help
-          LCD Panel used in TI's SDP3430 and EVM boards
-
-config DRM_OMAP_PANEL_TPO_TD028TTEC1
-        tristate "TPO TD028TTEC1 LCD Panel"
-        depends on SPI
-        help
-          LCD panel used in Openmoko.
-
-config DRM_OMAP_PANEL_TPO_TD043MTEA1
-        tristate "TPO TD043MTEA1 LCD Panel"
-        depends on SPI
-        help
-          LCD Panel used in OMAP3 Pandora
-
-config DRM_OMAP_PANEL_NEC_NL8048HL11
-	tristate "NEC NL8048HL11 Panel"
-	depends on SPI
-	depends on BACKLIGHT_CLASS_DEVICE
-	help
-		This NEC NL8048HL11 panel is TFT LCD used in the
-		Zoom2/3/3630 sdp boards.
-
 endmenu
drivers/gpu/drm/omapdrm/displays/Makefile +0 -6
index 1db34d4fed64..cb76859dc574 100644
@@ -4,9 +4,3 @@ obj-$(CONFIG_DRM_OMAP_ENCODER_TPD12S015) += encoder-tpd12s015.o
 obj-$(CONFIG_DRM_OMAP_CONNECTOR_HDMI) += connector-hdmi.o
 obj-$(CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV) += connector-analog-tv.o
 obj-$(CONFIG_DRM_OMAP_PANEL_DSI_CM) += panel-dsi-cm.o
-obj-$(CONFIG_DRM_OMAP_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o
-obj-$(CONFIG_DRM_OMAP_PANEL_LGPHILIPS_LB035Q02) += panel-lgphilips-lb035q02.o
-obj-$(CONFIG_DRM_OMAP_PANEL_SHARP_LS037V7DW01) += panel-sharp-ls037v7dw01.o
-obj-$(CONFIG_DRM_OMAP_PANEL_TPO_TD028TTEC1) += panel-tpo-td028ttec1.o
-obj-$(CONFIG_DRM_OMAP_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o
-obj-$(CONFIG_DRM_OMAP_PANEL_NEC_NL8048HL11) += panel-nec-nl8048hl11.o
drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c deleted +0 -251

251 lines not on this page · raw message

drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c deleted +0 -271

271 lines not on this page · raw message

drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c deleted +0 -262

262 lines not on this page · raw message

drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c deleted +0 -755

755 lines not on this page · raw message

drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c deleted +0 -390

390 lines not on this page · raw message

drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c deleted +0 -513

513 lines not on this page · raw message

drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c +0 -7
index a140de79c50e..31502857f013 100644
@@ -176,17 +176,10 @@ static const struct of_device_id omapdss_of_match[] __initconst = {
 static const struct of_device_id omapdss_of_fixups_whitelist[] __initconst = {
 	{ .compatible = "composite-video-connector" },
 	{ .compatible = "hdmi-connector" },
-	{ .compatible = "lgphilips,lb035q02" },
-	{ .compatible = "nec,nl8048hl11" },
 	{ .compatible = "panel-dsi-cm" },
-	{ .compatible = "sharp,ls037v7dw01" },
-	{ .compatible = "sony,acx565akm" },
 	{ .compatible = "svideo-connector" },
 	{ .compatible = "ti,opa362" },
 	{ .compatible = "ti,tpd12s015" },
-	{ .compatible = "toppoly,td028ttec1" },
-	{ .compatible = "tpo,td028ttec1" },
-	{ .compatible = "tpo,td043mtea1" },
 	{},
 };
 
Signature · 8 lines
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 2/2
#13 lore raw

Re: [PATCH 2/2] drm/omap: displays: Remove unused panel drivers

Quoted 16 lines · Laurent Pinchart

drm_panel-based drivers for the ACX565AKM, LB035Q02, LS037V7DW01, NL8048HL11, TD028TTEC1 and TD043MTEA1 are available, remove the omapdrm-specific 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 -
  9 files changed, 2493 deletions(-)
Quoted 6 lines

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

Tomi

Signature · 6 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw
In reply to Laurent Pinchart

Hi all

Quoted 21 lines · Laurent Pinchart

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".

Quoted 4 lines

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

Applied and pushed to drm-misc-next.

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel