Re: [PATCH 3/3] drm/amdgpu: Try evicting from CPU visible to invisible VRAM first

2017-05-18 Thread Michel Dänzer
On 19/05/17 10:43 AM, John Brooks wrote: > On Fri, May 19, 2017 at 10:20:37AM +0900, Michel Dänzer wrote: >> On 19/05/17 12:43 AM, John Brooks wrote: >>> On Thu, May 18, 2017 at 06:08:09PM +0900, Michel Dänzer wrote: From: Michel Dänzer In exchange, move BOs

Re: [PATCH 3/3] drm/amdgpu: Try evicting from CPU visible to invisible VRAM first

2017-05-18 Thread John Brooks
On Fri, May 19, 2017 at 10:20:37AM +0900, Michel Dänzer wrote: > On 19/05/17 12:43 AM, John Brooks wrote: > > On Thu, May 18, 2017 at 06:08:09PM +0900, Michel Dänzer wrote: > >> From: Michel Dänzer > >> > >> In exchange, move BOs with the

Re: [PATCH 3/3] drm/amdgpu: Try evicting from CPU visible to invisible VRAM first

2017-05-18 Thread Michel Dänzer
On 19/05/17 12:43 AM, John Brooks wrote: > On Thu, May 18, 2017 at 06:08:09PM +0900, Michel Dänzer wrote: >> From: Michel Dänzer >> >> In exchange, move BOs with the AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED >> flag set to CPU visible VRAM with more force. >> >> For other BOs,

Re: [PATCH 3/3] drm/amdgpu: Try evicting from CPU visible to invisible VRAM first

2017-05-18 Thread John Brooks
On Thu, May 18, 2017 at 06:08:09PM +0900, Michel Dänzer wrote: > From: Michel Dänzer > > In exchange, move BOs with the AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED > flag set to CPU visible VRAM with more force. > > For other BOs, this gives another chance to stay in VRAM if

[PATCH 3/3] drm/amdgpu: Try evicting from CPU visible to invisible VRAM first

2017-05-18 Thread Michel Dänzer
From: Michel Dänzer In exchange, move BOs with the AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED flag set to CPU visible VRAM with more force. For other BOs, this gives another chance to stay in VRAM if they happened to lie in the CPU visible part and another BO needs to go