Skip to contentSkip to conversation

drm: Rationalize DRM_MIPI_DSI inclusion in Kconfig

PATCH In review Sean Paul 5 participants 5 messages Aug 16, 2018 – Aug 20, 2018

Subsystems (3)
lore
Share & tools
lore

Sean Paul

author
#0 lore raw

PATCH 1/1 drm: Rationalize DRM_MIPI_DSI inclusion in Kconfig

From: Sean Paul <[email protected]>

DRM_MIPI_DSI is included via both "select" and "depends on", this is trouble waiting to happen since this will result in different behavior depending on which is used.

This patch resolves the problem by:
- Converting all inclusion to "select" since DRM_MIPI_DSI is not a menu item.
- Remove "depends on DRM" since "select"ing DRM_MIPI_DSI won't include DRM anyways, so this is misleading.

---
 drivers/gpu/drm/Kconfig       |  1 -
 drivers/gpu/drm/panel/Kconfig | 22 +++++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)
drivers/gpu/drm/Kconfig +0 -1
index cb88528e7b10..197691b10c6b 100644
@@ -25,7 +25,6 @@ menuconfig DRM
 
 config DRM_MIPI_DSI
 	bool
-	depends on DRM
 
 config DRM_DP_AUX_CHARDEV
 	bool "DRM DP AUX Interface"
drivers/gpu/drm/panel/Kconfig +11 -11
index 6020c30a33b3..a1e00e9fa566 100644
@@ -49,7 +49,7 @@ config DRM_PANEL_ILITEK_IL9322
 config DRM_PANEL_ILITEK_ILI9881C
 	tristate "Ilitek ILI9881C-based panels"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y if you want to enable support for panels based on the
@@ -58,7 +58,7 @@ config DRM_PANEL_ILITEK_ILI9881C
 config DRM_PANEL_INNOLUX_P079ZCA
 	tristate "Innolux P079ZCA panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Innolux P079ZCA
@@ -69,7 +69,7 @@ config DRM_PANEL_INNOLUX_P079ZCA
 config DRM_PANEL_JDI_LT070ME05000
 	tristate "JDI LT070ME05000 WUXGA DSI panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for JDI DSI video mode
@@ -93,7 +93,7 @@ config DRM_PANEL_LG_LG4573
 config DRM_PANEL_ORISETECH_OTM8009A
 	tristate "Orise Technology otm8009a 480x800 dsi 2dl panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Orise Technology
@@ -102,7 +102,7 @@ config DRM_PANEL_ORISETECH_OTM8009A
 config DRM_PANEL_PANASONIC_VVX10F034N00
 	tristate "Panasonic VVX10F034N00 1920x1200 video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Panasonic VVX10F034N00
@@ -111,7 +111,7 @@ config DRM_PANEL_PANASONIC_VVX10F034N00
 
 config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 	tristate "Raspberry Pi 7-inch touchscreen panel"
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	help
 	  Say Y here if you want to enable support for the Raspberry
 	  Pi 7" Touchscreen.  To compile this driver as a module,
@@ -120,7 +120,7 @@ config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 config DRM_PANEL_RAYDIUM_RM68200
 	tristate "Raydium RM68200 720x1280 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Raydium RM68200
@@ -129,14 +129,14 @@ config DRM_PANEL_RAYDIUM_RM68200
 config DRM_PANEL_SAMSUNG_S6E3HA2
 	tristate "Samsung S6E3HA2 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
 config DRM_PANEL_SAMSUNG_S6E63J0X03
 	tristate "Samsung S6E63J0X03 DSI command mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
@@ -158,7 +158,7 @@ config DRM_PANEL_SEIKO_43WVF1G
 config DRM_PANEL_SHARP_LQ101R1SX01
 	tristate "Sharp LQ101R1SX01 panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LQ101R1SX01
@@ -172,7 +172,7 @@ config DRM_PANEL_SHARP_LQ101R1SX01
 config DRM_PANEL_SHARP_LS043T1LE01
 	tristate "Sharp LS043T1LE01 qHD video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LS043T1LE01 qHD
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · Sean Paul

From: Sean Paul <[email protected]>

DRM_MIPI_DSI is included via both "select" and "depends on", this is trouble waiting to happen since this will result in different behavior depending on which is used.

This patch resolves the problem by:
- Converting all inclusion to "select" since DRM_MIPI_DSI is not a menu item.
- Remove "depends on DRM" since "select"ing DRM_MIPI_DSI won't include DRM anyways, so this is misleading.

---
 drivers/gpu/drm/Kconfig       |  1 -
 drivers/gpu/drm/panel/Kconfig | 22 +++++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)
