mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Fall-back to generic platform
Currently the generic platform is used only if the device tree defines that we have a generic platform available, however, the generic platform is fully compatible with the gk20a we have in tegra. This patch modifies the definitions so that we use generic platform also for tegra - even if if tegra configuration option is not enabled. Bug 1434573 Change-Id: Ib35ce0ab935d27764e960bf4d74a5016ae047a1f Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/396867 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Dan Willemsen
parent
ebe7f110a1
commit
6f80a44c98
@@ -930,6 +930,11 @@ static struct of_device_id tegra_gk20a_of_match[] = {
|
||||
.data = &gk20a_tegra_platform },
|
||||
{ .compatible = "nvidia,tegra210-gm20b",
|
||||
.data = &gm20b_tegra_platform },
|
||||
#else
|
||||
{ .compatible = "nvidia,tegra124-gk20a",
|
||||
.data = &gk20a_generic_platform },
|
||||
{ .compatible = "nvidia,tegra210-gm20b",
|
||||
.data = &gk20a_generic_platform },
|
||||
#endif
|
||||
{ .compatible = "nvidia,generic-gk20a",
|
||||
.data = &gk20a_generic_platform },
|
||||
|
||||
Reference in New Issue
Block a user