[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-14 Thread Ken.Wang
From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/amdgpu/psp_v

[PATCH] drm/amdgpu: add powerplay support for CI asics

2017-09-14 Thread Rex Zhu
currently, for CI asics, use dpm by default, amdgpu.dpm=-1. when set amdgpu.dpm=1, enable powplay. when set amdgpu.dpm=0, disable both dpm and powerplay. when powerplay is stable on CI asics, ci_dpm will be removed. Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 12 +

RE: Can you tell me which driver supports AMD's sriov?

2017-09-14 Thread Yu, Xiangliang
Need GPU hypervisor driver if supporting amdgpu SRIOV. Right now, we still doesn't upstream the hypervisor driver to kernel, but we have a plan to upstream it. From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of maok...@126.com Sent: Thursday, September 14, 2017 3:57 PM T

Re: [PATCH] drm/amdgpu: revert tile table update for oland

2017-09-14 Thread Jean Delvare
On Thu, 14 Sep 2017 12:31:29 -0400, Alex Deucher wrote: > On Thu, Sep 14, 2017 at 12:21 PM, Marek Olšák wrote: > > Reviewed-by: Marek Olšák > > Applied. thanks. > > Alex Thanks. I forgot the tag but this is obviously a candidate for stable trees. I have prepared different version for older

Re: [PATCH 0/6 v4] Add ASoC support for AMD Stoney APUs

2017-09-14 Thread Mark Brown
On Wed, Sep 13, 2017 at 02:49:08PM -0400, Alex Deucher wrote: > On Wed, Sep 13, 2017 at 2:12 PM, Mark Brown wrote: > > No, send me a pull request for the dependencies so we can do a cross > > merge. I want to make sure that when this gets reviewed it actually > > gets merged. > I'm not quite su

Re: [PATCH] drm/amdgpu: revert tile table update for oland

2017-09-14 Thread Alex Deucher
On Thu, Sep 14, 2017 at 12:21 PM, Marek Olšák wrote: > Reviewed-by: Marek Olšák Applied. thanks. Alex > > Marek > > On Mon, Sep 11, 2017 at 5:43 PM, Jean Delvare wrote: >> Several users have complained that the tile table update broke Oland >> support. Despite several attempts to fix it, the

Re: [PATCH] drm/amdgpu: revert tile table update for oland

2017-09-14 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Sep 11, 2017 at 5:43 PM, Jean Delvare wrote: > Several users have complained that the tile table update broke Oland > support. Despite several attempts to fix it, the root cause is still > unknown at this point and no solution is available. As it is not >

RE: What is the relationship between amd-gfx and kernel?

2017-09-14 Thread Bridgman, John
amd-gfx is the mailing list for the amdgpu kernel driver, which is part of the drm subsystem in the Linux kernel. It lives in the drivers/gpu/drm/amd/amdgpu portion of the Linux kernel tree. We also release modified versions of the amdgpu driver in the AMDGPU-PRO and ROCm driver stacks. From:

RE: What is the relationship between amd-gfx and kernel?

2017-09-14 Thread Deucher, Alexander
I'm not sure I understand your question. There is an amdgpu kernel driver which is part of the kernel. New features and bug fixes get added every kernel cycle. Alex From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of maok...@126.com Sent: Thursday, September 14, 2017 5:

What is the relationship between amd-gfx and kernel?

2017-09-14 Thread maok...@126.com
hi: What is the relationship between amd-gfx and kernel and how is the version connected? maok...@126.com ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [PATCH] drm/amd/amdgpu: Support VM environments in amdgpu_ttm_access_memory()

2017-09-14 Thread Tom St Denis
Ok done. Cheers, Tom On 14/09/17 09:06 AM, Deucher, Alexander wrote: Please push to amd-staging-drm-next -Original Message- From: StDenis, Tom Sent: Thursday, September 14, 2017 9:05 AM To: Deucher, Alexander; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amd/amdgpu: Support

RE: [PATCH] drm/amd/amdgpu: Support VM environments in amdgpu_ttm_access_memory()

2017-09-14 Thread Deucher, Alexander
Please push to amd-staging-drm-next > -Original Message- > From: StDenis, Tom > Sent: Thursday, September 14, 2017 9:05 AM > To: Deucher, Alexander; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH] drm/amd/amdgpu: Support VM environments in > amdgpu_ttm_access_memory() > > Pushed to s

Re: [PATCH] drm/amd/amdgpu: Support VM environments in amdgpu_ttm_access_memory()

