Skip to contentSkip to conversation

drm/shmobile: Add run-time dependencies

PATCH In review Jean Delvare 3 participants 3 messages May 26, 2014 – May 27, 2014

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

PATCH 1/1 drm/shmobile: Add run-time dependencies

The shmobile DRM driver is only useful on SuperH and shmobile unless build testing. I am dropping the SuperH dependencies though because the driver doesn't even build there, so in practice it is an arm-only driver for now.

Cc Laurent Pinchart <[email protected]>
Cc David Airlie <[email protected]>
---
 drivers/gpu/drm/shmobile/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/shmobile/Kconfig +2 -1
@@ -1,6 +1,7 @@
 config DRM_SHMOBILE
 	tristate "DRM Support for SH Mobile"
-	depends on DRM && (ARM || SUPERH)
+	depends on DRM && ARM
+	depends on ARCH_SHMOBILE || COMPILE_TEST
 	select BACKLIGHT_CLASS_DEVICE
 	select DRM_KMS_HELPER
 	select DRM_KMS_FB_HELPER
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by on v1 1/1
#1 lore raw

Hi Jean,

Thank you for the patch.

Quoted 8 lines · On Monday 26 May 2014 14:52:13 Jean Delvare wrote:

The shmobile DRM driver is only useful on SuperH and shmobile unless build testing. I am dropping the SuperH dependencies though because the driver doesn't even build there, so in practice it is an arm-only driver for now.

Cc Laurent Pinchart <[email protected]>
Cc David Airlie <[email protected]>

Dave, could you please take this patch (and the related drm/rcar-du patch) in your tree ?

Quoted 16 lines
---
 drivers/gpu/drm/shmobile/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- linux-3.15-rc7.orig/drivers/gpu/drm/shmobile/Kconfig 2014-03-31
05:40:15.000000000 +0200 +++
linux-3.15-rc7/drivers/gpu/drm/shmobile/Kconfig 2014-05-26
14:43:55.431904229 +0200 @@ -1,6 +1,7 @@
config DRM_SHMOBILE

drivers/gpu/drm/shmobile/Kconfig +2 -1
 	tristate "DRM Support for SH Mobile"
-	depends on DRM && (ARM || SUPERH)
+	depends on DRM && ARM
+	depends on ARCH_SHMOBILE || COMPILE_TEST
 	select BACKLIGHT_CLASS_DEVICE
 	select DRM_KMS_HELPER
 	select DRM_KMS_FB_HELPER
Signature · 3 lines
Regards,

Laurent Pinchart
maintainer
#2 lore raw
Quoted 10 lines · Laurent Pinchart

Hi Jean,

Thank you for the patch.

Quoted 5 lines · On Monday 26 May 2014 14:52:13 Jean Delvare wrote:

The shmobile DRM driver is only useful on SuperH and shmobile unless build testing. I am dropping the SuperH dependencies though because the driver doesn't even build there, so in practice it is an arm-only driver for now.

Quoted 8 lines
Quoted 3 lines
Cc Laurent Pinchart <[email protected]>
Cc David Airlie <[email protected]>

Dave, could you please take this patch (and the related drm/rcar-du patch) in your tree ?

Done.

Dave.