[PATCH v1 0/2] drivers: don't select DMA_CMA or CMA

David Hildenbrand david at redhat.com
Thu Apr 8 19:20:09 AEST 2021


Trying to set CONFIG_CMA=y with CONFIG_DMA_CMA=n revealed that we have
three drivers that select these options. Random drivers should not
override user settings of such core knobs. Let's use "imply DMA_CMA"
instead, such that user configuration and dependencies are respected.

Cc: Joel Stanley <joel at jms.id.au>
Cc: David Airlie <airlied at linux.ie>
Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: Andrew Jeffery <andrew at aj.id.au>
Cc: Lucas Stach <l.stach at pengutronix.de>
Cc: Russell King <linux+etnaviv at armlinux.org.uk>
Cc: Christian Gmeiner <christian.gmeiner at gmail.com>
Cc: Mike Rapoport <rppt at kernel.org>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: Michal Simek <michal.simek at xilinx.com>
Cc: Masahiro Yamada <masahiroy at kernel.org>
Cc: Randy Dunlap <rdunlap at infradead.org>
Cc: Peter Collingbourne <pcc at google.com>
Cc: linux-aspeed at lists.ozlabs.org
Cc: dri-devel at lists.freedesktop.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: etnaviv at lists.freedesktop.org
Cc: linux-fbdev at vger.kernel.org

David Hildenbrand (2):
  drivers/video/fbdev: don't select DMA_CMA
  drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

 drivers/gpu/drm/aspeed/Kconfig  | 3 +--
 drivers/gpu/drm/etnaviv/Kconfig | 3 +--
 drivers/video/fbdev/Kconfig     | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)

-- 
2.30.2



More information about the Linux-aspeed mailing list