drivers/gpu/drm/Kconfig +0 -0
index cb88528e7b10..197691b10c6b 100644

drivers/gpu/drm/Kconfig menuconfig DRM · line 28

Quoted 4 lines
drivers/gpu/drm/Kconfig +0 -1
@@ -25,7 +25,6 @@ menuconfig DRM
 
 config DRM_MIPI_DSI
 	bool
-	depends on DRM

Since DRM_MIPI_DSI is a hidden symbol this should be ok. Personally I think just throwing this out would be better, pretty much all other helpers we have aren't optional (beyond the overall helper knob, maybe also doesn't make sense - every driver needs it anyway).

But Jani's ack here is worth more for sure on this topic :-) -Daniel

Quoted 112 lines
drivers/gpu/drm/Kconfig +0 -0
 config DRM_DP_AUX_CHARDEV
 	bool "DRM DP AUX Interface"
drivers/gpu/drm/panel/Kconfig +11 -11
index 6020c30a33b3..a1e00e9fa566 100644
@@ -49,7 +49,7 @@ config DRM_PANEL_ILITEK_IL9322
 config DRM_PANEL_ILITEK_ILI9881C
 	tristate "Ilitek ILI9881C-based panels"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y if you want to enable support for panels based on the
@@ -58,7 +58,7 @@ config DRM_PANEL_ILITEK_ILI9881C
 config DRM_PANEL_INNOLUX_P079ZCA
 	tristate "Innolux P079ZCA panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Innolux P079ZCA
@@ -69,7 +69,7 @@ config DRM_PANEL_INNOLUX_P079ZCA
 config DRM_PANEL_JDI_LT070ME05000
 	tristate "JDI LT070ME05000 WUXGA DSI panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for JDI DSI video mode
@@ -93,7 +93,7 @@ config DRM_PANEL_LG_LG4573
 config DRM_PANEL_ORISETECH_OTM8009A
 	tristate "Orise Technology otm8009a 480x800 dsi 2dl panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Orise Technology
@@ -102,7 +102,7 @@ config DRM_PANEL_ORISETECH_OTM8009A
 config DRM_PANEL_PANASONIC_VVX10F034N00
 	tristate "Panasonic VVX10F034N00 1920x1200 video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Panasonic VVX10F034N00
@@ -111,7 +111,7 @@ config DRM_PANEL_PANASONIC_VVX10F034N00
 
 config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 	tristate "Raspberry Pi 7-inch touchscreen panel"
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	help
 	  Say Y here if you want to enable support for the Raspberry
 	  Pi 7" Touchscreen.  To compile this driver as a module,
@@ -120,7 +120,7 @@ config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 config DRM_PANEL_RAYDIUM_RM68200
 	tristate "Raydium RM68200 720x1280 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Raydium RM68200
@@ -129,14 +129,14 @@ config DRM_PANEL_RAYDIUM_RM68200
 config DRM_PANEL_SAMSUNG_S6E3HA2
 	tristate "Samsung S6E3HA2 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
 config DRM_PANEL_SAMSUNG_S6E63J0X03
 	tristate "Samsung S6E63J0X03 DSI command mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
@@ -158,7 +158,7 @@ config DRM_PANEL_SEIKO_43WVF1G
 config DRM_PANEL_SHARP_LQ101R1SX01
 	tristate "Sharp LQ101R1SX01 panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LQ101R1SX01
@@ -172,7 +172,7 @@ config DRM_PANEL_SHARP_LQ101R1SX01
 config DRM_PANEL_SHARP_LS043T1LE01
 	tristate "Sharp LS043T1LE01 qHD video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LS043T1LE01 qHD
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
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
Acked-by
#2 lore raw
Quoted 37 lines · Daniel Vetter
Quoted 26 lines · Sean Paul

From: Sean Paul <[email protected]>

DRM_MIPI_DSI is included via both "select" and "depends on", this is trouble waiting to happen since this will result in different behavior depending on which is used.

This patch resolves the problem by:
- Converting all inclusion to "select" since DRM_MIPI_DSI is not a menu item.
- Remove "depends on DRM" since "select"ing DRM_MIPI_DSI won't include DRM anyways, so this is misleading.

---
 drivers/gpu/drm/Kconfig       |  1 -
 drivers/gpu/drm/panel/Kconfig | 22 +++++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)
drivers/gpu/drm/Kconfig +0 -0
index cb88528e7b10..197691b10c6b 100644

drivers/gpu/drm/Kconfig menuconfig DRM · line 28

Quoted 4 lines
drivers/gpu/drm/Kconfig +0 -1
@@ -25,7 +25,6 @@ menuconfig DRM
 
 config DRM_MIPI_DSI
 	bool
