projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e1817
)
drm/nouveau/platform: support for probing GP10B
author
Alexandre Courbot
<acourbot@nvidia.com>
Wed, 29 Mar 2017 09:31:22 +0000
(18:31 +0900)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 6 Apr 2017 04:39:04 +0000
(14:39 +1000)
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_platform.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_platform.c
b/drivers/gpu/drm/nouveau/nouveau_platform.c
index 49d9ba0e3c510a0bf2a7dcc6bb1484e101fc8d09..1ada186fab770aba7c598c2661d5fc0955218ad4 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_platform.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_platform.c
@@
-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",
@@
-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,
+ },
{ }
};