[PATCH v2 6/7] drm/amdgpu: add VCN sensor value for SMU 13.0.5

2024-03-08 Thread Xiaojian Du
This will add VCN sensor value for SMU 13.0.5. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH v2 7/7] drm/amdgpu: add VCN sensor value for SMU 14.0.0

2024-03-08 Thread Xiaojian Du
This will add VCN sensor value for SMU 14.0.0. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu14

[PATCH v2 5/7] drm/amdgpu: add VCN sensor value for yellow carp

2024-03-08 Thread Xiaojian Du
This will add VCN sensor value for yellow carp. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH v2 2/7] drm/amdgpu: add VCN sensor value for SMU 13.0.4

2024-03-08 Thread Xiaojian Du
This will add VCN sensor value for SMU 13.0.4. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH v2 4/7] drm/amdgpu: add VCN sensor value for Vangogh

2024-03-08 Thread Xiaojian Du
This will drm/amdgpu: add VCN sensor value for Vangogh. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH v2 1/7] drm/amdgpu: add the sensor value of VCN activity

2024-03-08 Thread Xiaojian Du
This will add the sensor value of VCN activity for some ASICs. Signed-off-by: Xiaojian Du --- .../gpu/drm/amd/include/kgd_pp_interface.h| 1 + drivers/gpu/drm/amd/pm/amdgpu_pm.c| 37 +++ 2 files changed, 38 insertions(+) diff --git a/drivers/gpu/drm/amd/include

[PATCH v2 3/7] drm/admgpu: add vclk and dclk sysfs node for some ASICs

2024-03-08 Thread Xiaojian Du
This will add vclk and dclk sysfs node for some ASICs. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 99cb2c6e8a4b..09069758567d

[PATCH 2/2] drm/amdgpu: add VCN sensor value for SMU 13.0.4

2024-03-07 Thread Xiaojian Du
This will add VCN sensor value for SMU 13.0.4. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH 1/2] drm/amdgpu: add the sensor value of VCN activity

2024-03-07 Thread Xiaojian Du
This will add the sensor value of VCN activity. Signed-off-by: Xiaojian Du --- .../gpu/drm/amd/include/kgd_pp_interface.h| 1 + drivers/gpu/drm/amd/pm/amdgpu_pm.c| 28 +++ 2 files changed, 29 insertions(+) diff --git a/drivers/gpu/drm/amd/include

[PATCH 5/5] drm/amdgpu: enable support for psp 13.0.4 block

2022-07-28 Thread Xiaojian Du
This patch will enable support for psp 13.0.4 blcok. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/Makefile | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 13 + drivers/gpu/drm/amd/amdgpu

[PATCH 4/5] drm/amdgpu: add files for PSP 13.0.4

2022-07-28 Thread Xiaojian Du
This patch will add files for PSP 13.0.4. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c | 387 +++ drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.h | 30 ++ 2 files changed, 417 insertions(+) create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c

[PATCH 1/5] drm/amdgpu: send msg to IMU for the front-door loading

2022-07-28 Thread Xiaojian Du
This patch will make SMU send msg to IMU for the front-door loading, it is required by some ASICs. Signed-off-by: Yifan Zhang Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu

[PATCH 3/5] drm/amdgpu: add header files for MP 13.0.4

2022-07-28 Thread Xiaojian Du
This patch will add header files for MP 13.0.4. Signed-off-by: Xiaojian Du --- .../include/asic_reg/mp/mp_13_0_4_offset.h| 402 .../include/asic_reg/mp/mp_13_0_4_sh_mask.h | 595 ++ 2 files changed, 997 insertions(+) create mode 100644 drivers/gpu/drm/amd

[PATCH 2/5] drm/amdgpu: correct RLC_RLCS_BOOTLOAD_STATUS offset and index

2022-07-28 Thread Xiaojian Du
This patch corrects RLC_RLCS_BOOTLOAD_STATUS offset and index for GC 11.0.1. Signed-off-by: Yifan Zhang --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c

[PATCH] drm/admgpu: fix the page fault caused by uninitialized variables

2022-01-20 Thread Xiaojian Du
This patch will fix the page fault caused by uninitialized variables. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu

[PATCH] drm/amdgpu: modify a pair of functions for the pcie port wreg/rreg

2022-01-18 Thread Xiaojian Du
to "amdgpu_device.c", so that to make the functions can be used on the future GPU ASICs. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 33 + drivers/gpu/drm/amd/amdgpu/nv.c

[Patch v3] drm/amdgpu: add vram check function for GMC

2022-01-14 Thread Xiaojian Du
This will add vram check function for GMC block. It will write pattern data to the vram and then read back from the vram, so that to verify the work status of vram. This patch will cover gmc v6/7/8/9/10. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 46

[Patch v2] drm/amdgpu: add vram check function for GMC

2022-01-13 Thread Xiaojian Du
This will add vram check function for GMC, it will cover gmc v6/7/8/9/10 Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 46 + drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 1 + drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 4 +++ drivers/gpu/drm/amd

[PATCH 2/2] drm/amdgpu: add vram check function for GMC

