* [PATCH] drm/nouveau/pmu: fix timeout on GP108
@ 2021-02-14 5:03 Diego Viola
0 siblings, 0 replies; only message in thread
From: Diego Viola @ 2021-02-14 5:03 UTC (permalink / raw)
To: bskeggs; +Cc: linux-kernel, dri-devel, nouveau, gnurou, Diego Viola
This code times out on GP108, probably because the BIOS puts it into a
bad state.
Since we reset the PMU on driver load anyway, we are at no risk from
missing a response from it since we are not waiting for one to begin
with.
Signed-off-by: Diego Viola <diego.viola@gmail.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c b/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
index a0fe607c9c07..4f02c4f14f04 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
@@ -104,10 +104,6 @@ nvkm_pmu_reset(struct nvkm_pmu *pmu)
/* Inhibit interrupts, and wait for idle. */
nvkm_wr32(device, 0x10a014, 0x0000ffff);
- nvkm_msec(device, 2000,
- if (!nvkm_rd32(device, 0x10a04c))
- break;
- );
/* Reset. */
if (pmu->func->reset)
--
2.30.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-14 5:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-14 5:03 [PATCH] drm/nouveau/pmu: fix timeout on GP108 Diego Viola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®