number of rings broken

2017-06-05 Thread Tom St Denis
Hi all, Just back after a week off ... first thing I see on my vega10 system is this patch: 83866f0fc72017d55f40cbd4160cd1e42a2cc3a8 is the first bad commit commit 83866f0fc72017d55f40cbd4160cd1e42a2cc3a8 Author: Andres Rodriguez Date: Thu Feb 2 00:38:22 2017 -0500

[PATCH] drm/amd/amdgpu: Fix ring initialization for GFX9

2017-06-05 Thread Tom St Denis
The commit 83866f0fc72017d55f40cbd4160cd1e42a2cc3a8 erroneously included the old ring init sequence along with the new one which uses shared header definitions. The fix which works on my vega10 seems to be to drop the old init sequence. Signed-off-by: Tom St Denis ---

[PATCH 1/2] drm/amdgpu/gfx9: allocate queues horizontally across pipes

2017-06-05 Thread Alex Deucher
Pipes provide better concurrency than queues, therefore we want to make sure that apps use queues from different pipes whenever possible. Optimize for the trivial case where an app will consume rings in order, therefore we don't want adjacent rings to belong to the same pipe. gfx9 was missed

RE: [PATCH] drm/amdgpu: correct clock info for SRIOV

2017-06-05 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Xiangliang Yu > Sent: Saturday, June 03, 2017 5:45 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yu, Xiangliang > Subject: [PATCH] drm/amdgpu: correct clock info for SRIOV > > Currently, get

Re: number of rings broken

2017-06-05 Thread Alex Deucher
On Mon, Jun 5, 2017 at 7:34 AM, Tom St Denis wrote: > Hi all, > > Just back after a week off ... first thing I see on my vega10 system is this > patch: > > 83866f0fc72017d55f40cbd4160cd1e42a2cc3a8 is the first bad commit > commit 83866f0fc72017d55f40cbd4160cd1e42a2cc3a8 >

Re: number of rings broken

2017-06-05 Thread Tom St Denis
On 05/06/17 11:32 AM, Alex Deucher wrote: On Mon, Jun 5, 2017 at 7:34 AM, Tom St Denis wrote: Hi all, Just back after a week off ... first thing I see on my vega10 system is this patch: 83866f0fc72017d55f40cbd4160cd1e42a2cc3a8 is the first bad commit commit

RE: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-06-05 Thread Li, Samuel
> what is the purpose of the file version The initial purpose is to act like a version tag, not necessarily format related. Sam -Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: Sunday, June 04, 2017 10:10 PM To: Li, Samuel Cc:

RE: amd-gfx Digest, Vol 13, Issue 29

2017-06-05 Thread Xie, AlexBin
Hi Tom, I have found the original patch which introduce the duplicate code. The patch is in: amd-gfx Digest, Vol 11, Issue 301 Alex Bin Xie -Original Message- From: Xie, AlexBin Sent: Monday, June 5, 2017 10:25 AM To: amd-gfx@lists.freedesktop.org Subject: RE: amd-gfx Digest, Vol 13,

Re: [PATCH 2/2] drm/amdgpu/gfx9: new queue policy, take first 2 queues of each pipe

2017-06-05 Thread Andres Rodriguez
Reviewed-by: Andres Rodriguez -Andres On 2017-06-05 11:06 AM, Alex Deucher wrote: Instead of taking the first pipe and giving the rest to kfd, take the first 2 queues of each pipe. Effectively, amdgpu and amdkfd own the same number of queues. But because the queues are

Re: Bug reports for beginners.

2017-06-05 Thread Harry Wentland
Hi Luke, the first things to check would be the saved kern.log and Xorg.0.log from before the crash occured. Both should be in /var/log. These logs will keep a long record but you should be able to find the bad run as kern.log is timestamped and with Xorg.0.log you should be able to scroll

[PATCH i-g-t] tests/kms_setmode: Dynamic crtc/connector combinations

