Re: [PATCH 1/2] drm/amdgpu: use drm_gem_private_object_init

2018-02-19 Thread Daniel Vetter
On Mon, Feb 19, 2018 at 04:40:40PM +0100, Christian König wrote: > Am 19.02.2018 um 16:32 schrieb Daniel Vetter: > > On Fri, Feb 16, 2018 at 10:26:34AM +0100, Christian König wrote: > > > We use our own backing store and don't need the shmem file. > > > > > > Signed-off-by: Christian König

Re: [PATCH 1/2] drm/amdgpu: use drm_gem_private_object_init

2018-02-19 Thread Christian König
Am 19.02.2018 um 16:32 schrieb Daniel Vetter: On Fri, Feb 16, 2018 at 10:26:34AM +0100, Christian König wrote: We use our own backing store and don't need the shmem file. Signed-off-by: Christian König I thought ttm swaps to the shmem when under memory pressure. Or

Re: [PATCH 1/2] drm/amdgpu: use drm_gem_private_object_init

2018-02-19 Thread Daniel Vetter
On Fri, Feb 16, 2018 at 10:26:34AM +0100, Christian König wrote: > We use our own backing store and don't need the shmem file. > > Signed-off-by: Christian König I thought ttm swaps to the shmem when under memory pressure. Or does it allocate it's own shmem file for

[PATCH 1/2] drm/amdgpu: use drm_gem_private_object_init

2018-02-16 Thread Christian König
We use our own backing store and don't need the shmem file. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c