RE: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-27 Thread He, Roger
ke.com> Cc: amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit On 17-06-27 04:01 AM, Christian König wrote: > Am 27.06.2017 um 04:57 schrieb Michel Dänzer: >> On 27/06/17 08:39 AM, John Brooks wrote: >>> On Mon, Jun 26, 2017 at 03:39:57PM +02

RE: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-27 Thread He, Roger
.freedesktop.org Subject: RE: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit Yeah, recently we indeed encountered an issue as below: On workstation machine it has 32G system memory and thus the GTT table size takes up about 192M visible VRAM. Maybe if system has bigger memory, GTT table size will exc

Re: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-27 Thread Felix Kuehling
On 17-06-27 04:01 AM, Christian König wrote: > Am 27.06.2017 um 04:57 schrieb Michel Dänzer: >> On 27/06/17 08:39 AM, John Brooks wrote: >>> On Mon, Jun 26, 2017 at 03:39:57PM +0200, Christian König wrote: From: Christian König Limit the size of the GART

Re: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-27 Thread Christian König
Am 26.06.2017 um 22:12 schrieb Felix Kuehling: I'm wondering what makes this possible. Let me quote the last discussion we had about GART: On 17-04-04 06:26 PM, Felix Kuehling wrote: Even with GART address space being allocated on demand, it still seems to be limiting the maximum available

Re: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-27 Thread Christian König
Am 27.06.2017 um 04:57 schrieb Michel Dänzer: On 27/06/17 08:39 AM, John Brooks wrote: On Mon, Jun 26, 2017 at 03:39:57PM +0200, Christian König wrote: From: Christian König Limit the size of the GART table for the system domain. This saves us a bunch of visible

Re: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-26 Thread Michel Dänzer
On 27/06/17 08:39 AM, John Brooks wrote: > On Mon, Jun 26, 2017 at 03:39:57PM +0200, Christian König wrote: >> From: Christian König >> >> Limit the size of the GART table for the system domain. >> >> This saves us a bunch of visible VRAM, but also limitates the maximum

Re: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-26 Thread John Brooks
On Mon, Jun 26, 2017 at 03:39:57PM +0200, Christian König wrote: > From: Christian König > > Limit the size of the GART table for the system domain. > > This saves us a bunch of visible VRAM, but also limitates the maximum BO size > we can swap out. > >

Re: [PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-26 Thread Felix Kuehling
I'm wondering what makes this possible. Let me quote the last discussion we had about GART: > On 17-04-04 06:26 PM, Felix Kuehling wrote: >> Even with GART address space being allocated on demand, it still seems >> to be limiting the maximum available system memory that can be allocated >> from

[PATCH 3/3] drm/amdgpu: add gtt_sys_limit

2017-06-26 Thread Christian König
From: Christian König Limit the size of the GART table for the system domain. This saves us a bunch of visible VRAM, but also limitates the maximum BO size we can swap out. Signed-off-by: Christian König ---