2022-01-12 Thread Xiaojian Du
This will add vram check function for GMC, it will cover gmc v8/9/10 Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 42 + drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 1 + drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 4

[PATCH 1/2] drm/admgpu: add data struct for vram check

2022-01-12 Thread Xiaojian Du
This patch is to add data struct for vram check. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 64cd80d050eb

[PATCH] drm/amdgpu: update the golden setting for vangogh

2021-07-14 Thread Xiaojian Du
This patch is to update the golden setting for vangogh. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 705fa3027199..9144836798c5

[PATCH] drm/amd/pm: retain the fine grain tuning parameters after resume

2021-05-26 Thread Xiaojian Du
This patch is to retain the fine grain tuning parameters after resume for legacy APU, it will cover Raven/Raven2/Picasso. Signed-off-by: Xiaojian Du --- .../amd/pm/powerplay/hwmgr/hardwaremanager.c | 3 ++- .../drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c | 21 +++ 2 files

[PATCH] drm/amd/pm: revise two names of sensor values for vangogh

2021-04-14 Thread Xiaojian Du
the current gfxclk and mclk from the current smu metrics table data. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm

[PATCH] drm/amd/pm: remove the "set" function of pp_dpm_mclk for vangogh

2021-04-14 Thread Xiaojian Du
t;set" function for mclk. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c index 61ff9a663b21.

[PATCH] drm/amd/pm: add the callback to get vbios bootup values for vangogh

2021-04-07 Thread Xiaojian Du
This patch is to add the callback to get vbios bootup values for vangogh, it will get the bootup values of gfxclk, mclk, socclk and so on. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 1 + drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 1 + 2 files

[PATCH] drm/amdgpu: enable mode-2 gpu reset for vangogh

2021-03-18 Thread Xiaojian Du
From: Xiaojian Du From: Xiaojian Du This patch is to enable mdoe-2 gpu reset for vangogh. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/amdgpu/nv.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index

[PATCH] drm/amd/pm: correct the name of one function for vangogh

2021-03-02 Thread Xiaojian Du
This patch is to correct the name of one function for vangogh. This function is used to print the clock levels of all kinds of IP components. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] drm/amd/pm: remove some useless code for vangogh

2021-02-01 Thread Xiaojian Du
This patch is to remove some useless code for vangogh. In the earlier code, vangogh can't finish all the sequence of smu late init. But now vangogh has one stable work state,so remove the useless code. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 --- 1 file

[PATCH] drm/amd/pm: fill in the data member of v2 gpu metrics table for vangogh

2021-02-01 Thread Xiaojian Du
This patch is to fill in the data member of v2 gpu metrics table for vangogh. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH] drm/amd/pm: make the error log more clear for fine grain tuning function

2021-01-19 Thread Xiaojian Du
From: Xiaojian Du From: Xiaojian Du This patch is to make the error log more clear for fine grian tuning function, it covers Raven/Raven2/Picasso/Renoir/Vangogh. The fine grain tuning function uses the sysfs file -- pp_od_clk_voltage, but only when another sysfs file

[PATCH 2/2] drm/amd/pm: modify the fine grain tuning function for vangogh

2021-01-13 Thread Xiaojian Du
function will be shut down, and the frequency range of gfx and cpu clock will be restored the default values. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h | 3 -- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 - .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 52 ++

[PATCH 1/2] drm/amd/pm: modify the fine grain tuning function for Renoir

2021-01-13 Thread Xiaojian Du
gh", "low", "profile_peak", "profile_standard", "profile_min_sclk", "profile_min_mclk", the fine grain tuning function will be shut down and the frequency range of gfx will be restored the default value. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/

[PATCH] drm/amd/pm: add the workload map for vangogh

2021-01-12 Thread Xiaojian Du
From: Xiaojian Du From: Xiaojian Du This patch is to add the workload map for vangogh. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd

[PATCH 2/2] drm/amd/pm: fix one superfluous error for renoir

2021-01-12 Thread Xiaojian Du
From: Xiaojian Du From: Xiaojian Du This patch is to fix one superfluous error for renoir. Renoir supports 5 kinds of power profile mode: "FULL SCREEN 3D", "VIDEO", "VR", "COMPUTE" and "CUSTOM". After loading amdgpu driver, the driver will set

[PATCH 1/2] drm/amd/pm: support the function to change power profile mode for vangogh

2021-01-12 Thread Xiaojian Du
From: Xiaojian Du From: Xiaojian Du This patch is to support the function to change power profile mode for vangogh. Vangogh supports 5 kinds of power profile mode: "FULL SCREEN 3D", "VIDEO", "VR", "COMPUTE" and "CUSTOM". Signed-off-by: Xi

[PATCH] drm/amd/pm: correct the sensor value of power for vangogh

2020-12-14 Thread Xiaojian Du
This patch is to correct the sensor value of power for vangogh. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH 2/2] drm/amd/pm: enable the fine grain tuning function for vangogh

2020-11-15 Thread Xiaojian Du
This patch is to enale the fine grain tuning function for vangogh. Signed-off-by: Xiaojian Du --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index

