[Nouveau] [PATCH v2] PCI: Reprogram bridge prefetch registers on resume

2018-09-11 Thread Daniel Drake
On 38+ Intel-based Asus products, the nvidia GPU becomes unusable after S3 suspend/resume. The affected products include multiple generations of nvidia GPUs and Intel SoCs. After resume, nouveau logs many errors such as: fifo: fault 00 [READ] at 00555000 engine 00 [GR] client 04 [HUB/F

Re: [Nouveau] Questions on Maxwell/Pascal Texture Instructions Modes

2018-09-11 Thread Ilia Mirkin
DC = depth compare (extra arg with compare reference) AOFFI = texel offset (extra arg with offsets encoded). Note that TLD4 can also have a iirc AOFFIS variant which takes 4 offsets encoded in 2 sequential regs. and iirc at 8 bits per offset, while other ops do 4 bits per offset. check what nouveau

[Nouveau] Questions on Maxwell/Pascal Texture Instructions Modes

2018-09-11 Thread Fernando Sahmkow
Hello, I got some doubts on how texture modes work on TEX, TEXS, TLD4, etc instructions. I got: DC, AOFFI, NDV, NODEP, MZ, PTP modes as well as LZ Mode. How does this work or change the behavior of the texture instruction. So far of those I know AOFFI defines an Offset but I'm on blanks for the re

[Nouveau] [Bug 100228] [NV137] bus: MMIO read of 00000000 FAULT at 409800 [ TIMEOUT ]

2018-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100228 --- Comment #26 from Boris Vinogradov --- (In reply to Boris Vinogradov from comment #25) > Created attachment 141455 [details] > Kernel log with new firmware after some boot > > But I have some boot with reproduce error. I have many experimen

Re: [Nouveau] [Intel-gfx] [PATCH 1/4] fbdev: Drop FBINFO_CAN_FORCE_OUTPUT flag

2018-09-11 Thread Daniel Vetter
On Tue, Sep 11, 2018 at 10:47:34AM +0200, Bartlomiej Zolnierkiewicz wrote: > On 09/11/2018 09:42 AM, Daniel Vetter wrote: > > On Mon, Sep 10, 2018 at 02:48:43PM +0200, Bartlomiej Zolnierkiewicz wrote: > >> > >> On 08/22/2018 10:54 AM, Daniel Vetter wrote: > >>> This was only added for the drm's fbd

Re: [Nouveau] [PATCH] PCI: Reprogram bridge prefetch registers on resume

2018-09-11 Thread Peter Wu
On Fri, Sep 07, 2018 at 05:26:47PM -0500, Bjorn Helgaas wrote: > [+cc LKML, Dave, Luming] > > On Fri, Sep 07, 2018 at 05:05:15PM +0200, Peter Wu wrote: > > On Fri, Sep 07, 2018 at 01:36:14PM +0800, Daniel Drake wrote: > > <..> > > > Thomas Martitz reports that this workaround also solves an issue

Re: [Nouveau] [PATCH 1/4] fbdev: Drop FBINFO_CAN_FORCE_OUTPUT flag

2018-09-11 Thread Bartlomiej Zolnierkiewicz
On 08/22/2018 10:54 AM, Daniel Vetter wrote: > This was only added for the drm's fbdev emulation support, so that it > would try harder to show the Oops. > > Unfortunately this never really worked reliably, and in practice ended > up pushing the real Oops off the screen due to plentyfull locking,

Re: [Nouveau] [PATCH] PCI: Reprogram bridge prefetch registers on resume

2018-09-11 Thread Bjorn Helgaas
[+cc LKML, Dave, Luming] On Fri, Sep 07, 2018 at 05:05:15PM +0200, Peter Wu wrote: > On Fri, Sep 07, 2018 at 01:36:14PM +0800, Daniel Drake wrote: > <..> > > Thomas Martitz reports that this workaround also solves an issue where > > the AMD Radeon Polaris 10 GPU on the HP Zbook 14u G5 is unrespons

Re: [Nouveau] [PATCH] PCI: Reprogram bridge prefetch registers on resume

2018-09-11 Thread Sinan Kaya
On 9/6/2018 10:36 PM, Daniel Drake wrote: + if (pci_dev->class == PCI_CLASS_BRIDGE_PCI << 8) + pci_setup_bridge_mmio_pref(pci_dev); This should probably some kind of a quirk rather than default for the listed card as it sounds like you are dealing with broken hardware. _

Re: [Nouveau] [PATCH 1/4] fbdev: Drop FBINFO_CAN_FORCE_OUTPUT flag

2018-09-11 Thread Bartlomiej Zolnierkiewicz
On 09/11/2018 09:42 AM, Daniel Vetter wrote: > On Mon, Sep 10, 2018 at 02:48:43PM +0200, Bartlomiej Zolnierkiewicz wrote: >> >> On 08/22/2018 10:54 AM, Daniel Vetter wrote: >>> This was only added for the drm's fbdev emulation support, so that it >>> would try harder to show the Oops. >>> >>> Unfor

Re: [Nouveau] [PATCH] PCI: Reprogram bridge prefetch registers on resume

2018-09-11 Thread Rafael J. Wysocki
On Tuesday, September 11, 2018 5:35:13 AM CEST Daniel Drake wrote: > I have created https://bugzilla.kernel.org/show_bug.cgi?id=201069 to > archive the research done so far. > > On Fri, Sep 7, 2018 at 11:05 PM, Peter Wu wrote: > > Windows 10 unconditionally rewrites these registers (BAR, I/O Base

Re: [Nouveau] [PATCH 1/4] fbdev: Drop FBINFO_CAN_FORCE_OUTPUT flag

2018-09-11 Thread Daniel Vetter
On Mon, Sep 10, 2018 at 02:48:43PM +0200, Bartlomiej Zolnierkiewicz wrote: > > On 08/22/2018 10:54 AM, Daniel Vetter wrote: > > This was only added for the drm's fbdev emulation support, so that it > > would try harder to show the Oops. > > > > Unfortunately this never really worked reliably, and