forked from Minki/linux
63f5677544
While this is no build dependency, etnaviv will only work correctly on most systems if CMA and DMA_CMA are enabled. Select both options if available to avoid users ending up with a non-working GPU due to a lacking kernel config. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
25 lines
703 B
Plaintext
25 lines
703 B
Plaintext
|
|
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
|
|
select TMPFS
|
|
select IOMMU_API
|
|
select IOMMU_SUPPORT
|
|
select WANT_DEV_COREDUMP
|
|
select CMA if HAVE_DMA_CONTIGUOUS
|
|
select DMA_CMA if HAVE_DMA_CONTIGUOUS
|
|
help
|
|
DRM driver for Vivante GPUs.
|
|
|
|
config DRM_ETNAVIV_REGISTER_LOGGING
|
|
bool "enable ETNAVIV register logging"
|
|
depends on DRM_ETNAVIV
|
|
help
|
|
Compile in support for logging register reads/writes in a format
|
|
that can be parsed by envytools demsm tool. If enabled, register
|
|
logging can be switched on via etnaviv.reglog=y module param.
|