[Nouveau] [PATCH] pci: do a msi rearm on init

2017-11-23 Thread Karol Herbst
On my GP107 when I load nouveau after unloading it, for some reason the GPU stopped sending or the CPU stopped receiving interrupts if MSI was enabled. Doing a rearm once before getting any interrupts fixes this. Signed-off-by: Karol Herbst ---

Re: [Nouveau] Addressing the problem of noisy GPUs under Nouveau

2017-11-23 Thread Martin Peres
On 23/11/17 10:06, John Hubbard wrote: > On 11/22/2017 05:07 PM, Martin Peres wrote: >> Hey, >> >> Thanks for your answer, Andy! >> >> On 22/11/17 04:06, Ilia Mirkin wrote: >>> On Tue, Nov 21, 2017 at 8:29 PM, Andy Ritger wrote: >>> Martin's question was very long, but it

[Nouveau] [PATCH 10/15] drm/nouveau/kms/nv50: Use drm_mode_get_hv_timing() to populate plane clip rectangle

2017-11-23 Thread Ville Syrjala
From: Ville Syrjälä Use drm_mode_get_hv_timing() to fill out the plane clip rectangle. No functional changes as the code already uses crtc_state->mode to populate the clip, which is also what drm_mode_get_hv_timing() uses. Once everyone agrees on this we can move

Re: [Nouveau] Addressing the problem of noisy GPUs under Nouveau

2017-11-23 Thread John Hubbard
On 11/22/2017 05:07 PM, Martin Peres wrote: > Hey, > > Thanks for your answer, Andy! > > On 22/11/17 04:06, Ilia Mirkin wrote: >> On Tue, Nov 21, 2017 at 8:29 PM, Andy Ritger wrote: >> Martin's question was very long, but it boils down to this: >> >> How do we compute the