From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 101601] Nvidia GT 1030 (NV138/GP108) support Date: Wed, 28 Jun 2017 12:18:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1980693211==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1980693211== Content-Type: multipart/alternative; boundary="14986523051.34dc8153.8700"; charset="UTF-8" --14986523051.34dc8153.8700 Date: Wed, 28 Jun 2017 12:18:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101601 --- Comment #9 from Ilia Mirkin --- drm-next appears to be hitting this logic in nv50_disp_chan_ctor: if (disp->chan[chan->chid.user]) { chan->chid.user =3D -1; return -EBUSY; } when constructing the cursor for head 1. drm/nouveau/nvkm/engine/disp/nv50.h: struct nv50_disp_chan *chan[17]; Oops. That should be [21]. It was reading/writing random memory :( --=20 You are receiving this mail because: You are the assignee for the bug.= --14986523051.34dc8153.8700 Date: Wed, 28 Jun 2017 12:18:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 9 on bug 10160= 1 from Ilia Mirkin
drm-next appears to be hitting this logic in nv50_disp_chan_ct=
or:

        if (disp->chan[chan->chid.user]) {
                chan->chid.user =3D -1;
                return -EBUSY;
        }

when constructing the cursor for head 1.

drm/nouveau/nvkm/engine/disp/nv50.h:    struct nv50_disp_chan *chan[17];

Oops. That should be [21]. It was reading/writing random memory :(


You are receiving this mail because:
  • You are the assignee for the bug.
= --14986523051.34dc8153.8700-- --===============1980693211== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1980693211==--