Re: [Nouveau] [PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver v2

2020-02-13 Thread Christian König
Hi Ben, sorry for the delayed response. Haven been rather busy recently. Am 28.01.20 um 06:49 schrieb Ben Skeggs: On Sat, 25 Jan 2020 at 00:30, Christian König wrote: From: Christian König While working on TTM cleanups I've found that the io_reserve_lru used by Nouveau is actually not

Re: [Nouveau] [PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver v2

2020-01-27 Thread Ben Skeggs
On Sat, 25 Jan 2020 at 00:30, Christian König wrote: > > From: Christian König > > While working on TTM cleanups I've found that the io_reserve_lru used by > Nouveau is actually not working at all. > > In general we should remove driver specific handling from the memory > management, so this

[PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver v2

2020-01-24 Thread Christian König
From: Christian König While working on TTM cleanups I've found that the io_reserve_lru used by Nouveau is actually not working at all. In general we should remove driver specific handling from the memory management, so this patch moves the io_reserve_lru handling into Nouveau instead. The

[PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver

2019-11-20 Thread Christian König
From: Christian König While working on TTM cleanups I've found that the io_reserve_lru used by Nouveau is actually not working at all. In general we should remove driver specific handling from the memory management, so this patch moves the io_reserve_lru handling into Nouveau instead. The

Re: [PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver

2019-10-10 Thread Daniel Vetter
On Thu, Oct 10, 2019 at 9:54 AM Christian König wrote: > > Am 09.10.19 um 17:39 schrieb Daniel Vetter: > > On Mon, Sep 30, 2019 at 03:12:53PM +0200, Christian König wrote: > > [SNIP] > >> +static vm_fault_t nouveau_ttm_fault(struct vm_fault *vmf) > >> +{ > >> +struct vm_area_struct *vma =

Re: [PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver

2019-10-10 Thread Christian König
Am 09.10.19 um 17:39 schrieb Daniel Vetter: On Mon, Sep 30, 2019 at 03:12:53PM +0200, Christian König wrote: [SNIP] +static vm_fault_t nouveau_ttm_fault(struct vm_fault *vmf) +{ + struct vm_area_struct *vma = vmf->vma; + struct ttm_buffer_object *bo = vma->vm_private_data; +

Re: [PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver

2019-10-09 Thread Daniel Vetter
On Mon, Sep 30, 2019 at 03:12:53PM +0200, Christian König wrote: > While working on TTM cleanups I've found that the io_reserve_lru used by > Nouveau is actually not working at all. > > In general we should remove driver specific handling from the memory > management, so this patch moves the

[PATCH 1/2] drm/nouveau: move io_reserve_lru handling into the driver

2019-09-30 Thread Christian König
While working on TTM cleanups I've found that the io_reserve_lru used by Nouveau is actually not working at all. In general we should remove driver specific handling from the memory management, so this patch moves the io_reserve_lru handling into Nouveau instead. The patch should be functional