diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2017-03-29 18:31:21 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-04-06 14:39:04 +1000 |
commit | e6e1817a55ba50e0d68ce77e6008edcba97ba41a (patch) | |
tree | 1d5db40b092b3c224f0a6eaa3d0cb97cf5b7deb3 /drivers/gpu/drm/nouveau/nouveau_platform.c | |
parent | 51751f7db0c9f457318fba2004ca8fe2bb2c0b7e (diff) | |
download | lwn-e6e1817a55ba50e0d68ce77e6008edcba97ba41a.tar.gz lwn-e6e1817a55ba50e0d68ce77e6008edcba97ba41a.zip |
drm/nouveau/platform: make VDD regulator optional
GP10B's power is managed by generic PM domains, so it does not require a
VDD regulator. Add this option into the chip function structure.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_platform.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_platform.c b/drivers/gpu/drm/nouveau/nouveau_platform.c index 4c4cc2260257..49d9ba0e3c51 100644 --- a/drivers/gpu/drm/nouveau/nouveau_platform.c +++ b/drivers/gpu/drm/nouveau/nouveau_platform.c @@ -53,10 +53,12 @@ static int nouveau_platform_remove(struct platform_device *pdev) #if IS_ENABLED(CONFIG_OF) static const struct nvkm_device_tegra_func gk20a_platform_data = { .iommu_bit = 34, + .require_vdd = true, }; static const struct nvkm_device_tegra_func gm20b_platform_data = { .iommu_bit = 34, + .require_vdd = true, .require_ref_clk = true, }; |