2017-06-05 Thread Harry Wentland
Create crtc/connector combinations based on actual adapter information obtained from drmModeRes. Also set MAX_CRTCs to 6 for AMD GPUs. Signed-off-by: Harry Wentland --- tests/kms_setmode.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-)

Re: Bug reports for beginners.

2017-06-05 Thread Michel Dänzer
On 03/06/17 07:46 AM, Luke Miller wrote: > > I have a recurring problem with one 3D program (UE4editor) crashing my > computer during a particular operation. > > I believe the problem is at the DRM layer. It's actually more likely in Mesa. If you set either or both of the following environment

RE: . [PATCH] drm/amd/amdgpu: Fix ring initialization for GFX9

2017-06-05 Thread Xie, AlexBin
Hi Andres, I think the original patch was written by you. Would you comment? Is it a bug or intentional? Thank you. Alex Bin Xie Message: 1 Date: Mon, 5 Jun 2017 10:36:59 -0400 From: Tom St Denis To: amd-gfx@lists.freedesktop.org Subject: Re: amd-gfx Digest, Vol 13,

Re: [PATCH i-g-t] tests/kms_setmode: Dynamic crtc/connector combinations

2017-06-05 Thread Harry Wentland
On 2017-06-05 03:50 PM, Alex Deucher wrote: On Mon, Jun 5, 2017 at 2:43 PM, Harry Wentland wrote: Create crtc/connector combinations based on actual adapter information obtained from drmModeRes. Also set MAX_CRTCs to 6 for AMD GPUs. Signed-off-by: Harry Wentland

RE: [PATCH drm] tests/amdgpu: Fix device_id option

2017-06-05 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Tom St Denis > Sent: Monday, June 05, 2017 2:04 PM > To: amd-gfx@lists.freedesktop.org > Cc: StDenis, Tom > Subject: [PATCH drm] tests/amdgpu: Fix device_id option > > The device_id option

Re: [PATCH i-g-t] tests/kms_setmode: Dynamic crtc/connector combinations

2017-06-05 Thread Alex Deucher
On Mon, Jun 5, 2017 at 2:43 PM, Harry Wentland wrote: > Create crtc/connector combinations based on actual adapter > information obtained from drmModeRes. > > Also set MAX_CRTCs to 6 for AMD GPUs. > > Signed-off-by: Harry Wentland The code is kind

Re: Bug reports for beginners.

2017-06-05 Thread Alex Deucher
On Mon, Jun 5, 2017 at 2:36 PM, Harry Wentland wrote: > Hi Luke, > > the first things to check would be the saved kern.log and Xorg.0.log from > before the crash occured. Both should be in /var/log. These logs will keep a > long record but you should be able to find the

Re: . [PATCH] drm/amd/amdgpu: Fix ring initialization for GFX9

2017-06-05 Thread Andres Rodriguez
On 2017-06-05 03:48 PM, Xie, AlexBin wrote: Hi Andres, I think the original patch was written by you. Would you comment? Is it a bug or intentional? Thank you. Alex Bin Xie Message: 1 Date: Mon, 5 Jun 2017 10:36:59 -0400 From: Tom St Denis To:

Re: amd-gfx Digest, Vol 13, Issue 29

2017-06-05 Thread Michel Dänzer
On 05/06/17 11:42 PM, Xie, AlexBin wrote: > > I have found the original patch which introduce the duplicate code. > > The patch is in: > amd-gfx Digest, Vol 11, Issue 301 FYI, such a reference is useless for people who aren't subscribed to the list in digest mode (which is presumably the

RE: [PATCH] drm/amdgpu: correct clock info for SRIOV

2017-06-05 Thread Yu, Xiangliang
> > Currently, get clock info from default clk of pm if dpm is disable. > > Buf SRIOV doesn't support dpm and pm, can't get anything from pm. > > Only get clock info only from default clk of amdgpu for SRIOV. > > > > And driver get pm default clk also from amdgpu default clk and never > > be