RE: [PATCH] drm/amdgpu: remove unused power control for vcn

2017-07-26 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Leo Liu > Sent: Wednesday, July 26, 2017 3:08 PM > To: amd-gfx@lists.freedesktop.org > Cc: Liu, Leo > Subject: [PATCH] drm/amdgpu: remove unused power control for vcn > > The power control

[PATCH] drm/amdgpu: fix header on gfx9 clear state

2017-07-26 Thread Alex Deucher
This got missed when we open sourced this. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h | 41 ++-- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h

Re: [PATCH 15/81] drm/amd/display: Re-enable Vsync Interrupts for Gradual Refresh Ramp

2017-07-26 Thread Michel Dänzer
On 26/07/17 10:34 PM, Harry Wentland wrote: > On 2017-07-25 09:34 PM, Michel Dänzer wrote: >> On 25/07/17 10:53 PM, sunpeng...@amd.com wrote: >>> From: Amy Zhang >>> >>> - Make sure Vsync interrupts are disabled in static screen case >>> and enabled when not to save power >>

[PATCH] drm/amdgpu: remove unused power control for vcn

2017-07-26 Thread Leo Liu
The power control for vcn has been moved to firmware, kernel'll spins "amdgpu: [powerplay] pp_dpm_powergate_uvd was not implemented", each time when application runs, so let's remove it. Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 23

[pull] amdgpu drm-fixes-4.13

2017-07-26 Thread Alex Deucher
Hi Dave, A few fixes for 4.13. The following changes since commit cfd10811080f5bb0592e21d0b197d445f133ba9e: Merge branch 'linux-4.13' of git://github.com/skeggsb/linux into drm-fixes (2017-07-25 15:41:39 +1000) are available in the git repository at:

[PATCH 2/2] drm/amdgpu: Support IOMMU on Raven

2017-07-26 Thread Yong Zhao
We achieved that by setting the PTEs to 2 (the SYSTEM bit is set) when the corresponding addresses are not occupied by gpu driver allocated buffers. Change-Id: I995c11c7a25bdaf7a16700d9e08a8fe287d49417 Signed-off-by: Yong Zhao --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c

[PATCH 1/2] drm/amdgpu: Add support for filling a buffer with 64 bit value

2017-07-26 Thread Yong Zhao
That function will be used later to support setting a page table block with 64 bit value. Change-Id: Ib142ebd4163d6e23670a3f0ceed536d59133b942 Signed-off-by: Yong Zhao --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 19 +--

Re: [PATCH 6/6] drm/amdgpu: change gartsize default to 256MB

2017-07-26 Thread Andy Furniss
Andy Furniss wrote: Bit late, but this causes a startup fail for me with r9 285 , nothing logged, just a blank screen when the driver loads. Heads of both amd-staging-4.11 and drm-next-4.14-wip both failing. Both branches are OK now after the latest updates.

Re: [PATCH 01/14] amdgpu: powerplay: Remove unused function

2017-07-26 Thread Harry Wentland
On 2017-07-26 09:47 AM, Ricardo Ribalda Delgado wrote: > Hi Harry > > On Mon, Jul 24, 2017 at 5:45 PM, Harry Wentland > wrote: >> On 2017-07-24 10:06 AM, Ricardo Ribalda Delgado wrote: >>> Hi Harry >>> On Mon, Jul 24, 2017 at 4:01 PM, Harry Wentland

Re: [PATCH] drm/amdgpu: Fix blocking in RCU critical section(v2)

2017-07-26 Thread axie
Hi Emil, Sorry for late reply. I was so busy last week and this week. Your logic looks correct, smarter and shorter. I feel relatively more difficult to understand the logic, with two "!" and one "||" in the same if statement. Thanks for the advice always. On 2017-07-20 02:29 PM, Emil

RE: [PATCH xf86-video-ati] Only handle reflection in the driver with Xorg < 1.16

2017-07-26 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Wednesday, July 26, 2017 5:41 AM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH xf86-video-ati] Only handle reflection in the driver with Xorg > < 1.16 > > From:

RE: [PATCH xf86-video-amdgpu 3/3] autogen.sh: Pass -f to autoreconf

2017-07-26 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Wednesday, July 26, 2017 3:47 AM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH xf86-video-amdgpu 3/3] autogen.sh: Pass -f to autoreconf > > From: Michel Dänzer

