diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-03-15 09:10:43 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-23 11:04:23 -0400 |
commit | 33f637585ecd617a9f4423f56e2aa6df0691ac64 (patch) | |
tree | e6f67da9b18ec64cae039b6af76c6abb27a70323 /drivers/gpu/nvgpu/Kconfig.nvgpu | |
parent | 7505a759542c2d95e5abb42d44b8fb6afda74a87 (diff) |
gpu: nvgpu: split nvhost dependency on plat interface
Add CONFIG_TEGRA_GK20A_NVHOST and remove the TEGRA_GRHOST ||
TEGRA_HOST1X dependency in CONFIG_TEGRA_GK20A to allow using the iGPU
without the nvhost driver. Use the new config to guard syncpt-related
code.
Also make TEGRA_ACR depend on GK20A too so that it aligns properly under
gk20a in menuconfig.
Bug 1853519
Change-Id: I9e9b0a7915d000aae7930821627b7a01d08d3f5c
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1321303
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Kconfig.nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Kconfig.nvgpu | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/Kconfig.nvgpu b/drivers/gpu/nvgpu/Kconfig.nvgpu index d15a9fd0..4d7e0f12 100644 --- a/drivers/gpu/nvgpu/Kconfig.nvgpu +++ b/drivers/gpu/nvgpu/Kconfig.nvgpu | |||
@@ -75,19 +75,27 @@ config GK20A_CTXSW_TRACE | |||
75 | allows tracking context switches on GR engine, as well as | 75 | allows tracking context switches on GR engine, as well as |
76 | identifying processes that submitted work. | 76 | identifying processes that submitted work. |
77 | 77 | ||
78 | config TEGRA_GK20A_NVHOST | ||
79 | bool "Support interfacing with nvhost hardware" | ||
80 | depends on TEGRA_GRHOST || TEGRA_HOST1X | ||
81 | depends on GK20A | ||
82 | default y | ||
83 | help | ||
84 | Enable support in GK20A for the nvhost (host1x) dma engine hardware | ||
85 | that includes things like hardware syncpts. This requires either | ||
86 | TEGRA_GRHOST or TEGRA_HOST1X. | ||
87 | |||
78 | config TEGRA_GK20A | 88 | config TEGRA_GK20A |
79 | bool "Enable the GK20A GPU on Tegra" | 89 | bool "Enable the GK20A GPU on Tegra" |
80 | depends on TEGRA_GRHOST || TEGRA_HOST1X | ||
81 | depends on GK20A | 90 | depends on GK20A |
82 | default y | 91 | default y |
83 | help | 92 | help |
84 | Enable support for the GK20A graphics engine on Tegra | 93 | Enable support for the GK20A graphics engine on Tegra |
85 | by adding a Tegra platfrom interface to the GK20A driver. | 94 | by adding a Tegra platfrom interface to the GK20A driver. |
86 | The Tegra platform interface requires TEGRA_GRHOST (host1x). | ||
87 | 95 | ||
88 | config TEGRA_ACR | 96 | config TEGRA_ACR |
89 | bool "Enable HS bin support on GM20B GPU on Tegra" | 97 | bool "Enable HS bin support on GM20B GPU on Tegra" |
90 | depends on GK20A_PMU | 98 | depends on GK20A && GK20A_PMU |
91 | default n | 99 | default n |
92 | help | 100 | help |
93 | Enable Support for Loading High Secure binary, and using | 101 | Enable Support for Loading High Secure binary, and using |