-	depends on DRM

Since DRM_MIPI_DSI is a hidden symbol this should be ok. Personally I think just throwing this out would be better, pretty much all other helpers we have aren't optional (beyond the overall helper knob, maybe also doesn't make sense - every driver needs it anyway).

Quoted 3 lines

But Jani's ack here is worth more for sure on this topic :-)

Haven't had my morning coffee yet, but looks good.

Quoted 115 lines

-Daniel

Quoted 112 lines
drivers/gpu/drm/Kconfig +0 -0
 config DRM_DP_AUX_CHARDEV
 	bool "DRM DP AUX Interface"
drivers/gpu/drm/panel/Kconfig +11 -11
index 6020c30a33b3..a1e00e9fa566 100644
@@ -49,7 +49,7 @@ config DRM_PANEL_ILITEK_IL9322
 config DRM_PANEL_ILITEK_ILI9881C
 	tristate "Ilitek ILI9881C-based panels"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y if you want to enable support for panels based on the
@@ -58,7 +58,7 @@ config DRM_PANEL_ILITEK_ILI9881C
 config DRM_PANEL_INNOLUX_P079ZCA
 	tristate "Innolux P079ZCA panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Innolux P079ZCA
@@ -69,7 +69,7 @@ config DRM_PANEL_INNOLUX_P079ZCA
 config DRM_PANEL_JDI_LT070ME05000
 	tristate "JDI LT070ME05000 WUXGA DSI panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for JDI DSI video mode
@@ -93,7 +93,7 @@ config DRM_PANEL_LG_LG4573
 config DRM_PANEL_ORISETECH_OTM8009A
 	tristate "Orise Technology otm8009a 480x800 dsi 2dl panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Orise Technology
@@ -102,7 +102,7 @@ config DRM_PANEL_ORISETECH_OTM8009A
 config DRM_PANEL_PANASONIC_VVX10F034N00
 	tristate "Panasonic VVX10F034N00 1920x1200 video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Panasonic VVX10F034N00
@@ -111,7 +111,7 @@ config DRM_PANEL_PANASONIC_VVX10F034N00
 
 config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 	tristate "Raspberry Pi 7-inch touchscreen panel"
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	help
 	  Say Y here if you want to enable support for the Raspberry
 	  Pi 7" Touchscreen.  To compile this driver as a module,
@@ -120,7 +120,7 @@ config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 config DRM_PANEL_RAYDIUM_RM68200
 	tristate "Raydium RM68200 720x1280 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Raydium RM68200
@@ -129,14 +129,14 @@ config DRM_PANEL_RAYDIUM_RM68200
 config DRM_PANEL_SAMSUNG_S6E3HA2
 	tristate "Samsung S6E3HA2 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
 config DRM_PANEL_SAMSUNG_S6E63J0X03
 	tristate "Samsung S6E63J0X03 DSI command mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
@@ -158,7 +158,7 @@ config DRM_PANEL_SEIKO_43WVF1G
 config DRM_PANEL_SHARP_LQ101R1SX01
 	tristate "Sharp LQ101R1SX01 panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LQ101R1SX01
@@ -172,7 +172,7 @@ config DRM_PANEL_SHARP_LQ101R1SX01
 config DRM_PANEL_SHARP_LS043T1LE01
 	tristate "Sharp LS043T1LE01 qHD video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LS043T1LE01 qHD
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
In reply to Sean Paul
Quoted 11 lines · Sean Paul

From: Sean Paul <[email protected]>

DRM_MIPI_DSI is included via both "select" and "depends on", this is trouble waiting to happen since this will result in different behavior depending on which is used.

This patch resolves the problem by:
- Converting all inclusion to "select" since DRM_MIPI_DSI is not a menu item.
- Remove "depends on DRM" since "select"ing DRM_MIPI_DSI won't include DRM anyways, so this is misleading.

The reason behind the decision to have both select and depends on for this was, if I recall correctly, so that a driver would select the symbol if it implemented (i.e. "provided") a DSI controller and panel drivers (or bridge drivers for that matter) would depend on the symbol to specify that they want to "consume" a DSI controller. That way the DSI panels and bridges can't be selected unless there is a driver that provides a DSI controller. If there's no driver that provides a DSI controller, there's no use in enabling any panels that need one.

Granted, in retrospect this seems somewhat over-engineered, but the reason why it works is because thy symbol is not user-visible. That's one of the, I think even documented, use-cases where it is safe to use both select and depends.

That said, I'm fine with simplifying this, but if we do, I would prefer going all the way and just removing the symbol entirely. It's not like it is a lot of extra infrastructure, at least compared to the rest of the helpers that we already pull in. There are also quite a few drivers that support DSI now, so I think there's more justification for unconditional inclusion than there used to be.

