From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 89273] [NVA8] nouveau screen corruption and X lockup when reclocking Date: Sat, 21 Feb 2015 23:21:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0278872498==" 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 --===============0278872498== Content-Type: multipart/alternative; boundary="1424560877.064EC1.32146"; charset="UTF-8" --1424560877.064EC1.32146 Date: Sat, 21 Feb 2015 23:21:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89273 --- Comment #4 from Ilia Mirkin --- I believe the two issues are unrelated. The flickering issue is probably due to incorrect timing parameters somewhere. The hang is, more than likely, due to [ 144.038590] nouveau W[ PFIFO][0000:01:00.0] unknown intr 0x00000040, ch 3 Which we don't handle currently. rnndb has it as So we probably have to reprogram PBUS.HOST_MEM.CHAN and PBUS.HOST_MEM.PEEPHOLE (or at the very least the latter) -- that's 0x1704 and 0x1710 respectively. Not 100% sure what they are, but software/nv50.c does: nv_wr32(priv, 0x001704, chan->vblank.channel); nv_wr32(priv, 0x001710, 0x80000000 | chan->vblank.ctxdma); Hopefully someone who understands these things a little better will step in here. -- You are receiving this mail because: You are the assignee for the bug. --1424560877.064EC1.32146 Date: Sat, 21 Feb 2015 23:21:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 89273 from
I believe the two issues are unrelated. The flickering issue is probably due to
incorrect timing parameters somewhere. The hang is, more than likely, due to

[  144.038590] nouveau W[   PFIFO][0000:01:00.0] unknown intr 0x00000040, ch 3

Which we don't handle currently. rnndb has it as

                        <bitfield pos="6" name="PEEPHOLE_FAULT"/>

So we probably have to reprogram PBUS.HOST_MEM.CHAN and PBUS.HOST_MEM.PEEPHOLE
(or at the very least the latter) -- that's 0x1704 and 0x1710 respectively. Not
100% sure what they are, but software/nv50.c does:

    nv_wr32(priv, 0x001704, chan->vblank.channel);
    nv_wr32(priv, 0x001710, 0x80000000 | chan->vblank.ctxdma);

Hopefully someone who understands these things a little better will step in
here.


You are receiving this mail because:
  • You are the assignee for the bug.
--1424560877.064EC1.32146-- --===============0278872498== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0278872498==--