Skip to contentSkip to conversation

drivers/ps3: select VIDEO to provide cmdline functions

PATCH In review Randy Dunlap 3 participants 4 messages Feb 7, 2024 – Feb 9, 2024

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

PATCH v2 1/1 drivers/ps3: select VIDEO to provide cmdline functions

When VIDEO is not set, there is a build error. Fix that by selecting VIDEO for PS3_PS3AV.

ERROR: modpost: ".video_get_options" [drivers/ps3/ps3av_mod.ko] undefined!

Fixes dae7fbf43fd0 ("driver/ps3: Include <video/cmdline.h> for mode parsing")
Fixes a3b6792e990d ("video/cmdline: Introduce CONFIG_VIDEO for video= parameter")
Cc Michael Ellerman <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Aneesh Kumar K.V <[email protected]>
Cc Naveen N. Rao <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Geoff Levand <[email protected]>

---
v2: add Geoff's Ack;
add second Fixes: tag and more Cc:s (Thomas)

 arch/powerpc/platforms/ps3/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/powerpc/platforms/ps3/Kconfig +1 -0
diff -- a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig
@@ -67,6 +67,7 @@ config PS3_VUART
 config PS3_PS3AV
 	depends on PPC_PS3
 	tristate "PS3 AV settings driver" if PS3_ADVANCED
+	select VIDEO
 	select PS3_VUART
 	default y
 	help
Reviewed-by on v2 1/1
#1 lore raw

Am 07.02.24 um 17:13 schrieb Randy Dunlap:

Quoted 5 lines

When VIDEO is not set, there is a build error. Fix that by selecting VIDEO for PS3_PS3AV.

ERROR: modpost: ".video_get_options" [drivers/ps3/ps3av_mod.ko] undefined!

Quoted 14 lines
Fixes dae7fbf43fd0 ("driver/ps3: Include <video/cmdline.h> for mode parsing")
Fixes a3b6792e990d ("video/cmdline: Introduce CONFIG_VIDEO for video= parameter")
Cc Michael Ellerman <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Aneesh Kumar K.V <[email protected]>
Cc Naveen N. Rao <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Geoff Levand <[email protected]>
Quoted 18 lines

---
v2: add Geoff's Ack;
add second Fixes: tag and more Cc:s (Thomas)

  arch/powerpc/platforms/ps3/Kconfig |    1 +
  1 file changed, 1 insertion(+)

diff -- a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig

arch/powerpc/platforms/ps3/Kconfig +1 -0
@@ -67,6 +67,7 @@ config PS3_VUART
  config PS3_PS3AV
  	depends on PPC_PS3
  	tristate "PS3 AV settings driver" if PS3_ADVANCED
+	select VIDEO
  	select PS3_VUART
  	default y
  	help
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
reviewer Acked-by
#2 lore raw
Quoted 21 lines · Thomas Zimmermann

Am 07.02.24 um 17:13 schrieb Randy Dunlap:

Quoted 5 lines

When VIDEO is not set, there is a build error. Fix that by selecting VIDEO for PS3_PS3AV.

ERROR: modpost: ".video_get_options" [drivers/ps3/ps3av_mod.ko] undefined!

Quoted 14 lines
Fixes dae7fbf43fd0 ("driver/ps3: Include <video/cmdline.h> for mode parsing")
Fixes a3b6792e990d ("video/cmdline: Introduce CONFIG_VIDEO for video= parameter")
Cc Michael Ellerman <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Aneesh Kumar K.V <[email protected]>
Cc Naveen N. Rao <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Geoff Levand <[email protected]>
Quoted 1 line

Can you take it via whatever tree the CONFIG_VIDEO patch is in?

cheers

#3 lore raw

Hi

Am 09.02.24 um 06:15 schrieb Michael Ellerman:

Quoted 21 lines
Quoted 20 lines · Thomas Zimmermann

Am 07.02.24 um 17:13 schrieb Randy Dunlap:

Quoted 19 lines

When VIDEO is not set, there is a build error. Fix that by selecting VIDEO for PS3_PS3AV.

ERROR: modpost: ".video_get_options" [drivers/ps3/ps3av_mod.ko] undefined!

Fixes dae7fbf43fd0 ("driver/ps3: Include <video/cmdline.h> for mode parsing")
Fixes a3b6792e990d ("video/cmdline: Introduce CONFIG_VIDEO for video= parameter")
Cc Michael Ellerman <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Aneesh Kumar K.V <[email protected]>
Cc Naveen N. Rao <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Geoff Levand <[email protected]>
Quoted 2 lines
Quoted 1 line

Can you take it via whatever tree the CONFIG_VIDEO patch is in?

The patch is now in drm-misc-next.

Best regards
Thomas

Quoted 4 lines

cheers

Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)