All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/etnaviv: don't restrict to certain architectures
@ 2019-01-16 15:27 Lucas Stach
  2019-01-16 16:38 ` Sam Ravnborg
  2019-01-21 16:55 ` Uwe Kleine-König
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2019-01-16 15:27 UTC (permalink / raw)
  To: etnaviv; +Cc: dri-devel, patchwork-lst, kernel, Russell King, Eugeniy Paltsev

The Vivante GPU cores are found in many different SoCs and the driver
does not depend on anything architecture specific, so just drop the
architecture restriction.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/gpu/drm/etnaviv/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/etnaviv/Kconfig b/drivers/gpu/drm/etnaviv/Kconfig
index 041a77e400d4..21df44b78df3 100644
--- a/drivers/gpu/drm/etnaviv/Kconfig
+++ b/drivers/gpu/drm/etnaviv/Kconfig
@@ -2,7 +2,6 @@
 config DRM_ETNAVIV
 	tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
 	depends on DRM
-	depends on ARCH_MXC || ARCH_DOVE || (ARM && COMPILE_TEST)
 	depends on MMU
 	select SHMEM
 	select SYNC_FILE
-- 
2.20.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH] drm/etnaviv: don't restrict to certain architectures
  2019-01-16 15:27 [PATCH] drm/etnaviv: don't restrict to certain architectures Lucas Stach
@ 2019-01-16 16:38 ` Sam Ravnborg
  2019-01-21 16:55 ` Uwe Kleine-König
  1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2019-01-16 16:38 UTC (permalink / raw)
  To: Lucas Stach
  Cc: etnaviv, dri-devel, patchwork-lst, kernel, Russell King, Eugeniy Paltsev

On Wed, Jan 16, 2019 at 04:27:58PM +0100, Lucas Stach wrote:
> The Vivante GPU cores are found in many different SoCs and the driver
> does not depend on anything architecture specific, so just drop the
> architecture restriction.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

For good measure I throwed this after my (limited) build setup.
Passed build with no warnings on ia64, alpha and x86.

So:
Acked-by: Sam Ravnborg <sam@ravnborg.org>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH] drm/etnaviv: don't restrict to certain architectures
  2019-01-16 15:27 [PATCH] drm/etnaviv: don't restrict to certain architectures Lucas Stach
  2019-01-16 16:38 ` Sam Ravnborg
@ 2019-01-21 16:55 ` Uwe Kleine-König
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2019-01-21 16:55 UTC (permalink / raw)
  To: Lucas Stach
  Cc: etnaviv, dri-devel, patchwork-lst, kernel, Russell King, Eugeniy Paltsev

On Wed, Jan 16, 2019 at 04:27:58PM +0100, Lucas Stach wrote:
> The Vivante GPU cores are found in many different SoCs and the driver
> does not depend on anything architecture specific, so just drop the
> architecture restriction.

With my Debian kernel team member hat on I don't like changes like this.
I don't know in which machines the etnaviv IP is available. Should the
Debian kernel enable it on x86? powerpc? riscv? If MXC + DOVE isn't
enough, it's your opportunity to not waste time of people who don't know
etnaviv by heart and only expand the dependency carefully.

Having said that I see the benefit of being able to enable the driver on
a wide variety of machines. It's flexible and everyone who doesn't want
that driver can still just disable it.

But when making this change, please consider also all the people who
will see

	ETNAVIV (DRM support for Vivante GPU IP cores) (DRM_ETNAVIV) [N/y/m/?] (NEW)

in their next run of make oldconfig and need to decide if this driver is
useful for them. Also note they only see

	DRM driver for Vivante GPUs.

when pressing '?'.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-01-21 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16 15:27 [PATCH] drm/etnaviv: don't restrict to certain architectures Lucas Stach
2019-01-16 16:38 ` Sam Ravnborg
2019-01-21 16:55 ` Uwe Kleine-König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.