mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 08:56:41 +07:00
9ad59fea16
Loosely based on commit f0a42bb542
("drm/msm: submit support for
in-fences"). Unfortunately, struct drm_etnaviv_gem_submit doesn't have
a flags field yet, so we have to extend the structure and trust that
drm_ioctl will clear the flags for us if an older userspace only submits
part of the struct.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Reviewed-by: Sumit Semwal <sumit.semwal@linaro.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
23 lines
629 B
Plaintext
23 lines
629 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
|
|
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.
|