RE: [PATCH] drm/amd/amdgpu: set gtt size according to system memory size only

2017-12-07 Thread He, Roger
[TTM] Out of kernel memory The direct reason is GTT BO swap out failure which results from more Bo allocation. And along with that need more acc_size. But why swap out failure I am not sure that is expected here for this case, maybe need to investigate. Thanks Roger(Hongbo.He)

RE: [PATCH 3/5] drm/amdgpu: Avoid use SOC15_REG_OFFSET in static const array

2017-12-07 Thread Liu, Shaoyun
Thanks a lot . Regards Shaoyun.liu -Original Message- From: Koenig, Christian Sent: Thursday, December 07, 2017 12:13 PM To: Liu, Shaoyun; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/5] drm/amdgpu: Avoid use SOC15_REG_OFFSET in static const array Hi Shaoyun, I didn't have t

Re: [PATCH] drm/amd/amdgpu: set gtt size according to system memory size only

2017-12-07 Thread Christian König
Am 07.12.2017 um 18:34 schrieb Michel Dänzer: On 2017-11-29 10:12 AM, Roger He wrote: Change-Id: Ib634375b90d875fe04a890fc82fb1e3b7112676a Signed-off-by: Roger He --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/g

Re: [PATCH] drm/amd/amdgpu: set gtt size according to system memory size only

2017-12-07 Thread Michel Dänzer
On 2017-11-29 10:12 AM, Roger He wrote: > Change-Id: Ib634375b90d875fe04a890fc82fb1e3b7112676a > Signed-off-by: Roger He > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c > b/d

Re: [PATCH 3/5] drm/amdgpu: Avoid use SOC15_REG_OFFSET in static const array

2017-12-07 Thread Christian König
Hi Shaoyun, I didn't have time to take a closer look. Just skimming over the code I've found one thing that looked like odd coding style: + amdgpu_ring_write(ring, PACKET0(SOC15_REG_OFFSET(UVD, 0, +mmUVD_NO_OP), 0)); } Please make sure to fix those, with that done the series is

RE: [PATCH 3/5] drm/amdgpu: Avoid use SOC15_REG_OFFSET in static const array

2017-12-07 Thread Liu, Shaoyun
Hi , Christian Do you have time to continue review them ? Regards Shaoyun.liu -Original Message- From: Liu, Shaoyun Sent: Friday, December 01, 2017 3:13 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Shaoyun Subject: [PATCH 3/5] drm/amdgpu: Avoid use SOC15_REG_OFFSET in static const a

Re: [PATCH 2/2] drm/amdgpu: add amdgpu_evict_vram debugfs file

2017-12-07 Thread Alex Deucher
On Thu, Dec 7, 2017 at 10:38 AM, Christian König wrote: > Torture test for MM and VM support, can be used to evict all VRAM while > the system is under load. > > Signed-off-by: Christian König Series is: Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 13 +++

[PATCH 1/2] drm/amdgpu: cleanup debugfs handling a bit

2017-12-07 Thread Christian König
Remove the superflous .debugfs_init callback and register all files in amdgpu_device.c in just one function. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 5 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 46 +++--- drivers/gpu/drm/am

[PATCH 2/2] drm/amdgpu: add amdgpu_evict_vram debugfs file

2017-12-07 Thread Christian König
Torture test for MM and VM support, can be used to evict all VRAM while the system is under load. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_devi

Re: [Ask for help] ATI HD 7470 card on arm64 platform

2017-12-07 Thread liuxinliang
Hi Christian, On 2017/12/7 17:57, Xinliang Liu wrote: cc z.liuxinli...@hisilicon.com On 7 December 2017 at 17:54, Xinliang Liu wrote: Thanks Christian, add tangyongqian in the loop. On 7 December 2017 at 17:40, Christian König wrote: Hi Xinliang, please provide the output of lspci and t

Re: [Ask for help] ATI HD 7470 card on arm64 platform

2017-12-07 Thread Michel Dänzer
On 2017-12-07 10:35 AM, Xinliang Liu wrote: > Hi, > > We are trying ATI HD 7470 card on arm64 platform D05 with kernel 4.1.40. > But it failed with kernel log: > radeon 0005:01:00: ring 0 stalled for more than 1msec > radeon 0005:01:00: GPU lockup (current fence id 0x0001 > last fe

Re: [Ask for help] ATI HD 7470 card on arm64 platform

2017-12-07 Thread Xinliang Liu
cc z.liuxinli...@hisilicon.com On 7 December 2017 at 17:54, Xinliang Liu wrote: > Thanks Christian, > > add tangyongqian in the loop. > > On 7 December 2017 at 17:40, Christian König wrote: >> Hi Xinliang, >> >> please provide the output of lspci and the content of /proc/iomem > > will privide t

Re: [Ask for help] ATI HD 7470 card on arm64 platform

2017-12-07 Thread Xinliang Liu
Thanks Christian, add tangyongqian in the loop. On 7 December 2017 at 17:40, Christian König wrote: > Hi Xinliang, > > please provide the output of lspci and the content of /proc/iomem will privide these info asap. > > Thanks, > Christian. > > > Am 07.12.2017 um 10:35 schrieb Xinliang Liu: >

Re: [Ask for help] ATI HD 7470 card on arm64 platform

2017-12-07 Thread Christian König
Hi Xinliang, please provide the output of lspci and the content of /proc/iomem Thanks, Christian. Am 07.12.2017 um 10:35 schrieb Xinliang Liu: Hi, We are trying ATI HD 7470 card on arm64 platform D05 with kernel 4.1.40. But it failed with kernel log: radeon 0005:01:00: ring 0 stalled for more

[Ask for help] ATI HD 7470 card on arm64 platform

2017-12-07 Thread Xinliang Liu
Hi, We are trying ATI HD 7470 card on arm64 platform D05 with kernel 4.1.40. But it failed with kernel log: radeon 0005:01:00: ring 0 stalled for more than 1msec radeon 0005:01:00: GPU lockup (current fence id 0x0001 last fence id 0x0002 on ring0) radeon 0005:01:00: rin

Re: [PATCH] drm/scheduler: add license to the Makefile

2017-12-07 Thread Christian König
Am 06.12.2017 um 20:53 schrieb Alex Deucher: Was missing before. Signed-off-by: Alex Deucher Acked-by: Christian König --- drivers/gpu/drm/scheduler/Makefile | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/gpu/drm/scheduler/Makefile b/drivers/gpu/drm