]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/nouveau/tegra: Don't leave GPU in reset
authorMikko Perttunen <mperttunen@nvidia.com>
Fri, 9 Jun 2017 12:25:40 +0000 (15:25 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 16 Jun 2017 04:05:04 +0000 (14:05 +1000)
On Tegra186 systems with certain firmware revisions, leaving the GPU in
reset can cause a hang. To prevent this, don't leave the GPU in reset.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c

index 3d42cdbbe9c0bcf262ab729edd30493b188a04a0..189ed80e21ffbd428174e458bb946f2880c3da57 100644 (file)
@@ -82,9 +82,6 @@ nvkm_device_tegra_power_down(struct nvkm_device_tegra *tdev)
 {
        int ret;
 
-       reset_control_assert(tdev->rst);
-       udelay(10);
-
        clk_disable_unprepare(tdev->clk_pwr);
        if (tdev->clk_ref)
                clk_disable_unprepare(tdev->clk_ref);