With WBRF feature supported, as a driver responding to the frequencies,
amdgpu driver is able to do shadow pstate switching to mitigate possible
interference(between its (G-)DDR memory clocks and local radio module
frequency bands used by Wifi 6/6e/7).
Signed-off-by: Evan Quan
Reviewed-by: Mario
To protect PMFW from being overloaded.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 31 +++
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 +
2 files changed, 32 insertions(+), 6 deletions(-)
diff --git
Fulfill the SMU13.0.7 support for Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
--
v10->v11:
- downgrade the prompt level on message failure(Lijo)
---
.../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 59 +++
1 file changed, 59 inserti
Fulfill the SMU13.0.0 support for Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
--
v10->v11:
- downgrade the prompt level on message failure(Lijo)
---
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 3 +
drivers/gpu/drm/amd/pm/swsmu/inc/smu_type
Add those data structures to support Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 14 +-
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_7.h | 14 +-
.../amd/pm/swsmu/inc
This reverts commit 3592cc20beeece83db4c50a0f400e2dd15139de9.
The enablement for the new OD mechanism completed. Also, the support for
fan control related OD feature has been added via this new mechanism.
Thus, it is time to bring back the SMU13 OD support.
Signed-off-by: Evan Quan
---
.../drm
Add SMU13 fan minimum pwm OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
v2->v3:
- rich the document for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/include/kgd_pp_inter
Add SMU13 fan temperature/pwm curve OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
v2->v3:
- rich the document for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 +
.../gpu/drm/amd/i
Add SMU13 fan acoustic limit OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
v2->v3:
- rich the document for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/i
Add SMU13 fan target temperature OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
v2->v3:
- rich the document for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/i
By placing the sysfs interfaces creation after `.late_int`. Since some
operations performed during `.late_init` may affect how the sysfs
interfaces should be created.
Signed-off-by: Evan Quan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 37 --
1 file changed, 21
directory.
gpu_od/
├── fan_ctrl
│ ├── acoustic_limit_rpm_threshold
│ ├── acoustic_target_rpm_threshold
│ ├── fan_curve
│ ├── fan_minimum_pwm
│ ├── fan_target_temperature
Evan Quan (7):
drm/amd/pm: introduce a new set of OD interfaces
drm/amdgpu: revise the device initialization
Add SMU13 fan acoustic target OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
v2->v3:
- rich the document for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/i
directory.
Signed-off-by: Evan Quan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 264 -
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h| 2 +
3 files changed, 266 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/
Fulfill the incomplete SMU13 `pp_dpm_dcefclk` implementation.
Reported-by: Guan Yu
Signed-off-by: Evan Quan
---
.../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 27 +++
.../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 27 +++
2 files changed, 54 insertions
The voltage offset setting will be applied to the whole v/f curve line
instead of per anchor point base.
Signed-off-by: Evan Quan
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 45 +++
.../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 31 ++---
.../drm/amd/pm/swsmu
-by: Mario Limonciello
Signed-off-by: Mario Limonciello
Co-developed-by: Evan Quan
Signed-off-by: Evan Quan
--
v4->v5:
- promote this to be a more generic solution with input argument taking
`struct device` and provide better scalability to support non-ACPI
scenarios(Andrew)
- update th
The newly added WBRF feature needs this interface for channel
width calculation.
Signed-off-by: Evan Quan
--
v8->v9:
- correct typo(Mhz -> MHz) (Johnson)
---
include/net/cfg80211.h | 8
net/wireless/chan.c| 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff
`wbrf=off`, the WBRF features will be disabled forcely.
- With `wbrf=auto`, it will be up to the system to do proper checks
to determine the WBRF features should be enabled or not.
Co-developed-by: Mario Limonciello
Signed-off-by: Mario Limonciello
Co-developed-by: Evan Quan
Signed-off-by:
to wifi subsystem.
Patch5 - 9: Bring WBRF support to AMD graphics driver.
Evan Quan (9):
drivers core: Add support for Wifi band RF mitigations
drivers core: add ACPI based WBRF mechanism introduced by AMD
cfg80211: expose nl80211_chan_width_to_mhz for wide sharing
wifi: mac80211: Add
directory.
Signed-off-by: Evan Quan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 264 -
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h| 2 +
3 files changed, 266 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/
Add SMU13 fan mode OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 +
.../gpu/drm/amd/include/kgd_pp_interface.h| 4 +-
drivers/gpu/drm/amd/pm/amdgpu_pm.c|
Add SMU13 fan temperature/pwm curve OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_p
Add SMU13 fan acoustic target OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_p
By placing the sysfs interfaces creation after `.late_int`. Since some
operations performed during `.late_init` may affect how the sysfs
interfaces should be created.
Signed-off-by: Evan Quan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 37 --
1 file changed, 21
Add SMU13 fan acoustic limit OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_p
Add SMU13 fan minimum pwm OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_p
Add SMU13 fan target temperature OD setting support.
Signed-off-by: Evan Quan
--
v1->v2:
- add missing kerneldoc for the new interface(Alex)
---
Documentation/gpu/amdgpu/thermal.rst | 6 ++
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_p
With WBRF feature supported, as a driver responding to the frequencies,
amdgpu driver is able to do shadow pstate switching to mitigate possible
interference(between its (G-)DDR memory clocks and local radio module
frequency bands used by Wifi 6/6e/7).
Signed-off-by: Evan Quan
Reviewed-by: Mario
Add those data structures to support Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 14 +-
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_7.h | 14 +-
.../amd/pm/swsmu/inc
To protect PMFW from being overloaded.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 31 +++
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 +
2 files changed, 32 insertions(+), 6 deletions(-)
diff --git
Fulfill the SMU13.0.7 support for Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
.../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 59 +++
1 file changed, 59 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
Fulfill the SMU13.0.0 support for Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 3 +
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 3 +
.../gpu
-developed-by: Mario Limonciello
Signed-off-by: Mario Limonciello
Co-developed-by: Evan Quan
Signed-off-by: Evan Quan
--
v1->v2:
- place the new added member(`wbrf_supported`) in
ieee80211_local(Johannes)
- handle chandefs change scenario properly(Johannes)
- some minor fixes around c
Add SMU13 fan acoustic target OD setting support.
Signed-off-by: Evan Quan
---
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 45
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 +
drivers/gpu/drm/amd/pm/swsmu
Add SMU13 fan temperature/pwm curve OD setting support.
Signed-off-by: Evan Quan
---
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 45 ++
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 +
drivers/gpu/drm/amd/pm/swsmu
Add SMU13 fan acoustic limit OD setting support.
Signed-off-by: Evan Quan
---
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 45
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 +
drivers/gpu/drm/amd/pm/swsmu
Add SMU13 fan target temperature OD setting support.
Signed-off-by: Evan Quan
---
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 45
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 +
drivers/gpu/drm/amd/pm/swsmu
Add SMU13 fan minimum pwm OD setting support.
Signed-off-by: Evan Quan
---
.../gpu/drm/amd/include/kgd_pp_interface.h| 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 45
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 +
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
directory.
Signed-off-by: Evan Quan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 264 -
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h| 2 +
3 files changed, 266 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/
By placing the sysfs interfaces creation after `.late_int`. Since some
operations performed during `.late_init` may affect how the sysfs
interfaces should be created.
Signed-off-by: Evan Quan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 37 --
1 file changed, 21
directory.
gpu_od/
├── fan_ctrl
├── acoustic_limit_rpm_threshold
├── acoustic_target_rpm_threshold
├── fan_curve
├── fan_minimum_pwm
├── fan_mode
├── fan_target_temperature
...
...(more to be added)
Evan Quan (8):
drm/amd/pm: introduce a new set of OD interfaces
drm
Add SMU13 fan mode OD setting support.
Signed-off-by: Evan Quan
---
.../gpu/drm/amd/include/kgd_pp_interface.h| 4 +-
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 189 +-
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 4 +
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
to wifi subsystem.
Patch4 - 8: Bring WBRF support to AMD graphics driver.
Evan Quan (8):
ACPI: Add support for AMD ACPI based Wifi band RFI mitigation feature
cfg80211: expose nl80211_chan_width_to_mhz for wide sharing
wifi: mac80211: Add support for WBRF features
drm/amd/pm: update
can use to
notify active use of particular frequencies so that other devices can make
relative internal adjustments as necessary to avoid this resonance.
Signed-off-by: Evan Quan
---
drivers/acpi/Kconfig | 17 ++
drivers/acpi/Makefile | 2 +
drivers/acpi/amd_wbrf.c | 414
The newly added WBRF feature needs this interface for channel
width calculation.
Signed-off-by: Evan Quan
--
v8->v9:
- correct typo(Mhz -> MHz) (Johnson)
---
include/net/cfg80211.h | 8
net/wireless/chan.c| 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff
With WBRF feature supported, as a driver responding to the frequencies,
amdgpu driver is able to do shadow pstate switching to mitigate possible
interference(between its (G-)DDR memory clocks and local radio module
frequency bands used by Wifi 6/6e/7).
Signed-off-by: Evan Quan
Reviewed-by: Mario
To protect PMFW from being overloaded.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 31 +++
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 +
2 files changed, 32 insertions(+), 6 deletions(-)
diff --git
Fulfill the SMU13.0.0 support for Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 3 +
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 3 +
.../gpu
Add those data structures to support Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 14 +-
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_7.h | 14 +-
.../amd/pm/swsmu/inc
-developed-by: Mario Limonciello
Signed-off-by: Mario Limonciello
Co-developed-by: Evan Quan
Signed-off-by: Evan Quan
--
v1->v2:
- place the new added member(`wbrf_supported`) in
ieee80211_local(Johannes)
- handle chandefs change scenario properly(Johannes)
- some minor fixes around c
Fulfill the SMU13.0.7 support for Wifi RFI mitigation feature.
Signed-off-by: Evan Quan
Reviewed-by: Mario Limonciello
---
.../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 59 +++
1 file changed, 59 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
Fix the compile warning below:
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c:1641
kv_get_acp_boot_level() warn: always true condition '(table->entries[i]->clk >=
0) => (0-u32max >= 0)'
Reported-by: kernel test robot
CC: Alex Deucher
Signed-off-by: Evan
Fix the compile warning below:
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c:1641
kv_get_acp_boot_level() warn: always true condition '(table->entries[i]->clk >=
0) => (0-u32max >= 0)'
Reported-by: kernel test robot
CC: Alex Deucher
Signed-off-by: Evan
Enable MP0CLK DPM and FW Dstate since they are already supported
by latest 78.36.0 PMFW.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I75b6129dab509a51ccaf92bbc0b094eae41ea20f
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 3 +++
1 file changed, 3 insertions
To better match with the pptable_id settings from VBIOS.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Acked-by: Alex Deucher
Change-Id: I3379443067a5df3a2fb04ff1bc48e8c8f28e1c66
---
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c| 47 ++-
1 file changed, 35 insertions
To align with 78.37.0 and later PMFWs.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I17c3a6b466c921cb5ffe5025a94023fae478c80e
---
.../inc/pmfw_if/smu13_driver_if_v13_0_0.h | 22 +--
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 2 +-
2 files changed, 11
Since PMFW will handle this properly. Driver involvement is
unnecessary.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I19be26eed090d57040553f5cdff9534072f08106
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm
With the latest vbios, the memory temp reading is working.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I3b4679f03e5ff7cf8e0b68c095d210e608149fcb
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd
Enable OOB Monitor and SOC CG which are ready since 78.38.0.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Acked-by: Alex Deucher
Change-Id: I0d7334106917ac83fff2b673ec7e9eb096089afe
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 3 +++
1 file changed, 3 insertions(+)
diff
Suppress two compile warnings about "no previous prototype".
Reported-by: kernel test robot
Signed-off-by: Evan Quan
Change-Id: I74d029c6ebd8bf6bc08edada7a992d04786330d8
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +-
drivers/gpu/drm/amd/amdgpu/soc21.c| 1
There is some problem with average frequency reading. Thus, we
switch to the target frequency reading instead.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I50fd370bbca68159cb1a4f69b05232f907af2bb9
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 +-
1 file
The feature is ready with latest 78.39.0 PMFW.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I99096e23ed7ebcd5aaada84b7f11ad9e3d3cd8b8
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu
To fit the latest 78.39.0 PMFW.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: Ie8280606729fa8b80a0abf1bc94f16c4b06191d4
--
v1->v2:
- coding style fixes(Hawking)
---
.../drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 6 ++
drivers/gpu/drm/amd/pm/swsmu/
prototype for function 'gfx_v11_0_rlc_stop' [-Wmissing-prototypes]
Signed-off-by: Evan Quan
Change-Id: I679436c91cb98afb9fcbef8942fd90a17e5234b5
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +-
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 12 ++--
2 files changed
Suppress the compile warning below:
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:1292
gfx_v11_0_rlc_backdoor_autoload_copy_ucode() warn: should '1 << id' be a 64 bit
type?
Reported-by: kernel test robot
Reported-by: Dan Carpenter
Signed-off-by: Evan Quan
Cha
ed, which
can lead to unaligned accesses [-Wunaligned-access]
Signed-off-by: Evan Quan
Change-Id: I855062e987effd563ccc09336caad75f02751bb6
---
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0_7_pptable.h | 9 ++---
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0_pptable.h | 9 ++---
drivers/gpu/dr
Enable VR0 Hot support for SMU 13.0.0.
Signed-off-by: Evan Quan
Acked-by: Alex Deucher
Change-Id: I11a642033d6e0885877cf48c1f1e07f30de4622e
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13
Update GFX11 cs related settings.
Signed-off-by: Evan Quan
Acked-by: Alex Deucher
Change-Id: If99a46ef4178fb4cd686008038923d3b15efa452
---
drivers/gpu/drm/amd/amdgpu/clearstate_gfx11.h | 307 +-
1 file changed, 158 insertions(+), 149 deletions(-)
diff --git a/drivers/gpu/drm
ect the return value to reflect the real result of disablement.
Fixes: 235c67634230 ("drm/amd/display: add DCN32/321 specific files for Display
Core")
Signed-off-by: Evan Quan
Acked-by: Alex Deucher
Change-Id: If87d4cf76f6cfb36d607f051ff32f9c7870b4d6d
--
v1->v2:
- correct the hash tag
ect the return value to reflect the real result of disablement.
Fixes: e40fcd4a ("drm/amd/display: add DCN32/321 specific files for Display
Core")
Cc:
Signed-off-by: Evan Quan
Change-Id: If87d4cf76f6cfb36d607f051ff32f9c7870b4d6d
---
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c |
Enable BAMACO reset support for SMU 13.0.0.
Signed-off-by: Evan Quan
Change-Id: I67696671c216790a0b6d5b84f7d4b430d734ac3c
--
v1->v2:
- maximum code sharing around smu13.0.0 and smu13.0.7
---
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c| 3 +-
.../drm/amd/pm/swsmu/smu13/smu_v13_0_0_pp
The feature is ready with latest PMFW and IFWI.
Signed-off-by: Evan Quan
Change-Id: I0b1ea6a32bc092eec4b95118a1442597688ee8d0
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
b
Enable ASPM support for PCIE 7.4.0 and 7.6.0.
Signed-off-by: Evan Quan
Change-Id: Ib3b0e106ff43ad49f0f815e6eeb5c756b6bf4550
--
v1->v2:
- support LTR disabled scenario(Lijo)
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c |
m
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.c:33:
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h:55: note: this is the location of
the previous definition
55 | #define MAX_PCIE_CONF 3
Signed-off-by: Evan Quan
Change-Id: Iacc4ff4007b74d5db54c1e66cb237e55b70975b0
---
drivers/gpu/
PMFW will handle that properly. Driver involvement may cause some
unexpected issues.
Signed-off-by: Evan Quan
Change-Id: I77da7d894485a3ac6a1a956e4d2605d0bc730c25
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git
Fulfill the interfaces for mode1 reset related.
Signed-off-by: Evan Quan
Change-Id: I03bb1f7f3b88bf304a188bb6939c043805df8f10
--
v1->v2:
- drop invalid psp alive check(Lijo)
---
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 1 +
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c|
Drop those redundant declarations in smu_v13_0.h.
Signed-off-by: Evan Quan
Change-Id: I54e43d072235f006b937878c126bcd8ef81ea6f7
---
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h
b
Enable ASPM support for PCIE 7.4.0 and 7.6.0.
Signed-off-by: Evan Quan
Change-Id: Ib3b0e106ff43ad49f0f815e6eeb5c756b6bf4550
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c| 109
Make sure the clockgating feature is supported before action.
Otherwise, the feature may be disabled unexpectedly on enablement
request.
Signed-off-by: Evan Quan
Change-Id: Ie20e6c5975c2a0af40dc52189e3df97161300117
---
drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c | 10 --
1 file changed, 8
From: Jack Xiao
mes self test rely on vm mapping, move it after
drm sched re-started so that vm mapping can work
during gpu reset.
Signed-off-by: Jack Xiao
Acked-and-tested-by: Evan Quan
Change-Id: Ib202c04d86191ca47da90d27c2a8cf9e7c8e6732
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3
This extra call trace dump comes out in every gpu reset.
And it gives people a wrong impression that something
went wrong. Although actually there was not.
Signed-off-by: Evan Quan
Change-Id: I884af405b6b3cd52b9024408a21fd39811a01f4d
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 -
1 file
The feature is ready with latest firmwares.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Acked-by: Alex Deucher
Change-Id: I581a7aae2618134a9d196cd383cdabf3516efec0
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers
To fit the latest 78.49.0 PMFW. Also, bump the version
to 0x2B.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Acked-by: Alex Deucher
Change-Id: Icbf79cca25dbfd2850425e9e4afbb77cf1ff28db
---
.../drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h| 4 ++--
drivers/gpu/drm/amd/pm
Only PP_MP1_STATE_UNLOAD is supported for now. For other mp1 state, we
should just ignore it. Otherwise, there will be errors coming out.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Acked-by: Alex Deucher
Change-Id: I15427d6daf14d5c82a6e7f9d32fdea60a80fd0ec
---
.../drm/amd/pm/swsmu
fail issue for
smu13")
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Acked-by: Alex Deucher
Change-Id: I4e93f08f930ebeb1ed134307e62b4c53a9885066
--
v1->v2:
- limit the impacts to legacy ASICs(Hawking)
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 7 ---
1 file changed
The feature is ready with latest firmwares.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I4907ef8c96eb8933db01818d7431afb3778d1afd
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu
And get the version bumped to 0x2C to match the latest PMFW.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: Ie4bc8fa0831ae6d1735c2dca27331ff6f6229e30
---
.../gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 2 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h
And bump the version to 0x2A.
Signed-off-by: Evan Quan
Change-Id: I2b66b9a289177a979201fca2056ff11e0b81f2bb
---
.../gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 3 ++-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 2 +-
2 files changed, 3 insertions(+), 2
d than 'struct smu_13_0_0_overdrive_table' and is usually due to
'struct smu_13_0_0_powerplay_table' being packed,
which can lead to unaligned accesses [-Wunaligned-access]
Reported-by: kernel test robot
Signed-off-by: Evan Quan
Change-Id: Ibba9dbfcc6440d0bdf0fbe0534ce6a82ab6d5d10
---
drivers/g
Missing SetMGpuFanBoostLimitRpm mapping leads to loading failure for SMU
13.0.7.
Signed-off-by: Evan Quan
Reviewed-by: Hawking Zhang
Change-Id: I2ea606ad5089b2612069614349c3a228406ef928
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 1 +
1 file changed, 1 insertion(+)
diff --git
To fit the latest 78.53 PMFW.
Signed-off-by: Evan Quan
Change-Id: I16b36a3c209c82fc2d48325f7e6ef5a702678782
---
.../inc/pmfw_if/smu13_driver_if_v13_0_0.h | 31 +++
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 2 +-
2 files changed, 19 insertions(+), 14 deletions(-)
diff
It's vbios and pmfw instead of driver who decide whether some dpm features
is supported or not. Driver just de-selects those features which are not
permitted on user's request. Thus, we use adverse selects model.
Signed-off-by: Evan Quan
Change-Id: I184ca0950e75d47ed20895f2643ddfa31417dc22
The feature is ready with latest 78.58.0 PMFW.
Signed-off-by: Evan Quan
Change-Id: Ia8ec869be41b328eee9fd9544b3de604a085f9cc
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13
Make sure gfxoff is disabled before gfx register accessing.
Signed-off-by: Evan Quan
Change-Id: Ia032869080f51cdefc6e6bad4f04405193ab0fec
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm
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_
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
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
b/drivers
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
drivers/gpu/drm/amd/pm
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
1001 - 1100 of 1244 matches
Mail list logo