Re: [Nouveau] Is Nouveau really using the io_reserve_lru?

2019-09-27 Thread Koenig, Christian
Am 27.09.2019 20:07 schrieb Ilia Mirkin : On Thu, Sep 26, 2019 at 5:44 PM Ben Skeggs wrote: > > On Tue, 24 Sep 2019 at 22:19, Christian König > wrote: > > > > Hi guys, > > > > while working through more old TTM functionality I stumbled over the > > io_reserve_lru. > > > > Basic idea is that

Re: [Nouveau] Is Nouveau really using the io_reserve_lru?

2019-09-27 Thread Ilia Mirkin
On Thu, Sep 26, 2019 at 5:44 PM Ben Skeggs wrote: > > On Tue, 24 Sep 2019 at 22:19, Christian König > wrote: > > > > Hi guys, > > > > while working through more old TTM functionality I stumbled over the > > io_reserve_lru. > > > > Basic idea is that when this flag is set the

Re: [Nouveau] Is Nouveau really using the io_reserve_lru?

2019-09-27 Thread Koenig, Christian
Am 26.09.19 um 23:44 schrieb Ben Skeggs: > On Tue, 24 Sep 2019 at 22:19, Christian König > wrote: >> Hi guys, >> >> while working through more old TTM functionality I stumbled over the >> io_reserve_lru. >> >> Basic idea is that when this flag is set the driver->io_mem_reserve() >> callback can

Re: [Nouveau] Is Nouveau really using the io_reserve_lru?

2019-09-26 Thread Ben Skeggs
On Tue, 24 Sep 2019 at 22:19, Christian König wrote: > > Hi guys, > > while working through more old TTM functionality I stumbled over the > io_reserve_lru. > > Basic idea is that when this flag is set the driver->io_mem_reserve() > callback can return -EAGAIN resulting in unmapping of other BOs.