Thierry

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

#4 lore raw
In reply to Sean Paul
Quoted 5 lines · Sean Paul

From: Sean Paul <[email protected]>

DRM_MIPI_DSI is included via both "select" and "depends on", this is trouble waiting to happen since this will result in different behavior depending on which is used.

As Thierry said 'select' is for DSI controllers, 'depends on' for DSI devices, why is it problematic?
What kind of troubles do you expect?

Quoted 6 lines

This patch resolves the problem by:
- Converting all inclusion to "select" since DRM_MIPI_DSI is not a menu item.
- Remove "depends on DRM" since "select"ing DRM_MIPI_DSI won't include DRM anyways, so this is misleading.

I suppose "depends on DRM" should mean the code enabled by symbol DRM_MIPI_DSI uses code enabled by symbol DRM, ie maybe removal of this symbol is OK (if dsi framework does not depends on DRM), but the reason is incorrect IMHO.

Regards
Andrzej

Quoted 116 lines
---
 drivers/gpu/drm/Kconfig       |  1 -
 drivers/gpu/drm/panel/Kconfig | 22 +++++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)
drivers/gpu/drm/Kconfig +0 -1
index cb88528e7b10..197691b10c6b 100644
@@ -25,7 +25,6 @@ menuconfig DRM
 
 config DRM_MIPI_DSI
 	bool
-	depends on DRM
 
 config DRM_DP_AUX_CHARDEV
 	bool "DRM DP AUX Interface"
drivers/gpu/drm/panel/Kconfig +10 -10
index 6020c30a33b3..a1e00e9fa566 100644
@@ -49,7 +49,7 @@ config DRM_PANEL_ILITEK_IL9322
 config DRM_PANEL_ILITEK_ILI9881C
 	tristate "Ilitek ILI9881C-based panels"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y if you want to enable support for panels based on the
@@ -58,7 +58,7 @@ config DRM_PANEL_ILITEK_ILI9881C
 config DRM_PANEL_INNOLUX_P079ZCA
 	tristate "Innolux P079ZCA panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Innolux P079ZCA
@@ -69,7 +69,7 @@ config DRM_PANEL_INNOLUX_P079ZCA
 config DRM_PANEL_JDI_LT070ME05000
 	tristate "JDI LT070ME05000 WUXGA DSI panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for JDI DSI video mode
@@ -93,7 +93,7 @@ config DRM_PANEL_LG_LG4573
 config DRM_PANEL_ORISETECH_OTM8009A
 	tristate "Orise Technology otm8009a 480x800 dsi 2dl panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Orise Technology
@@ -102,7 +102,7 @@ config DRM_PANEL_ORISETECH_OTM8009A
 config DRM_PANEL_PANASONIC_VVX10F034N00
 	tristate "Panasonic VVX10F034N00 1920x1200 video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Panasonic VVX10F034N00
@@ -111,7 +111,7 @@ config DRM_PANEL_PANASONIC_VVX10F034N00
 
 config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 	tristate "Raspberry Pi 7-inch touchscreen panel"
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	help
 	  Say Y here if you want to enable support for the Raspberry
 	  Pi 7" Touchscreen.  To compile this driver as a module,
@@ -120,7 +120,7 @@ config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
 config DRM_PANEL_RAYDIUM_RM68200
 	tristate "Raydium RM68200 720x1280 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Raydium RM68200
@@ -129,14 +129,14 @@ config DRM_PANEL_RAYDIUM_RM68200
 config DRM_PANEL_SAMSUNG_S6E3HA2
 	tristate "Samsung S6E3HA2 DSI video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
 config DRM_PANEL_SAMSUNG_S6E63J0X03
 	tristate "Samsung S6E63J0X03 DSI command mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
@@ -158,7 +158,7 @@ config DRM_PANEL_SEIKO_43WVF1G
 config DRM_PANEL_SHARP_LQ101R1SX01
 	tristate "Sharp LQ101R1SX01 panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LQ101R1SX01

drivers/gpu/drm/panel/Kconfig config DRM_PANEL_SHARP_LQ101R1SX01 · line 178

Quoted 8 lines
drivers/gpu/drm/panel/Kconfig +1 -1
@@ -172,7 +172,7 @@ config DRM_PANEL_SHARP_LQ101R1SX01
 config DRM_PANEL_SHARP_LS043T1LE01
 	tristate "Sharp LS043T1LE01 qHD video mode panel"
 	depends on OF
-	depends on DRM_MIPI_DSI
+	select DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for Sharp LS043T1LE01 qHD

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