drm/nouveau/platform: support for probing GP10B

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Alexandre Courbot 2017-03-29 18:31:22 +09:00 коммит произвёл Ben Skeggs
Родитель e6e1817a55
Коммит c3f7de6a4c
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -62,6 +62,12 @@ static const struct nvkm_device_tegra_func gm20b_platform_data = {
.require_ref_clk = true, .require_ref_clk = true,
}; };
static const struct nvkm_device_tegra_func gp10b_platform_data = {
.iommu_bit = 36,
/* power provided by generic PM domains */
.require_vdd = false,
};
static const struct of_device_id nouveau_platform_match[] = { static const struct of_device_id nouveau_platform_match[] = {
{ {
.compatible = "nvidia,gk20a", .compatible = "nvidia,gk20a",
@ -71,6 +77,10 @@ static const struct of_device_id nouveau_platform_match[] = {
.compatible = "nvidia,gm20b", .compatible = "nvidia,gm20b",
.data = &gm20b_platform_data, .data = &gm20b_platform_data,
}, },
{
.compatible = "nvidia,gp10b",
.data = &gp10b_platform_data,
},
{ } { }
}; };