diff options
author | Arto Merilainen <amerilainen@nvidia.com> | 2015-10-21 09:09:32 -0400 |
---|---|---|
committer | Arto Merilainen <amerilainen@nvidia.com> | 2015-12-04 12:14:18 -0500 |
commit | 3298a8befb14ff0a1843b46683b196bb84f2e8db (patch) | |
tree | 0abbe0b707810e8e414fb0d5adcbde952dcd61a3 /drivers/gpu/nvgpu | |
parent | 632a86f7cdec9f795fdef56ad028694c72d4e9d4 (diff) |
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
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
56 | 56 | ||
57 | config TEGRA_GK20A | 57 | config TEGRA_GK20A |
58 | bool "Enable the GK20A GPU on Tegra" | 58 | bool "Enable the GK20A GPU on Tegra" |
59 | depends on TEGRA_GRHOST || TEGRA_HOST1X | ||
59 | depends on GK20A | 60 | depends on GK20A |
60 | default y | 61 | default y |
61 | help | 62 | help |