diff mbox series

[Bug,206299,nouveau/xen] RTX 20XX instant reboot

Message ID bug-206299-2300-GbFWwANRtX@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,206299,nouveau/xen] RTX 20XX instant reboot | expand

Commit Message

bugzilla-daemon@bugzilla.kernel.org Jan. 26, 2020, 10:02 p.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=206299

--- Comment #9 from Frédéric Pierret (frederic.epitre@orange.fr) ---
A rather simple and temporary fix we found is to add:


With that, it remains stable.
diff mbox series

Patch

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;