Re: [PATCH v2] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Huang Rui
On Tue, Apr 24, 2018 at 11:44:27AM +0800, S, Shirish wrote: > > > On 4/24/2018 8:19 AM, Huang Rui wrote: > > "aaabaf4 drm/amdgpu: defer test IBs on the rings at boot (V3)" > > Above patch defers the execution of gfx/compute ib tests. However, at that > > time, > > the gfx may already go into

Re: [PATCH v2] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread S, Shirish
On 4/24/2018 8:19 AM, Huang Rui wrote: "aaabaf4 drm/amdgpu: defer test IBs on the rings at boot (V3)" Above patch defers the execution of gfx/compute ib tests. However, at that time, the gfx may already go into idle state. If "idle" gfx receives command submission, then will get hang in the

[PATCH v2] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Huang Rui
"aaabaf4 drm/amdgpu: defer test IBs on the rings at boot (V3)" Above patch defers the execution of gfx/compute ib tests. However, at that time, the gfx may already go into idle state. If "idle" gfx receives command submission, then will get hang in the system. And it still has issue to

Re: [PATCH] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Huang Rui
On Mon, Apr 23, 2018 at 10:40:20PM +0800, Alex Deucher wrote: > On Mon, Apr 23, 2018 at 8:13 AM, Huang Rui wrote: > > On Mon, Apr 23, 2018 at 05:57:06PM +0800, Koenig, Christian wrote: > >> Hi Ray, > >> > >> Am 23.04.2018 11:47 schrieb Huang Rui : > >> > >>

Re: RFC for a render API to support adaptive sync and VRR

2018-04-23 Thread Manasi Navare
On Mon, Apr 23, 2018 at 10:40:06AM -0400, Harry Wentland wrote: > On 2018-04-20 04:32 PM, Manasi Navare wrote: > > On Wed, Apr 18, 2018 at 09:39:02AM +0200, Daniel Vetter wrote: > >> On Wed, Apr 18, 2018 at 5:58 AM, Keith Packard wrote: > >>> Michel Dänzer

Re: [PATCH] drm/amdgpu: change pp_dpm clk/mclk/pcie input format

2018-04-23 Thread Alex Deucher
On Thu, Apr 19, 2018 at 4:51 PM, welu wrote: > 1. support more than 8 values when setting get_pp_dpm_mclk/ > sclk/pcie, the former design just parse command format like > "echo > pp_dpm_sclk" and current can parse "echo xx xxx > > pp_dpm_sclk" whose operation is more

