RE: [PATCH 07/10] drm/amdgpu/gfx8: switch to amdgpu_gfx_rlc_init_microcode

2022-09-18 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] -Original Message- From: amd-gfx On Behalf Of Hawking Zhang Sent: Friday, September 16, 2022 1:02 AM To: amd-gfx@lists.freedesktop.org; Gao, Likun ; Deucher, Alexander Cc: Zhang, Hawking Subject: [PATCH 07/10] drm/amdgpu/gfx8: switch to

RE: [PATCH V2 1/7] drm/amd/pm: add support for 3794 pptable for SMU13.0.0

2022-09-18 Thread Chen, Guchun
Acked-by: Guchun Chen for this series. Regards, Guchun -Original Message- From: Quan, Evan Sent: Monday, September 19, 2022 10:03 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Chen, Guchun ; Quan, Evan Subject: [PATCH V2 1/7] drm/amd/pm: add support for 3794 pptable

Re: [PATCH 03/10] drm/amdgpu: add helper to init rlc fw in header v2_2

2022-09-18 Thread Zhang, Hawking
[AMD Official Use Only - General] [Kevin]: according to code logic in above, the following code is not needed to convert again. ALIGN(le32_to_cpu(adev->gfx.rlc.rlc_dram_ucode_size_bytes), PAGE_SIZE); Good catch. will make the change when push the code. Regards, Hawking From: Wang, Yang(Kevin)

RE: [PATCH] drm/amdgpu: getting fan speed pwm for vega10 properly

2022-09-18 Thread Quan, Evan
[AMD Official Use Only - General] Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of > stalkerg > Sent: Sunday, September 18, 2022 3:23 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; stalkerg > > Subject: [PATCH] drm/amdgpu: getting fan speed

[PATCH V2 7/7] drm/amd/pm: revise SMU11 pptable setup

2022-09-18 Thread Evan Quan
Make the code more readable and scalable. Signed-off-by: Evan Quan Change-Id: Ie4e5dd7b409acf91cc41ea59c00dcfe58e291e80 --- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0.h | 1 + .../gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 1 + .../gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 1 +

[PATCH V2 5/7] drm/amd/pm: move SMU13.0.7 related pptable settings to smu_v13_0_7_ppt.c

2022-09-18 Thread Evan Quan
Separate those ASIC specific settings from common helpers. Signed-off-by: Evan Quan Change-Id: Icbb7dc26d720562ce66c1d7240078a34bea1aae3 -- v1->v2: - update the comments to fit the latest code(Guchun) --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4

[PATCH V2 6/7] drm/amd/pm: move SMU13.0.10 related pptable settings to smu_v13_0_0_ppt.c

2022-09-18 Thread Evan Quan
SMU13.0.10 shares the same implementation with SMU13.0.0. Signed-off-by: Evan Quan Change-Id: Ic3720ee8fd05f75f39e4e9242fc4c57d92efd6b2 --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 12 ++-- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 14 -- 2 files

[PATCH V2 4/7] drm/amd/pm: move SMU13.0.0 related pptable settings to smu_v13_0_0_ppt.c

2022-09-18 Thread Evan Quan
Separate those ASIC specific settings from common helpers. Signed-off-by: Evan Quan Change-Id: Ie3224b8719d48c6e6936b738df379959bd1df4ad --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c| 1 - .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 16 +--- 2 files changed, 13

[PATCH V2 2/7] drm/amd/pm: drop the pptable related workarounds for SMU 13.0.0

2022-09-18 Thread Evan Quan
The pptable in the vbios is fully ready. The related workarounds in driver are not needed any more. Signed-off-by: Evan Quan Change-Id: I2549cd1acd6eebde361ed8e27d5631bd57644e52 -- v1->v2: - drop unrelated and unnecessary changes(Alex, Guchun) --- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c

[PATCH V2 3/7] drm/amd/pm: revise the implementations for pptable retrieving

2022-09-18 Thread Evan Quan
Add a new member to flag where to get the pptable. So that, we can separate those ASIC specific ones from common helpers. Signed-off-by: Evan Quan Change-Id: I814db70b5cedc225578bcb4988663de7dcf535af --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 31

[PATCH V2 1/7] drm/amd/pm: add support for 3794 pptable for SMU13.0.0

2022-09-18 Thread Evan Quan
Enable 3794 pptable support for SMU13.0.0. Signed-off-by: Evan Quan Change-Id: Ia208531c9eb96611b6136975bcbd8d27007b9e14 --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c

RE: [PATCH 03/10] drm/amdgpu: add helper to init rlc fw in header v2_2

2022-09-18 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] -Original Message- From: amd-gfx On Behalf Of Hawking Zhang Sent: Friday, September 16, 2022 1:01 AM To: amd-gfx@lists.freedesktop.org; Gao, Likun ; Deucher, Alexander Cc: Zhang, Hawking Subject: [PATCH 03/10] drm/amdgpu: add helper to init rlc fw in

[PATCH] drm/amdgpu: getting fan speed pwm for vega10 properly

2022-09-18 Thread stalkerg
Instead of using RPM speed, we will use a function from vega20 based on PWM registers. Signed-off-by: Yury Zhuravlev --- .../amd/pm/powerplay/hwmgr/vega10_thermal.c | 25 +-- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git