thermal: intel: int340x: Enable power slider interface for Wildcat Lake
PATCH 1/1 thermal: intel: int340x: Enable power slider interface for Wildcat Lake
Set the PROC_THERMAL_FEATURE_SOC_POWER_SLIDER feature flag in proc_thermal_pci_ids[] for Wildcat Lake to enable power slider interface.
Signed-off-by Srinivas Pandruvada <[email protected]>
--- .../intel/int340x_thermal/processor_thermal_device_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +2 -1
@@ -503,7 +503,8 @@ static const struct pci_device_id proc_thermal_pci_ids[] = { {PCI_DEVICE_DATA (INTEL ,WCL_THERMAL ,PROC_THERMAL_FEATURE_MSI_SUPPORT |PROC_THERMAL_FEATURE_RAPL |PROC_THERMAL_FEATURE_DLVR |PROC_THERMAL_FEATURE_DVFS |PROC_THERMAL_FEATURE_WT_HINT | - PROC_THERMAL_FEATURE_POWER_FLOOR | PROC_THERMAL_FEATURE_PTC) }, +PROC_THERMAL_FEATURE_POWER_FLOOR |PROC_THERMAL_FEATURE_PTC | + PROC_THERMAL_FEATURE_SOC_POWER_SLIDER) }, { PCI_DEVICE_DATA(INTEL, NVL_H_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_MSI_SUPPORT | PROC_THERMAL_FEATURE_WT_HINT |
Signature · 1 line
2.51.1
Quoted 14 lines · Srinivas Pandruvada
Set the
PROC_THERMAL_FEATURE_SOC_POWER_SLIDERfeature flag in proc_thermal_pci_ids[] for Wildcat Lake to enable power slider interface.Signed-off-by Srinivas Pandruvada <[email protected]>--- .../intel/int340x_thermal/processor_thermal_device_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +0
-0
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c static const struct pci_device_id proc_thermal_pci_ids[] = {
Quoted 10 lines
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +2
-2@@ -503,7 +503,8 @@ static const struct pci_device_id proc_thermal_pci_ids[] = { {PCI_DEVICE_DATA (INTEL ,WCL_THERMAL ,PROC_THERMAL_FEATURE_MSI_SUPPORT |PROC_THERMAL_FEATURE_RAPL |PROC_THERMAL_FEATURE_DLVR |PROC_THERMAL_FEATURE_DVFS |PROC_THERMAL_FEATURE_WT_HINT | - PROC_THERMAL_FEATURE_POWER_FLOOR | PROC_THERMAL_FEATURE_PTC) }, +PROC_THERMAL_FEATURE_POWER_FLOOR |PROC_THERMAL_FEATURE_PTC | + PROC_THERMAL_FEATURE_SOC_POWER_SLIDER) }, { PCI_DEVICE_DATA(INTEL, NVL_H_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_MSI_SUPPORT | PROC_THERMAL_FEATURE_WT_HINT | --
Applied, thanks!