Re: [Nouveau] Display broken after resume from suspend

2020-01-14 Thread Ilia Mirkin
Hi Joshua, Not a fix for your issue, but Ben noticed this (and fixed it): https://github.com/skeggsb/nouveau/commit/024bda7d2b0c3b0731433d60a494c78ab58cb216 which is what causes us to even try 540MB/s link training. However with this fix applied, it'll just give up faster. I'm told eDP is

Re: [Nouveau] Display broken after resume from suspend

2020-01-14 Thread Joshua J. Kugler
Here we go! j On Tuesday, January 14, 2020 7:08:20 AM AKST Ilia Mirkin wrote: > Hi Joshua, > > Not a fix for your issue, but Ben noticed this (and fixed it): > > https://github.com/skeggsb/nouveau/commit/024bda7d2b0c3b0731433d60a494c78ab5 > 8cb216 > > which is what causes us to even try

Re: [Nouveau] Display broken after resume from suspend

2020-01-14 Thread Joshua J. Kugler
Another log, per Lyude on #nouveau. j On Tuesday, January 14, 2020 8:52:51 AM AKST Joshua J. Kugler wrote: > Here we go! > > j > > On Tuesday, January 14, 2020 7:08:20 AM AKST Ilia Mirkin wrote: > > Hi Joshua, > > > > Not a fix for your issue, but Ben noticed this (and fixed it): > > > >

Re: [Nouveau] [PATCH v6 4/6] mm/mmu_notifier: add mmu_interval_notifier_find()

2020-01-14 Thread Jason Gunthorpe
On Mon, Jan 13, 2020 at 02:47:01PM -0800, Ralph Campbell wrote: > diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c > index 47ad9cc89aab..4efecc0f13cb 100644 > +++ b/mm/mmu_notifier.c > @@ -1171,6 +1171,39 @@ void mmu_interval_notifier_update(struct > mmu_interval_notifier *mni, > } >

Re: [Nouveau] [PATCH v6 5/6] nouveau: use new mmu interval notifiers

2020-01-14 Thread Jason Gunthorpe
On Mon, Jan 13, 2020 at 02:47:02PM -0800, Ralph Campbell wrote: > void > nouveau_svmm_fini(struct nouveau_svmm **psvmm) > { > struct nouveau_svmm *svmm = *psvmm; > + struct mmu_interval_notifier *mni; > + > if (svmm) { > mutex_lock(>mutex); > + while