RE: [PATCH 1/7] drm/amdgpu/powerplay: pp module only enable smu when dpm disabled.

2016-11-02 Thread Zhu, Rex
Hi Gražvydas, Only in case dpm was disabled, we didn't initialize hwmgr and hwmgr->hwmgr_func. In this case, we just use smu to load firmware. All the power feature will be disabled. And the sysfs and debugfs files will not be initialized. Best Regards Rex -Original Message- From: Grazv

RE: [PATCH 0/7] mise patches for powerplay module

2016-11-02 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Wednesday, November 02, 2016 6:28 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH 0/7] mise patches for powerplay module > > > Rex Zhu (7): > drm/am

RE: [PATCH V2] drm/amdgpu:bypass avfs event manager for sriov

2016-11-02 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Trigger Huang > Sent: Wednesday, November 02, 2016 8:10 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yu, Xiangliang; Min, Frank; Huang, Trigger > Subject: [PATCH V2] drm/amdgpu:bypass avfs eve

RE: [PATCH v2] drm/amdgpu:no gpu scheduler for KIQ

2016-11-02 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Trigger Huang > Sent: Wednesday, November 02, 2016 7:48 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yu, Xiangliang; Liu, Monk; Huang, Trigger > Subject: [PATCH v2] drm/amdgpu:no gpu scheduler

RE: [V2] drm/amdgpu:no gpu scheduler for KIQ

2016-11-02 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Trigger Huang > Sent: Wednesday, November 02, 2016 7:26 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yu, Xiangliang; Liu, Monk; Huang, Trigger > Subject: [V2] drm/amdgpu:no gpu scheduler for K

RE: [1/4] amdgpu: add the function to get the marketing name (v2)

2016-11-02 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Tuesday, November 01, 2016 11:51 PM > To: Alex Deucher > Cc: Zhang, Jerry; amd-gfx@lists.freedesktop.org > Subject: Re: [1/4] amdgpu: add the function to get the marketin

RE: [PATCH xf86-video-amdgpu] Check Xorg version at runtime instead of build time in two places

2016-11-02 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Tuesday, November 01, 2016 11:44 PM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH xf86-video-amdgpu] Check Xorg version at runtime instead > of build time in two

Re: [PATCH 1/7] drm/amdgpu/powerplay: pp module only enable smu when dpm disabled.

2016-11-02 Thread Grazvydas Ignotas
On Wed, Nov 2, 2016 at 12:27 PM, Rex Zhu wrote: > Change-Id: I3288a5a4bbca122d59b81e7635be5e5aeda8abeb > Signed-off-by: Rex Zhu > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 6 +-- > drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 51 > +-- > drivers/gpu/d

Re: [PATCH v2] drm/amdgpu:no gpu scheduler for KIQ

2016-11-02 Thread Christian König
Am 02.11.2016 um 12:48 schrieb Trigger Huang: KIQ is used for interaction between driver and CP, and not exposed to outside client, as such it doesn't need to be handled by GPU scheduler. Signed-off-by: Monk Liu Signed-off-by: Xiangliang Yu Signed-off-by: Trigger Huang Even if you only fix

[PATCH V2] drm/amdgpu:bypass avfs event manager for sriov

2016-11-02 Thread Trigger Huang
This patch is used for virtualization support. In virtualization case, the initialization sequences are not totally the same as non-Virtualization's. The avfs event manager should be bypassed if in SRIOV virtualization case. At the same, this patch will also bypass starting SMC within SRIOV in FIJI

[PATCH v2] drm/amdgpu:no gpu scheduler for KIQ

2016-11-02 Thread Trigger Huang
KIQ is used for interaction between driver and CP, and not exposed to outside client, as such it doesn't need to be handled by GPU scheduler. Signed-off-by: Monk Liu Signed-off-by: Xiangliang Yu Signed-off-by: Trigger Huang Changes in v2: - According to Alex's suggestion, wrapping the schedul

RE: [V2] drm/amdgpu:no gpu scheduler for KIQ

2016-11-02 Thread Huang, Trigger
Sorry please just ignore this patch, since I made a small mistake, I will sent again soon. Thanks & Best Wishes, Trigger Huang -Original Message- From: Trigger Huang [mailto:trigger.hu...@amd.com] Sent: Wednesday, November 02, 2016 7:26 PM To: amd-gfx@lists.freedesktop.org Cc: Huang, Tr

[V2] drm/amdgpu:no gpu scheduler for KIQ

2016-11-02 Thread Trigger Huang
KIQ is used for interaction between driver and CP, and not exposed to outside client, as such it doesn't need to be handled by GPU scheduler. Signed-off-by: Monk Liu Signed-off-by: Xiangliang Yu Signed-off-by: Trigger Huang Changes in v2: - According to Alex's suggestion, wrapping the schedul

[PATCH 0/7] mise patches for powerplay module

2016-11-02 Thread Rex Zhu
Rex Zhu (7): drm/amdgpu/powerplay: pp module only enable smu when dpm disabled. drm/amd/powerplay: use mask bit for deepsleep/power tune feature. drm/amdgpu: use mask bit for deep sleep feature on dpm. drm/amdgpu: delete duplicate module parameter. drm/amd/powerplay: fix code style drm

[PATCH 5/7] drm/amd/powerplay: fix code style

2016-11-02 Thread Rex Zhu
Change-Id: Idf3029dd61469c544c8431ba2220f61a21f98549 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c b/drivers/gpu/drm/amd/powerplay/hwmgr

[PATCH 7/7] drm/amd/powerplay: delete duplicate code in smu7_hwmgr.c

2016-11-02 Thread Rex Zhu
Voltage Controller have been enabled (SMC message) before ULV enablement. Change-Id: I4833c8d53611c8b93712254d5a152ae8e98a7d78 --- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers

[PATCH 6/7] drm/amd/powerplay: enable voltage control by default for dgpu.

2016-11-02 Thread Rex Zhu
Change-Id: I085da4cef174adb7b170dac03a684867b3d80044 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c index

[PATCH 4/7] drm/amdgpu: delete duplicate module parameter.

2016-11-02 Thread Rex Zhu
Change-Id: I8b05ce1ad9cd2898a18eba3fa5f5ae3ba3627a2f Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/dri

[PATCH 2/7] drm/amd/powerplay: use mask bit for deepsleep/power tune feature.

2016-11-02 Thread Rex Zhu
Change-Id: I42a6b99634ac67eeef16361be949eb535d0a9b26 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 4 ++-- drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/d

[PATCH 3/7] drm/amdgpu: use mask bit for deep sleep feature on dpm.

2016-11-02 Thread Rex Zhu
Change-Id: Ie7a8392755089b0f1d78d94bf7ba59b682619b06 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 2 ++ drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/kv_dpm.c | 2 +- 4 files changed, 5 insert

[PATCH 1/7] drm/amdgpu/powerplay: pp module only enable smu when dpm disabled.

2016-11-02 Thread Rex Zhu
Change-Id: I3288a5a4bbca122d59b81e7635be5e5aeda8abeb Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 6 +-- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 51 +-- drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h | 2 + 3 files changed, 44