diff options
author | Dave Airlie <airlied@redhat.com> | 2016-04-06 08:16:52 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-04-06 08:16:52 +0200 |
commit | 30aab1897b9592ae40123bc83888d23af06261eb (patch) | |
tree | 614c5b5293e4b74f60031482c6a634b5732608c8 /drivers/gpu/drm/nouveau/nouveau_platform.c | |
parent | Merge branch 'for-upstream/hdlcd' of git://linux-arm.org/linux-ld into drm-fixes (diff) | |
parent | drm/nouveau/tegra: acquire and enable reference clock if needed (diff) | |
download | linux-30aab1897b9592ae40123bc83888d23af06261eb.tar.xz linux-30aab1897b9592ae40123bc83888d23af06261eb.zip |
Merge branch 'linux-4.6' of git://github.com/skeggsb/linux into drm-fixes
Just a single fix to prevent GM20B systems hanging at boot.
* 'linux-4.6' of git://github.com/skeggsb/linux:
drm/nouveau/tegra: acquire and enable reference clock if needed
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_platform.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_platform.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_platform.c b/drivers/gpu/drm/nouveau/nouveau_platform.c index 2dfe58af12e4..4c4cc2260257 100644 --- a/drivers/gpu/drm/nouveau/nouveau_platform.c +++ b/drivers/gpu/drm/nouveau/nouveau_platform.c @@ -55,6 +55,11 @@ static const struct nvkm_device_tegra_func gk20a_platform_data = { .iommu_bit = 34, }; +static const struct nvkm_device_tegra_func gm20b_platform_data = { + .iommu_bit = 34, + .require_ref_clk = true, +}; + static const struct of_device_id nouveau_platform_match[] = { { .compatible = "nvidia,gk20a", @@ -62,7 +67,7 @@ static const struct of_device_id nouveau_platform_match[] = { }, { .compatible = "nvidia,gm20b", - .data = &gk20a_platform_data, + .data = &gm20b_platform_data, }, { } }; |