RE: [PATCH 07/14] drm/amdgpu/si: fix the dce6 for si macro

2016-08-30 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Tuesday, August 30, 2016 7:50 AM > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > Cc: Wang, Ken; Yu, Hui; Huang, Ray; Huan, Alvin > Subject: [PATCH 07/14]

Re: [PATCH 07/14] drm/amdgpu/si: fix the dce6 for si macro

2016-08-30 Thread Huang Rui
On Tue, Aug 30, 2016 at 10:17:58PM +0800, Deucher, Alexander wrote: > > -Original Message- > > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > > Of Huang Rui > > Sent: Tuesday, August 30, 2016 7:50 AM > > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > >

Re: [PATCH] drm/amdgpu: record error code when ring test failed

2016-08-30 Thread Alex Deucher
On Tue, Aug 30, 2016 at 11:04 AM, Christian König wrote: > Am 30.08.2016 um 16:24 schrieb Deucher, Alexander: >>> >>> -Original Message- >>> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf >>> Of Chunming Zhou >>> Sent: Tuesday, August 30,

Re: [PATCH 00/14] drm/amdgpu/si: Make SI DPM workable

2016-08-30 Thread Huang Rui
On Tue, Aug 30, 2016 at 08:30:57PM +0800, Christian König wrote: > For patch #4: > > drm/amdgpu: remove useless functions of si dpm > Maybe call that "remove unused function forward define". > > And in general patches should at least have a commit message and not > just subject. A simple one

RE: [PATCH 10/14] drm/amdgpu: add rv770_get_memory_type to set the GDDR5 flag

2016-08-30 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Tuesday, August 30, 2016 7:50 AM > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > Cc: Wang, Ken; Yu, Hui; Huang, Ray; Huan, Alvin > Subject: [PATCH 10/14]

RE: [PATCH 00/14] drm/amdgpu/si: Make SI DPM workable

2016-08-30 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Tuesday, August 30, 2016 7:50 AM > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > Cc: Wang, Ken; Yu, Hui; Huang, Ray; Huan, Alvin > Subject: [PATCH 00/14]

RE: [PATCH] drm/amdgpu: record error code when ring test failed

2016-08-30 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Chunming Zhou > Sent: Tuesday, August 30, 2016 5:59 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhou, David(ChunMing) > Subject: [PATCH] drm/amdgpu: record error code when ring test failed >

RE: [PATCH 10/14] drm/amdgpu: add rv770_get_memory_type to set the GDDR5 flag

2016-08-30 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Tuesday, August 30, 2016 12:07 PM > To: Deucher, Alexander > Cc: Huan, Alvin; Wang, Ken; amd-gfx@lists.freedesktop.org; Yu, Hui > Subject: Re: [PATCH 10/14] drm/amdgpu: add

Re: [PATCH 10/14] drm/amdgpu: add rv770_get_memory_type to set the GDDR5 flag

2016-08-30 Thread Huang Rui
On Tue, Aug 30, 2016 at 10:21:21PM +0800, Deucher, Alexander wrote: > > -Original Message- > > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > > Of Huang Rui > > Sent: Tuesday, August 30, 2016 7:50 AM > > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > >

[PATCH v2 07/15] drm/amdgpu: fix oland and hainan asic specific handle at si_program_aspm

2016-08-30 Thread Huang Rui
Acked-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si.c

[PATCH v2 08/15] drm/amdgpu/si: drop ASIC_IS_DCE6 macro on SI

2016-08-30 Thread Huang Rui
Drop ASIC_IS_DCE6 macro, because it will check the asic types explicitly in future. Acked-by: Christian König Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/include/asic_reg/si/sid.h | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v2 05/15] drm/amdgpu: remove unused function forward define

2016-08-30 Thread Huang Rui
The functions don't exists any more. Reviewed-by: Alex Deucher Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c

[PATCH v2 06/15] drm/amdgpu: use DRM print instead of printk

2016-08-30 Thread Huang Rui
Acked-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

[PATCH v2 11/15] drm/amdgpu: use vram_type instead of checking mem_gddr5 flag

2016-08-30 Thread Huang Rui
For current design, it would better use vram_type member to check if current vram is GDDR5. So remove the old mem_gddr5 flag. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 10/15] drm/amdgpu: fix to miss adding thermal controller

2016-08-30 Thread Huang Rui
Thermal controller isn't inited during si dpm sw_init phase. Acked-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 00/15] drm/amdgpu/si: Make SI DPM workable

2016-08-30 Thread Huang Rui
Hi all, These patchest resolve the DPM issues of SI. SI DPM doesn't work since it implemented, the following patches fix several issues to make SI DPM workable now. Patch 1: Update SI firmware path to share it with radeon Patch 2 -> 4: Add firmware version for checking firmware loading via

[PATCH v2 01/15] drm/amdgpu/si: update si firmware path

2016-08-30 Thread Huang Rui
SI firmware is shared with radeon for now, so update path with this patch. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c

[PATCH v2 02/15] drm/amdgpu: add gfx v6 firmware versions for sysfs dump

2016-08-30 Thread Huang Rui
Acked-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH v2 03/15] drm/amdgpu: add gmc v6 firmware versions for sysfs dump

2016-08-30 Thread Huang Rui
Acked-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c

Re: [PATCH] drm/amdgpu: record error code when ring test failed