2017-09-14 Thread Tom St Denis
Pushed to stg-4.13. Should I push to 4.12 too for the time being? Tom On 14/09/17 09:03 AM, Deucher, Alexander wrote: -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Tom St Denis Sent: Thursday, September 14, 2017 8:59 AM To: amd-gfx@lists.f

RE: [PATCH] drm/amd/amdgpu: Support VM environments in amdgpu_ttm_access_memory()

2017-09-14 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Tom St Denis > Sent: Thursday, September 14, 2017 8:59 AM > To: amd-gfx@lists.freedesktop.org > Cc: StDenis, Tom > Subject: [PATCH] drm/amd/amdgpu: Support VM environments in > amdgpu_ttm_acce

[PATCH] drm/amd/amdgpu: Support VM environments in amdgpu_ttm_access_memory()

2017-09-14 Thread Tom St Denis
Signed-off-by: Tom St Denis --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index b2b11e176667..8ee16dfdb8af 100644 --- a/drivers/gpu/drm/amd/

RE: [PATCH] drm/amdgpu/vce4: remove interrupt mask clearance for SRIOV

2017-09-14 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Xiangliang.Yu > Sent: Thursday, September 14, 2017 3:59 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yu, Xiangliang; Liu, Leo > Subject: [PATCH] drm/amdgpu/vce4: remove interrupt mask clearanc

RE: [PATCH 2/2] drm/amdgpu/sdma3: set wptr shadow atomically

2017-09-14 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Xiangliang.Yu > Sent: Thursday, September 14, 2017 3:34 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yu, Xiangliang > Subject: [PATCH 2/2] drm/amdgpu/sdma3: set wptr shadow atomically > > Por

Can you tell me which driver supports AMD's sriov?

2017-09-14 Thread maok...@126.com
hi,all: Which patch begins to support sriov for amd graphics cards ? Graphics cards such as AMD FirePro s7150. I tested a lot of systems that didn't support, such as centos7.2, centos7.3, unbuntu17.4. maok...@126.com ___ amd-gfx mailing list

Re: Resizeable PCI BAR support V8

2017-09-14 Thread Bjorn Helgaas
On Mon, Jul 10, 2017 at 04:59:48PM +0200, Christian König wrote: > Hi everyone, > > This is the eighth incarnation of this set of patches. It enables device > drivers to resize and most likely also relocate the PCI BAR of devices > they manage to allow the CPU to access all of the device local me

[PATCH] drm/amdgpu/vce4: remove interrupt mask clearance for SRIOV

2017-09-14 Thread Xiangliang . Yu
For SRIOV, the clearance has been moved to firmware. So don't need it any more. Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c b/drivers/gpu/drm/amd/amdgpu/vc

Re: [PATCH libdrm 1/4] amdgpu: add sync_file import and export functions

2017-09-14 Thread Emil Velikov
On 12 September 2017 at 21:43, Marek Olšák wrote: > From: Marek Olšák > > --- > amdgpu/amdgpu.h| 30 ++ > amdgpu/amdgpu_cs.c | 20 > 2 files changed, 50 insertions(+) > > diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h > index 238b1aa..b44b9b6

Re: [PATCH 1/3] drm/syncobj: extract two helpers from drm_syncobj_create

2017-09-14 Thread Emil Velikov
On 14 September 2017 at 08:56, Emil Velikov wrote: > Hi Marek, > > On 12 September 2017 at 21:42, Marek Olšák wrote: > >> include/drm/drm_syncobj.h | 4 > Please sync the header as described in > https://cgit.freedesktop.org/mesa/drm/tree/include/drm/README#n72 > > Tl;DR: cd .../linux;

Re: [PATCH 1/3] drm/syncobj: extract two helpers from drm_syncobj_create

2017-09-14 Thread Emil Velikov
Hi Marek, On 12 September 2017 at 21:42, Marek Olšák wrote: > include/drm/drm_syncobj.h | 4 Please sync the header as described in https://cgit.freedesktop.org/mesa/drm/tree/include/drm/README#n72 Tl;DR: cd .../linux; make headers_install; cp ... .../drm/include/drm; cd .../drm; git

[PATCH 1/2] drm/amdgpu/sdma3: Enable sdma wptr polling for SRIOV

2017-09-14 Thread Xiangliang . Yu
When hypervisor triggering FLR for one of VFs, need to enable sdma wptr polling to avoid missing wptr update if enabling doorbell. Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 2/2] drm/amdgpu/sdma3: set wptr shadow atomically

2017-09-14 Thread Xiangliang . Yu
Port it from sdma4 for wptr polling usage. Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c index b7d69ab..728c0d8 100644