linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform.
@ 2017-05-09 18:15 Eric Anholt
  2017-05-09 18:27 ` Scott Branden
  2017-05-09 23:08 ` Florian Fainelli
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Anholt @ 2017-05-09 18:15 UTC (permalink / raw)
  To: dri-devel, bcm-kernel-feedback-list, Florian Fainelli, Ray Jui,
	Scott Branden, Jon Mason
  Cc: linux-kernel, mircea.carausu, Eric Anholt

With the Cygnus port, we needed to add at least "|| ARCH_BCM_CYGNUS"
to let the module get built on a cygnus-only kernel.  However, I
anticipate having a port for Kona soon, so just present the module on
all of BCM.

v2: Keep allowing selection with ARCH_BCM2835, since ARCH_BCM doesn't
    exist on arm64.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v1)
---
 drivers/gpu/drm/vc4/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
index 973b4203c0b2..b16aefe4a8d3 100644
--- a/drivers/gpu/drm/vc4/Kconfig
+++ b/drivers/gpu/drm/vc4/Kconfig
@@ -1,6 +1,6 @@
 config DRM_VC4
 	tristate "Broadcom VC4 Graphics"
-	depends on ARCH_BCM2835 || COMPILE_TEST
+	depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
 	depends on DRM
 	depends on SND && SND_SOC
 	depends on COMMON_CLK
-- 
2.11.0

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

