mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/tegra: Don't leave GPU in reset
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>
This commit is contained in:
parent
b1df242544
commit
fcd504e312
|
@ -82,9 +82,6 @@ nvkm_device_tegra_power_down(struct nvkm_device_tegra *tdev)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
reset_control_assert(tdev->rst);
|
|
||||||
udelay(10);
|
|
||||||
|
|
||||||
clk_disable_unprepare(tdev->clk_pwr);
|
clk_disable_unprepare(tdev->clk_pwr);
|
||||||
if (tdev->clk_ref)
|
if (tdev->clk_ref)
|
||||||
clk_disable_unprepare(tdev->clk_ref);
|
clk_disable_unprepare(tdev->clk_ref);
|
||||||
|
|
Loading…
Reference in New Issue