2016-08-30 Thread zhoucm1
On 2016年08月30日 22:24, Deucher, Alexander wrote: -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Chunming Zhou Sent: Tuesday, August 30, 2016 5:59 AM To: amd-gfx@lists.freedesktop.org Cc: Zhou, David(ChunMing) Subject: [PATCH] drm/amdgpu:

Re: [PATCH 2/2] drm/amdgpu: add gart recovery by gtt list

2016-08-30 Thread Christian König
Am 30.08.2016 um 10:54 schrieb Chunming Zhou: Change-Id: I8daf687d43b51d69f9be36cae8b265deb88e5754 Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 15 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++

[PATCH 10/14] drm/amdgpu: add rv770_get_memory_type to set the GDDR5 flag

2016-08-30 Thread Huang Rui
Add rv770_get_memory_type to set mem_gddr5 flag, because it will be used on the whole si dpm part. Change-Id: I60f7ef38775c3b27e475f38f939905483fbb56f5 Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 16 1 file changed, 16 insertions(+)

[PATCH 08/14] drm/amdgpu: fix the tahiti specific value of DEEP_SLEEP_CLK_SEL field

2016-08-30 Thread Huang Rui
Change-Id: Ib5b6146fa712192dec120702831252d9221335bb Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index

[PATCH 13/14] drm/amdgpu: fix incorrect reading method at si_get_current_pcie_speed

2016-08-30 Thread Huang Rui
Change-Id: I7379d073c0e8123444deed9a91564de17b3fb722 Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index

[PATCH 11/14] drm/amdgpu: fix incorrect index of CG_FFCT_0 register

2016-08-30 Thread Huang Rui
Change-Id: I8b1c7618b3043595c1f6d369dca693d4eaac412e Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index

Re: [PATCH] drm/amdgpu: record error code when ring test failed

2016-08-30 Thread Christian König
Am 30.08.2016 um 11:59 schrieb Chunming Zhou: Change-Id: I3a59f602a4d5ec42c8c184daa14eb8194b0dab9e Signed-off-by: Chunming Zhou Reviewed-by: Christian König . --- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 5 +++-- 1 file changed, 3

[PATCH 01/14] drm/amdgpu: add gfx v6 firmware versions for sysfs dump

2016-08-30 Thread Huang Rui
Change-Id: I4af15bca9b20190803411afcd8711c10ec25ac56 Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index

[PATCH 09/14] drm/amdgpu: fix to miss adding thermal controller

2016-08-30 Thread Huang Rui
Thermal controller isn't inited during si dpm sw_init phase. Change-Id: Ie9ddcd7026067e19bb0e300cf85c79948e7275a9 Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c

[PATCH 12/14] drm/amdgpu: introduce pcie port read/write entry

2016-08-30 Thread Huang Rui
This patch adds pcie port read/write entry, because it will be also used on si dpm part. Change-Id: Id8a3cf57233ac807c2e5a37fe1d310e2874b0814 Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +

[PATCH] drm/amd/powerplay: fix issue vce dpm can't be enabled on tonga.

2016-08-30 Thread Rex Zhu
Signed-off-by: Rex Zhu Change-Id: If7fa45cf3e81c31a8828f208ee9ba02bb9f18a1c --- .../amd/powerplay/hwmgr/tonga_clockpowergating.c | 60 +- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 34 ++--

Re: [PATCH 1/5] drm/amdgpu: add AMDGPU_GEM_CREATE_VRAM_LINEAR flag v2

2016-08-30 Thread Christian König
Am 30.08.2016 um 03:49 schrieb Flora Cui: On Tue, Aug 30, 2016 at 09:57:56AM +0900, Michel Dänzer wrote: On 29/08/16 10:47 PM, Deucher, Alexander wrote: From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Christian König Sent: Monday, August 29, 2016 5:20 AM I still

[PATCH 1/2] drm/amdgpu: link all gtt when binding them

2016-08-30 Thread Chunming Zhou
Change-Id: I5dc3f9003e706d3a142aadb559bd85f6e0f2a03f Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c| 9 + 3 files changed, 16

Re: [PATCH 1/3] drm/amd/amdgpu: VCE ring test fail during S4 on CI

2016-08-30 Thread Christian König
Am 30.08.2016 um 03:21 schrieb jimqu: Set up the VCE clock no matter dpm is enabled or not. NAK, if DPM or powerplay is enabled you are totally confusing it by messing with the clocks manually. Christian. Change-Id: I68e315f8b62c6e3a8636bc5e14036ecc11d980b4 Signed-off-by: JimQu

gart table recovery V2

2016-08-30 Thread Chunming Zhou
save gtt info by list, re-bind gtt after gpu reset. V2: spinlock instead of mutex. rename function name. recover gart table ahead of ring test. ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[PATCH] drm/amdgpu: record error code when ring test failed

2016-08-30 Thread Chunming Zhou
Change-Id: I3a59f602a4d5ec42c8c184daa14eb8194b0dab9e Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c

Re: [PATCH 1/2] drm/amdgpu: link all gtt when binding them

2016-08-30 Thread Christian König
Am 30.08.2016 um 10:54 schrieb Chunming Zhou: Change-Id: I5dc3f9003e706d3a142aadb559bd85f6e0f2a03f Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++

[PATCH 1/2] drm/amdgpu: link all gtt when binding them V2

2016-08-30 Thread Chunming Zhou
V2: spin lock instead of mutex for gtt list Change-Id: I5dc3f9003e706d3a142aadb559bd85f6e0f2a03f Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c