Re: [PATCH 01/14] amdgpu: powerplay: Remove unused function

2017-07-26 Thread Ricardo Ribalda Delgado
Hi Harry On Mon, Jul 24, 2017 at 5:45 PM, Harry Wentland wrote: > On 2017-07-24 10:06 AM, Ricardo Ribalda Delgado wrote: >> Hi Harry >> On Mon, Jul 24, 2017 at 4:01 PM, Harry Wentland >> wrote: >> >>> >>> This is used and needed by the DC display

Re: [PATCH 01/14] amdgpu: powerplay: Remove unused function

2017-07-26 Thread Ricardo Ribalda Delgado
Hi Harry On Mon, Jul 24, 2017 at 5:45 PM, Harry Wentland wrote: > On 2017-07-24 10:06 AM, Ricardo Ribalda Delgado wrote: > > Hi Harry > > On Mon, Jul 24, 2017 at 4:01 PM, Harry Wentland > wrote: > > > >> > >> This is used and needed by the DC

Re: [PATCH 15/81] drm/amd/display: Re-enable Vsync Interrupts for Gradual Refresh Ramp

2017-07-26 Thread Harry Wentland
On 2017-07-25 09:34 PM, Michel Dänzer wrote: > On 25/07/17 10:53 PM, sunpeng...@amd.com wrote: >> From: Amy Zhang >> >> - Make sure Vsync interrupts are disabled in static screen case >> and enabled when not to save power > > What exactly does this mean? FWIW, the interrupt

Re: [PATCH umr] wave_status: enable on Raven

2017-07-26 Thread Tom St Denis
RB'ed and pushed. On 26/07/17 06:23 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle I've been using this for a while now. Signed-off-by: Nicolai Hähnle --- src/lib/wave_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH umr] wave_status: enable on Raven

2017-07-26 Thread Nicolai Hähnle
From: Nicolai Hähnle I've been using this for a while now. Signed-off-by: Nicolai Hähnle --- src/lib/wave_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/wave_status.c b/src/lib/wave_status.c index

Re: Changes for enabling ATS support from PTE

2017-07-26 Thread Christian König
Hi Yong, looks pretty good to me, but still quite a few comments. First of all please send the patches directly to the mailing list using "git send-email" and not as attachment. Patch #1: + + switch (word_size) { + case 4: + num_dw = num_loops *

[PATCH xf86-video-ati] Only handle reflection in the driver with Xorg < 1.16

2017-07-26 Thread Michel Dänzer
From: Michel Dänzer Xorg doesn't handle the hardware cursor correctly in that case for rotation and general transforms, and we can't force the SW cursor. Fixes: f2bc882f1c10 ("Handle rotation in the driver also with Xorg 1.12-1.18") Signed-off-by:

RE: [PATCH 5/8] drm/amdgpu: According hardware design revert vce and uvd doorbell assignment

2017-07-26 Thread Min, Frank
Thanks a lot -邮件原件- 发件人: Deucher, Alexander 发送时间: 2017年7月26日 12:48 收件人: Min, Frank ; Alex Deucher ; Yu, Xiangliang 抄送: amd-gfx list 主题: RE: [PATCH 5/8] drm/amdgpu: According hardware design

[PATCH xf86-video-amdgpu 2/3] Makefile.am: Set ACLOCAL_AMFLAGS = -I m4

2017-07-26 Thread Michel Dänzer
From: Michel Dänzer Suggested by one of the tools called by autoreconf. Signed-off-by: Michel Dänzer --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index f0e2c3cea..b8d99f323 100644 ---

[PATCH xf86-video-amdgpu 3/3] autogen.sh: Pass -f to autoreconf

2017-07-26 Thread Michel Dänzer
From: Michel Dänzer To ensure that any existing copies of autotools files will be replaced with the current versions. Signed-off-by: Michel Dänzer --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh

[PATCH xf86-video-amdgpu 1/3] Add AC_CONFIG_MACRO_DIRS([m4]) to configure.ac

2017-07-26 Thread Michel Dänzer
From: Michel Dänzer Suggested by one of the tools called by autoreconf. Signed-off-by: Michel Dänzer --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 26eb52ddc..0ff2bdfaa 100644 ---