[PATCH 1/2] drm/amd/pm: add the fine grain tuning function for vangogh

2020-11-15 Thread Xiaojian Du
1400MHz 3)use "r" -- reset command to restore the min and max sclk frequency $ echo "r" > pp_od_clk_voltage & echo "c" > pp_od_clk_voltage $ cat pp_od_clk_voltage OD_SCLK: 0:200Mhz 1: 1400Mhz OD_RAN

[PATCH 2/2] drm/amd/pm: update the swSMU headers for vangogh

2020-11-10 Thread Xiaojian Du
This patch is to update the swSMU headers for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Evan Quan --- drivers/gpu/drm/amd/pm/inc/smu11_driver_if_vangogh.h | 6 ++ drivers/gpu/drm/amd/pm/inc/smu_v11_5_pmfw.h | 11 +++ drivers/gpu/drm/amd/pm

[PATCH 1/2] drm/amd/pm: add the interface to dump smu metrics table for vangogh

2020-11-10 Thread Xiaojian Du
This patch is to add the interface to dump smu metrics table for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Evan Quan --- drivers/gpu/drm/amd/pm/inc/smu_v11_0.h| 2 + .../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c| 12 + .../gpu/drm/amd/pm/swsmu/smu11

[PATCH] drm/amd/pm: add the reset function of the pp_od_voltage_clk sysfs file for RV/RV2/PCO APU

2020-10-29 Thread Xiaojian Du
From: Xiaojian Du From: Xiaojian Du This patch is to add the reset function of the pp_od_voltage_clk sysfs file for Raven/Raven2/Picasso APU. If the min and max sclk frequence are configured, this function can be used to restore the default sclk frequence. Command guide: echo &q

[PATCH 10/10] drm/amd/pm: enable the rest functions of swSMU for vangogh.

2020-10-27 Thread Xiaojian Du
This patch is to enable the rest functions of swSMU for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu

[PATCH 07/10] drm/amd/pm: remove some redundant smu message mapping for vangogh

2020-10-27 Thread Xiaojian Du
This patch is to remove some redundant smu message mapping for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/inc/smu_types.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/inc/smu_types.h b/drivers/gpu/drm/amd/pm/inc

[PATCH 08/10] drm/amd/pm: add one new function to get 32 bit feature mask for vangogh

2020-10-27 Thread Xiaojian Du
This patch is to add one new function to get 32 bit feature mask for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 55 +++--- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h | 4 ++ 2 files changed, 54 insertions(+), 5

[PATCH 06/10] drm/amd/pm: set the initial value of pm info to zero

2020-10-27 Thread Xiaojian Du
quot; is ported to the "SMC Feature Mask" in the "amdgpu_pm_info" on some specific asic, it will be a wrong value. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 05/10] drm/amd/pm: update the smu v11.5 driver interface header for vangogh

2020-10-27 Thread Xiaojian Du
This patch is to update the smu v11.5 driver interface header for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Alex Deucher --- .../drm/amd/pm/inc/smu11_driver_if_vangogh.h | 70 +-- drivers/gpu/drm/amd/pm/inc/smu_v11_0.h| 2 +- 2 files

[PATCH 03/10] drm/amd/pm: add new smc message mapping for vangogh

2020-10-27 Thread Xiaojian Du
This patch is to add new smc message mapping for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/inc/smu_types.h | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/inc/smu_types.h

[PATCH 01/10] drm/amd/pm: update the smu v11.5 smc header for vangogh

2020-10-27 Thread Xiaojian Du
This patch is to update the smu v11.5 smc header for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/inc/smu_v11_5_ppsmc.h | 114 +++ 1 file changed, 68 insertions(+), 46 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 02/10] drm/amd/pm: update the smu v11.5 firmware header for vangogh

2020-10-27 Thread Xiaojian Du
This patch is to update the smu v11.5 firmware header for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/inc/smu_v11_5_pmfw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/inc

[PATCH 04/10] drm/amd/pm: add UMD Pstate Msg Parameters for vangogh temporarily

2020-10-27 Thread Xiaojian Du
This patch is to add UMD Pstate Msg Parameters for vangogh temporarily, the values refer to renoir. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 09/10] drm/amd/pm: add some swSMU functions for vangogh.

2020-10-27 Thread Xiaojian Du
This patch is to add some swSMU functions for vangogh, to support the sensor info on "hwmon" and pm info. Signed-off-by: Xiaojian Du Reviewed-by: Alex Deucher --- .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 411 ++ 1 file changed, 338 insertions(+), 73 deletion

[PATCH] drm/amd/powerplay: add one sysfs file -- "pp_od_clk_voltage" to support the feature to modify gfx engine clock(Mhz units) on Raven/Raven2/Picasso APU.

2020-09-28 Thread xiaojian . du
From: Xiaojian Du From: Xiaojian Du This patch is to add one sysfs file -- "pp_od_clk_voltage" for Raven/Raven2/Picasso APU, which is only used by dGPU like VEGA10. This sysfs file supports the feature to modify gfx engine clock(Mhz units), it can be used to configure the