Re: Spontaneous reboots when using RX 560

2019-10-19 Thread Sylvain Munaut
Finally some progress ! I found a thread with a couple of people having the same symptoms as I do ( [1] ), and interestingly that was with the same brand & model of card. Although there is no solution, there is a work around that works : echo -n low > /sys/class/drm/card0/device/power_dpm_force_

Re: Spontaneous reboots when using RX 560

2019-10-19 Thread Sylvain Munaut
Just in case there was any doubt, seems OpenCL workload crashes the card just as hard. (That was the AMDGPU-Pro OpenCL lib, legacy version. Can't get PAL to detect the card at all) Cheers, Sylvain ___ amd-gfx mailing list amd-gfx@lists.freedesktop

RE: [PATCH 1/3] drm/amd/powerplay: add lock protection for swSMU APIs V2

2019-10-19 Thread Xu, Feifei
Acked-by: Feifei Xu Thanks, Feifei -Original Message- From: amd-gfx On Behalf Of Quan, Evan Sent: Friday, October 18, 2019 10:57 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Grodzovsky, Andrey ; Quan, Evan Subject: [PATCH 1/3] drm/amd/powerplay: add lock protection fo

[PATCH] drm/amd/amdgpu: correct length misspelling

2019-10-19 Thread Wambui Karuga
Correct the "_LENTH" mispelling in the AMDGPU_MAX_TIMEOUT_PARAM_LENGTH constant. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amd

[PATCH] drm/radeon: remove assignment for return value

2019-10-19 Thread Wambui Karuga
Remove unnecessary assignment for return value and have the function return the required value directly. Issue found by coccinelle: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Wambui Karuga --- drivers/gpu/drm/radeon/cik.c | 8 ++-- 1 file

[PATCH] drm/amd/amdgpu: make undeclared variables static

2019-10-19 Thread Wambui Karuga
Make the `amdgpu_lockup_timeout` and `amdgpu_exp_hw_support` variables static to remove the following sparse warnings: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:103:19: warning: symbol 'amdgpu_lockup_timeout' was not declared. Should it be static? drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:117:18: warn