Skip to content

Commit

Permalink
drm/nouveau/platform: support for probing GP10B
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Alexandre Courbot authored and Ben Skeggs committed Apr 6, 2017
1 parent e6e1817 commit c3f7de6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/gpu/drm/nouveau/nouveau_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ static const struct nvkm_device_tegra_func gm20b_platform_data = {
.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[] = {
{
.compatible = "nvidia,gk20a",
Expand All @@ -71,6 +77,10 @@ static const struct of_device_id nouveau_platform_match[] = {
.compatible = "nvidia,gm20b",
.data = &gm20b_platform_data,
},
{
.compatible = "nvidia,gp10b",
.data = &gp10b_platform_data,
},
{ }
};

Expand Down

0 comments on commit c3f7de6

Please sign in to comment.