mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Sysman: Fix incorrect frequency request value
Sysman queries frequency request value from an incorrect sysFs node which results in incorrect frequency request value. Modify sysFs node to query from correct node. Related-To: LOCI-2887 Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8b56a76b25
commit
b6d3b4cca6
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -298,7 +298,7 @@ void LinuxFrequencyImp::init() {
|
||||
} else {
|
||||
minFreqFile = "gt_min_freq_mhz";
|
||||
maxFreqFile = "gt_max_freq_mhz";
|
||||
requestFreqFile = "punit_req_freq_mhz";
|
||||
requestFreqFile = "gt_cur_freq_mhz";
|
||||
tdpFreqFile = "rapl_PL1_freq_mhz";
|
||||
actualFreqFile = "gt_act_freq_mhz";
|
||||
efficientFreqFile = "gt_RP1_freq_mhz";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -22,7 +22,7 @@ const std::string minValFreqFile("gt/gt0/rps_RPn_freq_mhz");
|
||||
|
||||
const std::string minFreqFileLegacy("gt_min_freq_mhz");
|
||||
const std::string maxFreqFileLegacy("gt_max_freq_mhz");
|
||||
const std::string requestFreqFileLegacy("punit_req_freq_mhz");
|
||||
const std::string requestFreqFileLegacy("gt_cur_freq_mhz");
|
||||
const std::string tdpFreqFileLegacy("rapl_PL1_freq_mhz");
|
||||
const std::string actualFreqFileLegacy("gt_act_freq_mhz");
|
||||
const std::string efficientFreqFileLegacy("gt_RP1_freq_mhz");
|
||||
|
||||
Reference in New Issue
Block a user