drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
authorBen Skeggs <bskeggs@redhat.com>
Wed, 24 Feb 2021 09:29:52 +0000 (19:29 +1000)
committerKarol Herbst <kherbst@redhat.com>
Fri, 12 Nov 2021 22:46:03 +0000 (23:46 +0100)
commit1d2271d2fb85e54bfc9630a6c30ac0feb9ffb983
treebeb08e5594f22df063b109e6f89042c0fb1ce0d0
parent6040308ffc9039d30a34bc40021e19d6da3683b1
drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR

There have been reports of the WFI timing out on some boards, and a
patch was proposed to just remove it.  This stuff is rather fragile,
and I believe the WFI might be needed with our FW prior to GM200.

However, we probably should not be touching PMU during init on GPUs
where we depend on NVIDIA FW, outside of limited circumstances, so
this should be a somewhat safer change that achieves the desired
result.

Reported-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/10
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c