Tracking: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-04-23 Thread Mathieu Malaterre
Hi there, I am pretty sure I was able to run kodi on an old Mac Mini G4 (big endian) with AMD RV280. Today it is failing to start with: [ 162.971551] radeon :00:10.0: ring 0 stalled for more than 10240msec [ 162.971568] radeon :00:10.0: GPU lockup (current fence id 0x01d6

Re: [PATCH v5 1/1] drm/amdgpu: Enable scatter gather display support

2018-04-23 Thread Alex Deucher
On Mon, Apr 23, 2018 at 12:44 PM, Samuel Li wrote: > Enables sg display if vram size <= THRESHOLD(256M); otherwise > still use vram as display buffer. > This patch fixed some potention issues introduced by change > "allow framebuffer in GART memory as well" due to CZ/ST

[PATCH v5 1/1] drm/amdgpu: Enable scatter gather display support

2018-04-23 Thread Samuel Li
Enables sg display if vram size <= THRESHOLD(256M); otherwise still use vram as display buffer. This patch fixed some potention issues introduced by change "allow framebuffer in GART memory as well" due to CZ/ST hardware limitation. v2: Change default setting to auto. v3: Move some logic from

Re: [PATCH] drm/amd/pp: Add OVERDRIVE support on Vega10

2018-04-23 Thread Alex Deucher
On Mon, Apr 23, 2018 at 6:14 AM, Rex Zhu wrote: > when bit14 in module parameter ppfeaturemask was set. > od feature will be enabled on Vega10 except vbios not support. > > user can read od range by reading sysfs pp_od_clk_voltage, > cat pp_od_clk_voltage > OD_SCLK: > 0:

Re: [PATCH] drm/amdgpu: set COMPUTE_PGM_RSRC1 for SGPR/VGPR clearing shaders

2018-04-23 Thread Alex Deucher
On Mon, Apr 23, 2018 at 7:41 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Otherwise, the SQ may skip some of the register writes, or shader waves may > be allocated where we don't expect them, so that as a result we don't actually > reset all

Re: [PATCH] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Alex Deucher
On Mon, Apr 23, 2018 at 8:13 AM, Huang Rui wrote: > On Mon, Apr 23, 2018 at 05:57:06PM +0800, Koenig, Christian wrote: >> Hi Ray, >> >> Am 23.04.2018 11:47 schrieb Huang Rui : >> >> On Fri, Apr 20, 2018 at 05:59:16PM +0800, Koenig, Christian wrote: >>

Re: RFC for a render API to support adaptive sync and VRR

2018-04-23 Thread Harry Wentland
On 2018-04-20 04:32 PM, Manasi Navare wrote: > On Wed, Apr 18, 2018 at 09:39:02AM +0200, Daniel Vetter wrote: >> On Wed, Apr 18, 2018 at 5:58 AM, Keith Packard wrote: >>> Michel Dänzer writes: Time-based presentation seems to be the right approach for

Re: [PATCH] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Koenig, Christian
Hi Ray, Am 23.04.2018 14:08 schrieb Huang Rui Hi Ray, > > Am 23.04.2018 11:47 schrieb Huang Rui : > > On Fri, Apr 20, 2018 at 05:59:16PM +0800, Koenig, Christian wrote: > > Am 20.04.2018

Re: [PATCH] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Huang Rui
On Mon, Apr 23, 2018 at 05:57:06PM +0800, Koenig, Christian wrote: > Hi Ray, > > Am 23.04.2018 11:47 schrieb Huang Rui : > > On Fri, Apr 20, 2018 at 05:59:16PM +0800, Koenig, Christian wrote: > > Am 20.04.2018 um 11:40 schrieb Huang Rui: > > > "aaabaf4

[PATCH] drm/amdgpu: set COMPUTE_PGM_RSRC1 for SGPR/VGPR clearing shaders

2018-04-23 Thread Nicolai Hähnle
From: Nicolai Hähnle Otherwise, the SQ may skip some of the register writes, or shader waves may be allocated where we don't expect them, so that as a result we don't actually reset all of the register SRAMs. This can lead to spurious ECC errors later on if a shader uses

[PATCH] drm/amd/pp: Add OVERDRIVE support on Vega10

2018-04-23 Thread Rex Zhu
when bit14 in module parameter ppfeaturemask was set. od feature will be enabled on Vega10 except vbios not support. user can read od range by reading sysfs pp_od_clk_voltage, cat pp_od_clk_voltage OD_SCLK: 0:852Mhz800mV 1:991Mhz900mV 2: 1138Mhz950mV

Re: [PATCH] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Koenig, Christian
Hi Ray, Am 23.04.2018 11:47 schrieb Huang Rui : On Fri, Apr 20, 2018 at 05:59:16PM +0800, Koenig, Christian wrote: > Am 20.04.2018 um 11:40 schrieb Huang Rui: > > "aaabaf4 drm/amdgpu: defer test IBs on the rings at boot (V3)" > > Above patch defers the execution of

Re: [PATCH] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Huang Rui
On Mon, Apr 23, 2018 at 05:52:28PM +0800, Huang Rui wrote: > On Fri, Apr 20, 2018 at 05:59:16PM +0800, Koenig, Christian wrote: > > Am 20.04.2018 um 11:40 schrieb Huang Rui: > > > "aaabaf4 drm/amdgpu: defer test IBs on the rings at boot (V3)" > > > Above patch defers the execution of gfx/compute

Re: [PATCH] drm/amdgpu: fix the ib test hang when gfx is in "idle" state

2018-04-23 Thread Huang Rui
On Fri, Apr 20, 2018 at 05:59:16PM +0800, Koenig, Christian wrote: > Am 20.04.2018 um 11:40 schrieb Huang Rui: > > "aaabaf4 drm/amdgpu: defer test IBs on the rings at boot (V3)" > > Above patch defers the execution of gfx/compute ib tests. However, at that > > time, > > the gfx may already go

RE: [PATCH] drm/amdgpu: bo could be null when access in vm bo update

2018-04-23 Thread Zhou, David(ChunMing)
Reviewed-by: Chunming Zhou -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Junwei Zhang Sent: Monday, April 23, 2018 5:29 PM To: amd-gfx@lists.freedesktop.org Cc: Zhang, Jerry Subject: [PATCH]

[PATCH] drm/amdgpu: bo could be null when access in vm bo update

2018-04-23 Thread Junwei Zhang
Signed-off-by: Junwei Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 6a372ca..1c00f1a 100644 ---

Re: [OOPS] [AMDGPU] Problem with R7 360 card and 4.16.x kernel.

2018-04-23 Thread Michel Dänzer
On 2018-04-22 02:03 PM, Chris Rankin wrote: > Hi, > > I have recently upgraded to the 4.16 kernel, and have now noticed the > following appearing in my dmesg log. This didn't happen with the 4.15 > kernel. I am also noticing that my graphics card runs ~10C hotter with 4.16. > > The PCI numbers

[OOPS] [AMDGPU] Problem with R7 360 card and 4.16.x kernel.

2018-04-23 Thread Chris Rankin
Hi, I have recently upgraded to the 4.16 kernel, and have now noticed the following appearing in my dmesg log. This didn't happen with the 4.15 kernel. I am also noticing that my graphics card runs ~10C hotter with 4.16. The PCI numbers for this card are: 1002:665f (rev 81) [ 9229.654917]