aboutsummaryrefslogblamecommitdiffstats
path: root/drivers/video/tegra/Kconfig
blob: 7de26267155e32549d9d0236d3e3b53f72ffd18f (plain) (tree)





























































































































                                                                                
if ARCH_TEGRA

comment "NVIDIA Tegra Display Driver options"

config TEGRA_GRHOST
	tristate "Tegra graphics host driver"
	help
	  Driver for the Tegra graphics host hardware.

config TEGRA_DC
	tristate "Tegra Display Contoller"
	depends on ARCH_TEGRA && TEGRA_GRHOST
	select FB_MODE_HELPERS
	select I2C
	help
	  Tegra display controller support.

config FB_TEGRA
	tristate "Tegra Framebuffer driver"
	depends on TEGRA_DC && FB = y
	select FB_CFB_FILLRECT
	select FB_CFB_COPYAREA
	select FB_CFB_IMAGEBLIT
	default FB
	help
	  Framebuffer device support for the Tegra display controller.

config TEGRA_DC_EXTENSIONS
	bool "Tegra Display Controller Extensions"
	depends on TEGRA_DC
	default y
	help
	  This exposes support for extended capabilities of the Tegra display
	  controller to userspace drivers.

config TEGRA_NVMAP
	bool "Tegra GPU memory management driver (nvmap)"
	default y
	help
	  Say Y here to include the memory management driver for the Tegra
	  GPU, multimedia and display subsystems

config NVMAP_RECLAIM_UNPINNED_VM
	bool "Virtualize IOVMM memory in nvmap"
	depends on TEGRA_NVMAP && TEGRA_IOVMM
	default y
	help
	  Say Y here to enable nvmap to reclaim I/O virtual memory after
	  it has been unpinned, and re-use it for other handles. This can
	  allow a larger virtual I/O VM space than would normally be
	  supported by the hardware, at a slight cost in performance.

config NVMAP_ALLOW_SYSMEM
	bool "Allow physical system memory to be used by nvmap"
	depends on TEGRA_NVMAP
	default y
	help
	  Say Y here to allow nvmap to use physical system memory (i.e.,
	  shared with the operating system but not translated through
	  an IOVMM device) for allocations.

config NVMAP_HIGHMEM_ONLY
	bool "Use only HIGHMEM for nvmap"
	depends on TEGRA_NVMAP && (NVMAP_ALLOW_SYSMEM || TEGRA_IOVMM) && HIGHMEM
	default n
	help
	  Say Y here to restrict nvmap system memory allocations (both
	  physical system memory and IOVMM) to just HIGHMEM pages.

config NVMAP_CARVEOUT_KILLER
	bool "Reclaim nvmap carveout by killing processes"
	depends on TEGRA_NVMAP
	default n
	help
	  Say Y here to allow the system to reclaim carveout space by killing
	  processes. This will kill the largest consumers of lowest priority
	  first.

config NVMAP_CARVEOUT_COMPACTOR
	bool "Compact carveout when it gets fragmented"
	depends on TEGRA_NVMAP
	default y
	help
	  When carveout allocation attempt fails, compactor defragements
	  heap and retries the failed allocation.
	  Say Y here to let nvmap to keep carveout fragmentation under control.


config NVMAP_VPR
	bool "Enable VPR Heap."
	depends on TEGRA_NVMAP
	default n
	help
	  Say Y here to enable Video Protection Region(VPR) heap.
	  if unsure, say N.

config TEGRA_DSI
	bool "Enable DSI panel."
	default n
	help
	  Say Y here to enable the DSI panel.

config NVMAP_CONVERT_CARVEOUT_TO_IOVMM
	bool "Convert carveout to IOVMM"
	depends on TEGRA_NVMAP && TEGRA_IOVMM_SMMU
	default y
	help
	  Say Y here to force to convert carveout memory requests to
	  I/O virtual memory requests.

config TEGRA_NVHDCP
	bool "Support NVHDCP content protection on HDMI"
	default n
	help
	  Say Y here to support NVHDCP upstream and downstream protocols, this
	  requires a correctly fused chip to negotiate keys.

config TEGRA_HDMI_74MHZ_LIMIT
	bool "Support only up to 74.25 MHz HDMI pixel frequency"
	default n
	help
	  Say Y here to make kernel report only low bandwidth modes.
	  Useful only for boards which can't deliver 148.50 MHz.

endif