mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: remove tegra config dependencies
Remove direct dependency on CONFIG_TEGRA_NVLINK and CONFIG_TEGRA_GR_VIRTUALIZATION and substituting them with CONFIG_NVGPU_NVLINK and CONFIG_NVGPU_GR_VIRTUALIZATION respectively. Bug 200551105 Change-Id: I90dfb3c558483aa5d42aa607ed2db7f07d80b3e8 Signed-off-by: ddutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2267455 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -699,11 +699,11 @@ static struct of_device_id tegra_gk20a_of_match[] = {
|
||||
.data = &gp10b_tegra_platform },
|
||||
{ .compatible = "nvidia,gv11b",
|
||||
.data = &gv11b_tegra_platform },
|
||||
#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
|
||||
#ifdef CONFIG_NVGPU_GR_VIRTUALIZATION
|
||||
{ .compatible = "nvidia,gv11b-vgpu",
|
||||
.data = &gv11b_vgpu_tegra_platform},
|
||||
#endif
|
||||
#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
|
||||
#ifdef CONFIG_NVGPU_GR_VIRTUALIZATION
|
||||
{ .compatible = "nvidia,tegra124-gk20a-vgpu",
|
||||
.data = &vgpu_tegra_platform },
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user