[Bug 206299] [nouveau/xen] RTX 20XX instant reboot
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Sun Jan 26 22:02:18 UTC 2020
https://bugzilla.kernel.org/show_bug.cgi?id=206299
--- Comment #9 from Frédéric Pierret (frederic.epitre at orange.fr) ---
A rather simple and temporary fix we found is to add:
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
b/drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
index bcf32d92ee5a..50e3539f33d2 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
@@ -74,6 +74,8 @@ nv50_disp_chan_mthd(struct nv50_disp_chan *chan, int debug)
if (debug > subdev->debug)
return;
+ if (!mthd)
+ return;
for (i = 0; (list = mthd->data[i].mthd) != NULL; i++) {
u32 base = chan->head * mthd->addr;
With that, it remains stable.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list