From 3298a8befb14ff0a1843b46683b196bb84f2e8db Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Wed, 21 Oct 2015 16:09:32 +0300 Subject: drm/tegra: Support NVIDIA downstream This patch modifies TegraDRM to compile on NVIDIA downstream kernel. Currently buffers are pinned to virtual drm device. In upstream this is ok since the buffers will be remapped into the TegraDRM maintained IOMMU domain. However, NVIDIA downstream kernel relies on DMA mapping API and hence requires that the buffers are pinned to the real hardware device. In addition, this patch modifies code to use downstream power-management APIs if the downstream option is enabled. Bug 1698151 Change-Id: I1cb7a1a0ad0ae767c48bfecb608d899e484d6b40 Signed-off-by: Arto Merilainen Reviewed-on: http://git-master/r/823640 --- drivers/gpu/nvgpu/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers') diff --git a/drivers/gpu/nvgpu/Kconfig b/drivers/gpu/nvgpu/Kconfig index bef9f0c2..d0e25aa2 100644 --- a/drivers/gpu/nvgpu/Kconfig +++ b/drivers/gpu/nvgpu/Kconfig @@ -56,6 +56,7 @@ config GK20A_CYCLE_STATS config TEGRA_GK20A bool "Enable the GK20A GPU on Tegra" + depends on TEGRA_GRHOST || TEGRA_HOST1X depends on GK20A default y help -- cgit v1.2.2