config DRM_TIDSS
	tristate "DRM Support for TI Keystone"
	depends on DRM && OF
	depends on ARM || ARM64 || COMPILE_TEST
	select DRM_KMS_HELPER
	select DRM_KMS_CMA_HELPER
	select DRM_GEM_CMA_HELPER
	select VIDEOMODE_HELPERS
	help
	  The TI Keystone family SoCs introduced a new generation of
	  Display SubSystem. They are called DSS6 and DSS7 and at the
	  time of writing this these DSSs are found on 66AK2Gx and
	  AM6x SoCs. Set this to Y or M to add display support for
	  TI Keystone family platforms.

if DRM_TIDSS

config DRM_TIDSS_DSS6
	bool "DSS6 support"
	default y
	help
	  Support for DSS6 IP on K2G SoC

config DRM_TIDSS_DSS7
	bool "DSS7 support"
	default y
	help
	  Support for DSS7 IP on AM6 SoC

config DRM_TIDSS_WB
	bool "Enable writeback support for TIDSS DRM driver"
	depends on DRM_TIDSS
	depends on (VIDEO_V4L2 = y) || (VIDEO_V4L2 = m && DRM_TIDSS = m)
	depends on VIDEO_DEV && HAS_DMA
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	default y
	help
		Select this to enable memory-to-memory/capture writeback support.

endif
