mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
drm/nouveau/devinit/gm200: drop pmu reset sequence
This sequence is incorrect for GP102/GP104 boards. This is now being handled correctly by the PMU subdev during preinit(); Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
920c58a711
commit
dc2b655928
1 changed files with 0 additions and 12 deletions
|
@ -124,18 +124,6 @@ gm200_devinit_post(struct nvkm_devinit *base, bool post)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reset PMU and load init table parser ucode */
|
|
||||||
if (post) {
|
|
||||||
nvkm_mask(device, 0x000200, 0x00002000, 0x00000000);
|
|
||||||
nvkm_mask(device, 0x000200, 0x00002000, 0x00002000);
|
|
||||||
nvkm_rd32(device, 0x000200);
|
|
||||||
if (nvkm_msec(device, 2000,
|
|
||||||
if (!(nvkm_rd32(device, 0x10a10c) & 0x00000006))
|
|
||||||
break;
|
|
||||||
) < 0)
|
|
||||||
return -ETIMEDOUT;
|
|
||||||
}
|
|
||||||
|
|
||||||
ret = pmu_load(init, 0x04, post, &exec, &args);
|
ret = pmu_load(init, 0x04, post, &exec, &args);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue