mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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 <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/823640
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user