* Re: [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform.
  2017-05-09 18:15 [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform Eric Anholt
@ 2017-05-09 18:27 ` Scott Branden
  2017-05-09 23:08 ` Florian Fainelli
  1 sibling, 0 replies; 5+ messages in thread
From: Scott Branden @ 2017-05-09 18:27 UTC (permalink / raw)
  To: Eric Anholt, dri-devel, bcm-kernel-feedback-list,
	Florian Fainelli, Ray Jui, Scott Branden, Jon Mason
  Cc: linux-kernel, mircea.carausu

Looks good for Cygnus.

On 17-05-09 11:15 AM, Eric Anholt wrote:
> With the Cygnus port, we needed to add at least "|| ARCH_BCM_CYGNUS"
> to let the module get built on a cygnus-only kernel.  However, I
> anticipate having a port for Kona soon, so just present the module on
> all of BCM.
>
> v2: Keep allowing selection with ARCH_BCM2835, since ARCH_BCM doesn't
>     exist on arm64.
>
> Signed-off-by: Eric Anholt <eric@anholt.net>
> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v1)
Acked-by: Scott Branden <scott.branden@broadcom.com>
> ---
>  drivers/gpu/drm/vc4/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
> index 973b4203c0b2..b16aefe4a8d3 100644
> --- a/drivers/gpu/drm/vc4/Kconfig
> +++ b/drivers/gpu/drm/vc4/Kconfig
> @@ -1,6 +1,6 @@
>  config DRM_VC4
>  	tristate "Broadcom VC4 Graphics"
> -	depends on ARCH_BCM2835 || COMPILE_TEST
> +	depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
>  	depends on DRM
>  	depends on SND && SND_SOC
>  	depends on COMMON_CLK
>

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

* Re: [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform.
  2017-05-09 18:15 [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform Eric Anholt
  2017-05-09 18:27 ` Scott Branden
@ 2017-05-09 23:08 ` Florian Fainelli
  2017-05-09 23:16   ` Eric Anholt
  1 sibling, 1 reply; 5+ messages in thread
From: Florian Fainelli @ 2017-05-09 23:08 UTC (permalink / raw)
  To: Eric Anholt, dri-devel, bcm-kernel-feedback-list,
	Florian Fainelli, Ray Jui, Scott Branden, Jon Mason
  Cc: linux-kernel, mircea.carausu

On 05/09/2017 11:15 AM, Eric Anholt wrote:
> With the Cygnus port, we needed to add at least "|| ARCH_BCM_CYGNUS"
> to let the module get built on a cygnus-only kernel.  However, I
> anticipate having a port for Kona soon, so just present the module on
> all of BCM.
> 
> v2: Keep allowing selection with ARCH_BCM2835, since ARCH_BCM doesn't
>     exist on arm64.

Nit: the patch changelog usually goes after the "---" line so it gets
stripped with git am. Not necessary to resubmit just because of that.

> 
> Signed-off-by: Eric Anholt <eric@anholt.net>
> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v1)

Acked-by: Florian Fainelli <f.fainelli@gmail.com>

> ---
>  drivers/gpu/drm/vc4/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
> index 973b4203c0b2..b16aefe4a8d3 100644
> --- a/drivers/gpu/drm/vc4/Kconfig
> +++ b/drivers/gpu/drm/vc4/Kconfig
> @@ -1,6 +1,6 @@
>  config DRM_VC4
>  	tristate "Broadcom VC4 Graphics"
> -	depends on ARCH_BCM2835 || COMPILE_TEST
> +	depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
>  	depends on DRM
>  	depends on SND && SND_SOC
>  	depends on COMMON_CLK
> 


-- 
Florian

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

* Re: [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform.
  2017-05-09 23:08 ` Florian Fainelli
@ 2017-05-09 23:16   ` Eric Anholt
  2017-05-09 23:28     ` Florian Fainelli
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Anholt @ 2017-05-09 23:16 UTC (permalink / raw)
  To: Florian Fainelli, dri-devel, bcm-kernel-feedback-list,
	Florian Fainelli, Ray Jui, Scott Branden, Jon Mason
  Cc: linux-kernel, mircea.carausu

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

Florian Fainelli <f.fainelli@gmail.com> writes:

> On 05/09/2017 11:15 AM, Eric Anholt wrote:
>> With the Cygnus port, we needed to add at least "|| ARCH_BCM_CYGNUS"
>> to let the module get built on a cygnus-only kernel.  However, I
>> anticipate having a port for Kona soon, so just present the module on
>> all of BCM.
>> 
>> v2: Keep allowing selection with ARCH_BCM2835, since ARCH_BCM doesn't
>>     exist on arm64.
>
> Nit: the patch changelog usually goes after the "---" line so it gets
> stripped with git am. Not necessary to resubmit just because of that.

Behavior on that front differs between subsystems.  DRM is one where the
changelog is generally retained.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform.
  2017-05-09 23:16   ` Eric Anholt
@ 2017-05-09 23:28     ` Florian Fainelli
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2017-05-09 23:28 UTC (permalink / raw)
  To: Eric Anholt, dri-devel, bcm-kernel-feedback-list, Ray Jui,
	Scott Branden, Jon Mason
  Cc: linux-kernel, mircea.carausu

On 05/09/2017 04:16 PM, Eric Anholt wrote:
> Florian Fainelli <f.fainelli@gmail.com> writes:
> 
>> On 05/09/2017 11:15 AM, Eric Anholt wrote:
>>> With the Cygnus port, we needed to add at least "|| ARCH_BCM_CYGNUS"
>>> to let the module get built on a cygnus-only kernel.  However, I
>>> anticipate having a port for Kona soon, so just present the module on
>>> all of BCM.
>>>
>>> v2: Keep allowing selection with ARCH_BCM2835, since ARCH_BCM doesn't
>>>     exist on arm64.
>>
>> Nit: the patch changelog usually goes after the "---" line so it gets
>> stripped with git am. Not necessary to resubmit just because of that.
> 
> Behavior on that front differs between subsystems.  DRM is one where the
> changelog is generally retained.

Once the patch lands in git, it's sort of interesting to know its
history and the context surrounding this acceptance, but there is
already so much context being lost already (like where are all other
patches from the same patch series for instance?) that I wonder if we
should not add more to it (like links to past iterations and so on).

Thanks for explaining how DRM works in that regard, though.
-- 
Florian

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

end of thread, other threads:[~2017-05-09 23:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09 18:15 [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform Eric Anholt
2017-05-09 18:27 ` Scott Branden
2017-05-09 23:08 ` Florian Fainelli
2017-05-09 23:16   ` Eric Anholt
2017-05-09 23:28     ` Florian Fainelli

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