dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] drivers/ps3: select VIDEO to provide cmdline functions
@ 2024-02-07 16:13 Randy Dunlap
  2024-02-07 16:36 ` Thomas Zimmermann
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2024-02-07 16:13 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Aneesh Kumar K . V, Naveen N . Rao,
	linuxppc-dev, Thomas Zimmermann, Geoff Levand, linux-fbdev,
	dri-devel

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 <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Geoff Levand <geoff@infradead.org>
Acked-by: Geoff Levand <geoff@infradead.org>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
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
--- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] drivers/ps3: select VIDEO to provide cmdline functions
  2024-02-07 16:13 [PATCH v2] drivers/ps3: select VIDEO to provide cmdline functions Randy Dunlap
@ 2024-02-07 16:36 ` Thomas Zimmermann
  2024-02-09  5:15   ` Michael Ellerman
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Zimmermann @ 2024-02-07 16:36 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: Michael Ellerman, Nicholas Piggin, Christophe Leroy,
	Aneesh Kumar K . V, Naveen N . Rao, linuxppc-dev, Geoff Levand,
	linux-fbdev, dri-devel



Am 07.02.24 um 17:13 schrieb Randy Dunlap:
> 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 <mpe@ellerman.id.au>
> Cc: Nicholas Piggin <npiggin@gmail.com>
> Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
> Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
> Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: Geoff Levand <geoff@infradead.org>
> Acked-by: Geoff Levand <geoff@infradead.org>
> Cc: linux-fbdev@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>

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

-- 
--
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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] drivers/ps3: select VIDEO to provide cmdline functions
  2024-02-07 16:36 ` Thomas Zimmermann
@ 2024-02-09  5:15   ` Michael Ellerman
  2024-02-09 20:24     ` Thomas Zimmermann
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2024-02-09  5:15 UTC (permalink / raw)
  To: Thomas Zimmermann, Randy Dunlap, linux-kernel
  Cc: Nicholas Piggin, Christophe Leroy, Aneesh Kumar K . V,
	Naveen N . Rao, linuxppc-dev, Geoff Levand, linux-fbdev,
	dri-devel

Thomas Zimmermann <tzimmermann@suse.de> writes:
> Am 07.02.24 um 17:13 schrieb Randy Dunlap:
>> 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 <mpe@ellerman.id.au>
>> Cc: Nicholas Piggin <npiggin@gmail.com>
>> Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
>> Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
>> Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
>> Cc: linuxppc-dev@lists.ozlabs.org
>> Cc: Thomas Zimmermann <tzimmermann@suse.de>
>> Cc: Geoff Levand <geoff@infradead.org>
>> Acked-by: Geoff Levand <geoff@infradead.org>
>> Cc: linux-fbdev@vger.kernel.org
>> Cc: dri-devel@lists.freedesktop.org
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>
> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>

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

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] drivers/ps3: select VIDEO to provide cmdline functions
  2024-02-09  5:15   ` Michael Ellerman
@ 2024-02-09 20:24     ` Thomas Zimmermann
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Zimmermann @ 2024-02-09 20:24 UTC (permalink / raw)
  To: Michael Ellerman, Randy Dunlap, linux-kernel
  Cc: Nicholas Piggin, Christophe Leroy, Aneesh Kumar K . V,
	Naveen N . Rao, linuxppc-dev, Geoff Levand, linux-fbdev,
	dri-devel

Hi

Am 09.02.24 um 06:15 schrieb Michael Ellerman:
> Thomas Zimmermann <tzimmermann@suse.de> writes:
>> Am 07.02.24 um 17:13 schrieb Randy Dunlap:
>>> 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 <mpe@ellerman.id.au>
>>> Cc: Nicholas Piggin <npiggin@gmail.com>
>>> Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
>>> Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
>>> Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
>>> Cc: linuxppc-dev@lists.ozlabs.org
>>> Cc: Thomas Zimmermann <tzimmermann@suse.de>
>>> Cc: Geoff Levand <geoff@infradead.org>
>>> Acked-by: Geoff Levand <geoff@infradead.org>
>>> Cc: linux-fbdev@vger.kernel.org
>>> Cc: dri-devel@lists.freedesktop.org
>>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
> Can you take it via whatever tree the CONFIG_VIDEO patch is in?

The patch is now in drm-misc-next.

Best regards
Thomas

>
> Acked-by: Michael Ellerman <mpe@ellerman.id.au>
>
> cheers

-- 
--
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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-09 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07 16:13 [PATCH v2] drivers/ps3: select VIDEO to provide cmdline functions Randy Dunlap
2024-02-07 16:36 ` Thomas Zimmermann
2024-02-09  5:15   ` Michael Ellerman
2024-02-09 20:24     ` Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).