Mayank Raghuwanshi
e1ad48ccb5
Pass device handles to sysman power module
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-10-05 20:47:21 +02:00
Mayank Raghuwanshi
d2014b2869
Add support for 32 GTs pci link speed and 0 power_min_limit
...
Related-To: LOCI-2489, LOCI-2488
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-09-07 08:51:45 +02:00
Mayank Raghuwanshi
0f2754e943
Add support for hwmon interface for sysman power
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-07-29 14:53:29 +02:00
Jitendra Sharma
3597093758
Update Temperature APIs to get correct temperature
...
This change updates Temperature APIs to get correct current
temperature based on updated PMT interface.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-02-06 18:39:58 +01:00
Jitendra Sharma
a931ce24fe
Remove DG1 directory from Sysman Power API implementation
...
As there is no need to keep Sysman's power API's OS specific code
in DG1 folder. So, lets remove that DG1 directory.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-01-18 01:13:32 +01:00
Daniel Enriquez
bb5d252c4d
Sysman for Windows: Fix timestamp units for power and engines.
...
Returning now in usecs as the documentation state it should be.
2021-01-07 03:30:47 +01:00
Daniel Enriquez
b83922ecdb
Fix energy counter precision for Sysman in Windows.
...
Conversion to mJ was faulty and losing precision, this fix the problem.
2020-12-16 09:43:15 +01:00
Vilvaraj, T J Vivek
53b1dded2f
Sysman zesPowerGetProperties() implementation.
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-11-24 11:48:37 +01:00
Jitendra Sharma
cfb1fec19a
Implement sysman power set/get limit APIs
...
Change-Id: I35232902cf96d20594adbd128064c362cf154711
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-06 17:33:11 +02:00
Kanhaiya
723e852c09
Moved all the constants used in sysman to the single header file
...
Change-Id: I0bfa02e68c9aba1cc5d3105c37630b30b03e1b54
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-09-23 14:35:13 +02:00
Pawel Cieslak
fb821f21f5
Cmake format script
...
Related-To: NEO-1157
Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
Daniel Enriquez
d36c013acf
Enabling Power Component for Windows.
...
Change-Id: I67a170279994e5637e353c9eca9fff04fb02d87e
2020-08-18 18:59:39 +02:00
Jaime Arteaga
902fc2f6c4
level-zero v1.0 (2/N)
...
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off-by: macabral <matias.a.cabral@intel.com>
Signed-off-by: davidoli <david.olien@intel.com>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-08-03 13:11:13 +02:00
Bill Jordan
c64eab402e
Update all L0 Sysman getHandle routines to match spec.
...
Updated all the getHandle routines to use the following
algorithm:
n = min(*pCount, available)
if (*pCount == 0 || *pCount > available) {
*pCount = available;
}
if (pArrayn != nullptr) {
for(i = 0; i < n; i++) {
pArray[i] = handle[i];
}
}
Change-Id: I3b2a2170c2b52d1651bddae4f85f361fd86167a0
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-30 07:27:21 +02:00
Jitendra Sharma
a0c22dec2d
Update sysman power APIs to support latest spec
...
Change-Id: I4631a73c44d918db9421ceb394c71ffa8ca514ca
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-22 22:26:28 +02:00
Jitendra Sharma
92b15507b0
Initialize variables and validate pointers before actually using them
...
Change-Id: Iae6fbeac124e1a02da419f5071e1ebc292b390cf
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-14 11:17:58 +02:00
Bill Jordan
e8bd440773
Don't allow copy or moving Sysman related objects.
...
Change-Id: I70dd97bffa1c4d08f05eb796c6d6a2eb66f06f4b
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-10 21:05:15 +02:00
macabral
e08022e9c7
Support for Platform Monitoring Technology
...
Add support for Platform Monitoring Technology,
and read temperature and energy counters.
Change-Id: Ic2c79e902400148cc538267c498fc1d0185c81f8
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2020-07-02 19:41:06 +02:00
SaiKishore Konda
1a90061d54
Updating Sysman Power APIs for Set/Get thresholds
...
- APIs zetSysmanPowerGetEnergyThreshold & zetSysmanPowerSetEnergyThreshold
Change-Id: I052d4df989bc02549936cff5b0f9a801a34e320b
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-06-19 08:55:13 +02:00
SaiKishore Konda
16ee26f20d
Add support for zetPowerGetEnergyCounter
...
Change-Id: I497e025690401ced668d653db4e0052852b6e570
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-06-08 17:40:49 +02:00
SaiKishore Konda
80f9b5e45a
add support for zetSysmanPowerGetEnergyCounter
...
-- add ULT support for power
Change-Id: I37ebebb62c3433a1efe106d6b6546955a2d6effb
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-05-19 19:20:36 +02:00
Konda
610662dbd8
Power APIs boilerplate for Level Zero Sysman
...
- boilerplate for following power APIs
-zetSysmanPowerGet
-zetSysmanPowerGetProperties
-zetSysmanPowerGetEnergyCounter
-zetSysmanPowerGetLimits
-zetSysmanPowerSetLimits
-zetSysmanPowerGetEnergyThreshold
-zetSysmanPowerSetEnergyThreshold
Change-Id: I6350d869da9a64424b197ce16ac008224405a65d
Signed-off-by: Konda <saikishore.konda@intel.com>
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-28 19:53:57 +02:00