Re: [PATCH 2/2] drm/amdgpu: support key database loading for navi10

2019-07-11 Thread Yuan, Xiaojie
Reviewed-by: Xiaojie Yuan BR, Xiaojie From: amd-gfx on behalf of Hawking Zhang Sent: Wednesday, July 10, 2019 11:58 PM To: amd-gfx@lists.freedesktop.org; Yuan, Xiaojie; Clements, John; Deucher, Alexander Cc: Zhang, Hawking Subject: [PATCH 2/2] drm/amd

Re: [PATCH 1/2] drm/amdgpu: switch to macro for psp bootloader command

2019-07-11 Thread Yuan, Xiaojie
Reviewed-by: Xiaojie Yuan BR, Xiaojie From: amd-gfx on behalf of Hawking Zhang Sent: Wednesday, July 10, 2019 11:58 PM To: amd-gfx@lists.freedesktop.org; Yuan, Xiaojie; Clements, John; Deucher, Alexander Cc: Zhang, Hawking Subject: [PATCH 1/2] drm/amd

[PATCH] drm/amd/powerplay: bug fix for sysfs

2019-07-11 Thread Kenneth Feng
when we set profile_peak to sysfs:power_dpm_force_performance_level, we gets the wrong socclk level and mclk level.this patch fix this issue. Signed-off-by: Kenneth Feng --- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

RE: [PATCH] drm/amd/powerplay: bug fix for sysfs

2019-07-11 Thread Xu, Feifei
Reviewed-by: Feifei Xu -Original Message- From: amd-gfx On Behalf Of Kenneth Feng Sent: Thursday, July 11, 2019 3:45 PM To: amd-gfx@lists.freedesktop.org Cc: Feng, Kenneth Subject: [PATCH] drm/amd/powerplay: bug fix for sysfs when we set profile_peak to sysfs:power_dpm_force_performanc

[PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array

2019-07-11 Thread Tianci Yin
From: tiancyin ID of DCE_HWIP from vbios is DMU_HWID, mismatch cause null pointer crash in navi10 modprobe. Change-Id: I3be363cf5248de904b3bdae2f34d3bbe0bbbc07d Signed-off-by: tiancyin --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

RE: [PATCH] drm/amd/powerplay: bug fix for sysfs

2019-07-11 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of > Kenneth Feng > Sent: Thursday, July 11, 2019 3:45 PM > To: amd-gfx@lists.freedesktop.org > Cc: Feng, Kenneth > Subject: [PATCH] drm/amd/powerplay: bug fix for sysfs > > when we set profile_peak to sysfs:power_dp

Re: [PATCH] drm/amd/powerplay: bug fix for sysfs

2019-07-11 Thread Wang, Kevin(Yang)
Reviewed-by: Kevin Wang Best Regards, Kevin From: amd-gfx on behalf of Quan, Evan Sent: Thursday, July 11, 2019 4:14:11 PM To: Feng, Kenneth; amd-gfx@lists.freedesktop.org Cc: Feng, Kenneth Subject: RE: [PATCH] drm/amd/powerplay: bug fix for sysfs Reviewed-b

RE: [PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array

2019-07-11 Thread Xu, Feifei
Reviewed-by: Feifei Xu Regards, Feifei -Original Message- From: amd-gfx On Behalf Of Tianci Yin Sent: 2019年7月11日 16:01 To: amd-gfx@lists.freedesktop.org Cc: Xiao, Jack ; Yuan, Xiaojie ; Yin, Tianci (Rico) ; Zhang, Hawking Subject: [PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping err

Re: [PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array

2019-07-11 Thread Yuan, Xiaojie
Reviewed-by: Xiaojie Yuan BR, Xiaojie From: amd-gfx on behalf of Tianci Yin Sent: Thursday, July 11, 2019 4:00 PM To: amd-gfx@lists.freedesktop.org Cc: Xiao, Jack; Yuan, Xiaojie; Yin, Tianci (Rico); Zhang, Hawking Subject: [PATCH] drm/amdgpu/discovery:

Re: [PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array

2019-07-11 Thread Yin, Tianci (Rico)
Thanks Feifei and Xiaojie! From: Xu, Feifei Sent: Thursday, July 11, 2019 16:28 To: Yin, Tianci (Rico); amd-gfx@lists.freedesktop.org Cc: Xiao, Jack; Yuan, Xiaojie; Yin, Tianci (Rico); Zhang, Hawking Subject: RE: [PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping er

Re: [PATCH 1/3] drm/amdgpu: Add flag for allocating memory for sensitive data

2019-07-11 Thread Michel Dänzer
On 2019-07-10 8:58 p.m., Kuehling, Felix wrote: > On 2019-07-10 3:22 a.m., Michel Dänzer wrote: >> On 2019-07-09 9:00 p.m., Kuehling, Felix wrote: >>> On 2019-07-09 6:34 a.m., Michel Dänzer wrote: On 2019-07-09 7:32 a.m., Kuehling, Felix wrote: > This memory allocation flag will be used to

RE: [PATCH 1/2] drm/amdgpu: switch to macro for psp bootloader command

2019-07-11 Thread Zhang, Hawking
I get the confirmation from PSP team that below command are deprecated. I will drop them when push the patch + PSP_BL__NO_ECC = 0x4, + PSP_BL__PARTIAL_ECC = 0x5, + PSP_BL__FULL_ECC= 0x6, Regards, Hawking -Original Mes

[PATCH v4 00/23] Associate ddc adapters with connectors

2019-07-11 Thread Andrzej Pietrasiewicz
It is difficult for a user to know which of the i2c adapters is for which drm connector. This series addresses this problem. The idea is to have a symbolic link in connector's sysfs directory, e.g.: ls -l /sys/class/drm/card0-HDMI-A-1/ddc lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/class/drm/card0

[PATCH v4 02/23] drm/exynos: Provide ddc symlink in connector's sysfs

2019-07-11 Thread Andrzej Pietrasiewicz
Switch to using the ddc provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/exynos/exynos_hdmi.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c in

[PATCH v4 03/23] drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_h

[PATCH v4 04/23] drm: rockchip: Provide ddc symlink in inno_hdmi sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/rockchip/inno_hdmi.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c b/drivers/gpu/drm/rockchip/inno_hdmi.c

[PATCH v4 01/23] drm: Include ddc adapter pointer in struct drm_connector

2019-07-11 Thread Andrzej Pietrasiewicz
Add generic code which creates symbolic links in sysfs, pointing to ddc interface used by a particular video output. For example: ls -l /sys/class/drm/card0-HDMI-A-1/ddc lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/class/drm/card0-HDMI-A-1/ddc \ -> ../../../../soc/1388.i2c/i2c-2 This ma

[PATCH v4 08/23] drm/tegra: Provide ddc symlink in output connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/tegra/drm.h| 1 - drivers/gpu/drm/tegra/output.c | 12 ++-- drivers/gpu/drm/tegra/sor.c| 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/dri

[PATCH v4 07/23] drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 5d6a9f

[PATCH v4 05/23] drm/msm/hdmi: Provide ddc symlink in hdmi connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c index 07b4cb877d82.

[PATCH v4 06/23] drm/sun4i: hdmi: Provide ddc symlink in sun4i hdmi connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sun4i/sun4i_hdmi.h | 1 - drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 14 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_hd

[PATCH v4 09/23] drm/imx: imx-ldb: Provide ddc symlink in connector's sysfs

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-ldb.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c index 383733302280..44fdb2

[PATCH v4 10/23] drm/imx: imx-tve: Provide ddc symlink in connector's sysfs

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-tve.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c index e725af8a0025..b8bee4e1f169

[PATCH v4 12/23] drm: zte: Provide ddc symlink in hdmi connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_hdmi.c | 25 + 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_hdmi.c b/drivers/gpu/drm/zte/zx_hdmi.c index bfe918b

[PATCH v4 13/23] drm: zte: Provide ddc symlink in vga connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_vga.c | 25 + 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm/zte/zx_vga.c index 1634a08707

[PATCH v4 11/23] drm/vc4: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/vc4/vc4_hdmi.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index ee7d4e7b

[PATCH v4 15/23] drm: sti: Provide ddc symlink in hdmi connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sti/sti_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index f03d617edc4c..90f8db63c095 100644 --- a/drivers

[PATCH v4 16/23] drm/mgag200: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/mgag200/mgag200_mode.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.c ind

[PATCH v4 17/23] drm/ast: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/ast/ast_mode.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index ffccbef962a4..1ca9bc4a

[PATCH v4 14/23] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c index 62d014c20988..c373edb9

[PATCH v4 18/23] drm/bridge: dumb-vga-dac: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/dumb-vga-

[PATCH v4 20/23] drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/ti-tfp410.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c ind

[PATCH v4 21/23] drm/amdgpu: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- .../gpu/drm/amd/amdgpu/amdgpu_connectors.c| 56 --- 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c b/drivers/gpu/dr

[PATCH v4 22/23] drm/radeon: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/radeon/radeon_connectors.c | 80 ++ 1 file changed, 52 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/ra

[PATCH v4 19/23] drm/bridge: dw-hdmi: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 40 +++ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bri

[PATCH v4 23/23] drm/i915: Provide ddc symlink in hdmi connector sysfs directory

2019-07-11 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/i915/display/intel_hdmi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.

[PATCH] drm/amd/powerplay: fix smu clock type change miss error

2019-07-11 Thread Wang, Kevin(Yang)
in the smu module, use the smu_xxxclk type to identify the CLK type use SMU_SCLK, SMU_MCLK to replace PP_SCLK, PP_MCLK. Change-Id: Ifa870aea38f043e1983f6f0560eed2ac070b68b7 Signed-off-by: Kevin Wang --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 delet

Re: [PATCH] drm/amdkfd: fix cp hang in eviction

2019-07-11 Thread Huang, JinHuiEric
ping. On 2019-07-10 11:20 a.m., Huang, JinHuiEric wrote: > The cp hang occurs in OCL conformance test only on supermicro > platform which has 40 cores and the test generates 40 threads. > The root cause is race condition in non-protected flags. > > The fix is to add flags of is_evicted and is_acti

Re: [PATCH] drm/amd/powerplay: fix smu clock type change miss error

2019-07-11 Thread Xu, Feifei
Reviewed-by: Feifei Xu > On Jul 11, 2019, at 21:40, Wang, Kevin(Yang) wrote: > > in the smu module, use the smu_xxxclk type to identify the CLK type > use SMU_SCLK, SMU_MCLK to replace PP_SCLK, PP_MCLK. > > Change-Id: Ifa870aea38f043e1983f6f0560eed2ac070b68b7 > Signed-off-by: Kevin Wang > ---

Re: [PATCH] drm/amdkfd: fix cp hang in eviction

2019-07-11 Thread Kuehling, Felix
On 2019-07-10 11:20 a.m., Huang, JinHuiEric wrote: > The cp hang occurs in OCL conformance test only on supermicro > platform which has 40 cores and the test generates 40 threads. > The root cause is race condition in non-protected flags. > > The fix is to add flags of is_evicted and is_active(init

Re: [PATCH v4 16/23] drm/mgag200: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Thomas Zimmermann
Acked-by: Thomas Zimmermann Am 11.07.19 um 13:26 schrieb Andrzej Pietrasiewicz: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz > --- > drivers/gpu/drm/mgag200/mgag200_mode.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > >

Re: [PATCH v4 17/23] drm/ast: Provide ddc symlink in connector sysfs directory

2019-07-11 Thread Thomas Zimmermann
Acked-by: Thomas Zimmermann Am 11.07.19 um 13:26 schrieb Andrzej Pietrasiewicz: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz > --- > drivers/gpu/drm/ast/ast_mode.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --

Re: [PATCH v4 23/23] drm/i915: Provide ddc symlink in hdmi connector sysfs directory

2019-07-11 Thread Ville Syrjälä
On Thu, Jul 11, 2019 at 01:26:50PM +0200, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. We already have a symlink via intel_hdmi_create_i2c_symlink(). I guess we should remove that in favor of the generic one. Oleg? > > Signed-off-by: Andrzej Pietrasiewicz

Re: [PATCH v4 01/23] drm: Include ddc adapter pointer in struct drm_connector

2019-07-11 Thread Ville Syrjälä
On Thu, Jul 11, 2019 at 01:26:28PM +0200, Andrzej Pietrasiewicz wrote: > Add generic code which creates symbolic links in sysfs, pointing to ddc > interface used by a particular video output. For example: > > ls -l /sys/class/drm/card0-HDMI-A-1/ddc > lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/clas

RE: [PATCH] drm/amd/powerplay: fix smu clock type change miss error

2019-07-11 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of > Wang, Kevin(Yang) > Sent: Thursday, July 11, 2019 9:41 PM > To: amd-gfx@lists.freedesktop.org > Cc: Wang, Kevin(Yang) ; Feng, Kenneth > > Subject: [PATCH] drm/amd/powerplay: fix smu clock type change miss error >

[PATCH] drm/amd/powerplay: fix memory allocation failure check

2019-07-11 Thread Evan Quan
Fix memory allocation failure check. Change-Id: I012b082a7a2b92973a76db8029897fb4a3441694 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c b/drivers/gpu/drm/amd/

Re: [PATCH] drm/amd/powerplay: fix memory allocation failure check

2019-07-11 Thread Wang, Kevin(Yang)
Reviewed-by: Kevin Wang Best Regards, Kevin From: amd-gfx on behalf of Evan Quan Sent: Friday, July 12, 2019 10:34:46 AM To: amd-gfx@lists.freedesktop.org Cc: Quan, Evan Subject: [PATCH] drm/amd/powerplay: fix memory allocation failure check Fix memory allo

[PATCH] drm/amd/powerplay: avoid access before allocation

2019-07-11 Thread Evan Quan
No access before allocation. Change-Id: Ia1d78786f2400cd1cd227d1ab6ea4c6a71619e4c Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c b/drivers/gpu/drm/

[PATCH] drm/amd/powerplay: add pstate mclk(uclk) support for navi10

2019-07-11 Thread Wang, Kevin(Yang)
add pstate mclk(uclk) support. Change-Id: I7f3bca4901833b4ea213fe02249fc055b80e5cdd Signed-off-by: Kevin Wang --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1 + drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 8 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/d

RE: [PATCH] drm/amd/powerplay: add pstate mclk(uclk) support for navi10

2019-07-11 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: Wang, Kevin(Yang) > Sent: Friday, July 12, 2019 11:34 AM > To: amd-gfx@lists.freedesktop.org > Cc: Feng, Kenneth ; Quan, Evan > ; Wang, Kevin(Yang) > Subject: [PATCH] drm/amd/powerplay: add pstate mclk(uclk) support for > navi10 > > a

[PATCH] drm/amd/powerplay: bump vega20 smu driver if version

2019-07-11 Thread Evan Quan
To match latest SMU firmware. Change-Id: Icc8a687357ba46ae1d199d89cb2000c61b4de703 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h b/dri

[PATCH] drm/amd/powerplay: fix memory allocation failure check V2

2019-07-11 Thread Evan Quan
Fix memory allocation failure check. - V2: fix one more similar error Change-Id: I012b082a7a2b92973a76db8029897fb4a3441694 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerpla

[PATCH] drm/amd/powerplay: fix deadlock around smu_handle_task

2019-07-11 Thread Evan Quan
As the lock was already held on the entrance to smu_handle_task. Change-Id: I5388aa917ef0e330974e26c59db42d1354b6a865 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/g

[PATCH] drm/amd/powerplay: fix deadlock around smu_handle_task V2

2019-07-11 Thread Evan Quan
As the lock was already held on the entrance to smu_handle_task. - V2: lock in small granularity Change-Id: I5388aa917ef0e330974e26c59db42d1354b6a865 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdg