Bari, Pratik
593bd13d4d
Added support for Frequency APIs
...
- Added support for the Frequency APIs in the new sysman design.
- Added ULTs for the Frequency APIs in the new sysman design.
Related-To: LOCI-4096
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-03-23 18:53:32 +01:00
Mateusz Jablonski
659cacf2c9
refactor l0 cmake: reduce include directories
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-17 13:41:55 +01:00
Mateusz Jablonski
a7830eb478
refactor l0 cmake: add CMakeLists.txt files to solution
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-17 12:09:03 +01:00
Mateusz Jablonski
cb7437b6b7
refactor l0 tools: cleanup cmake files
...
append sources in current directory
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-16 14:05:14 +01:00
Warchulski, Jaroslaw
64f735481d
Cleanup includes 48
...
Cleaned up files:
shared/source/command_container/command_encoder.inl
shared/source/os_interface/hw_info_config.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-10 17:23:02 +01:00
Warchulski, Jaroslaw
e21cf516d3
Cleanup includes 44
...
Cleaned up files:
level_zero/tools/source/sysman/windows/os_sysman_imp.h
opencl/source/command_queue/command_queue.h
shared/source/command_container/cmdcontainer.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-25 16:05:22 +01:00
Warchulski, Jaroslaw
bd81b5546d
Cleanup includes 25
...
Cleaned up files:
level_zero/core/source/device/device.h
opencl/source/helpers/dispatch_info.h
shared/source/os_interface/os_interface.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-10 12:54:45 +01:00
Singh, Prasoon
6254dd057d
Enabled debug logs in frequency module
...
Related-To: LOCI-3471
Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com>
2023-01-02 19:47:13 +01:00
Joshua Santosh Ranjan
522076cf82
Avoid adding subdevice flag if ReturnSubDevicesAsApiDevices is set
...
Related-To: LOCI-3656
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-12-19 05:15:51 +01:00
Warchulski, Jaroslaw
f35f59b573
Cleanup includes 5
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-11-18 22:46:38 +01:00
Mayank Raghuwanshi
ffcca3ba53
Use physical subdeviceId for sysman ras, freq and standby module
...
Related-To: LOCI-2925, LOCI-2926, LOCI-3236
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-11-14 14:10:23 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-11-07 10:36:50 +01:00
Mayank Raghuwanshi
a9bc4de8cf
Enable sysman windows ults
...
Related-To: LOCI-3205
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-09-22 08:16:11 +02:00
Mayank Raghuwanshi
0d5f3351df
Add support for setting default values for min and max frquency
...
Related-To: LOCI-3170
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-09-16 16:15:54 +02:00
Kulkarni, Ashwin Kumar
97a3368aad
Defer Sysman Frequency Initialization
...
With this change, init for sysman Frequency API would not be done during zeInit.
Rather init and thereby Frequency API handle creation would be done only
when user explicitly requests to enumerate handles
using zesDeviceEnumFrequencyDomains.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2022-07-11 05:43:50 +02:00
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Jitendra Sharma
34028355af
Update zesFrequencySetRange implementation
...
While setting max frequency also clamp boost frequency
to max frequency.
Clamping boost frequency to max, will ensure that with workload
execution, max frequency that we are setting would not be violated.
Related-To: LOCI-3075
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-04-26 17:12:52 +02:00
Bellekallu Rajkiran
f7e04b32aa
Update throttle reason status sysfs names
...
Related-To: LOCI-1843
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-14 08:45:17 +02:00
Bellekallu Rajkiran
cdf3d00919
Update throttle reason status sysfs name
...
Related-To: LOCI-1843
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-03-29 11:02:47 +02:00
Bellekallu Rajkiran
7ec8d8ef91
Add prelim support for frequency events and fabric port
...
Related-To: LOCI-2864
Source of prelim headers:
https://github.com/intel-gpu/drm-uapi-helper/tree/master/i915-shared-headers
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-03-06 02:47:20 +01:00
Bellekallu Rajkiran
b6d3b4cca6
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>
2022-02-24 05:15:18 +01:00
Daniel Enriquez
dbe0ba2a0f
Sysman for Windows: Multiple fixes and optimizations
...
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-11-04 20:11:39 +01:00
Daniel Enriquez
afaef2b234
Fix Voltage Offset, signed value.
...
Voltage Offset was incorrectly set as unsigned.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-10-06 06:08:24 +02:00
Kamil Kopryk
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
John Falkowski
dc77174255
TimerResolution Device Properties 1.2
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-07-06 11:37:07 +02:00
Daniel Enriquez
b04118128a
Removing support for Fixed mode, won't be supported anymore.
...
With this change, if user tried to set that mode
then UNSUPPORTED would be returned.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-07-01 08:06:17 +02:00
Mayank Raghuwanshi
6436714987
Update sysfs path for sysman freq module
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-06-22 18:48:15 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Kanhaiya Singh
a246c358e5
Update zesFrequencyGetAvailableClocks for clocks to be in multiples of 50 Mhz
...
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com>
2021-02-23 06:46:25 +01:00
Daniel Enriquez
3aff89199d
L0 Sysman Windows DG2 Readyness Patch.
...
Implemented Fan Curve, Moved to OAG Counters, Fixed Frequency Range.
2021-01-30 05:59:27 +01:00
Mayank Raghuwanshi
9c1739c095
Update zesFrequencyGetState and zesFrequencyGetRange
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2020-11-13 06:04:50 +01:00
Vilvaraj, T J Vivek
e096e5b0f8
fix CmakeLists for sysman frequency
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-11-11 17:32:43 +01:00
mraghuwa
4e4affe53b
Modify tdp sysfs path
...
Change-Id: Ie387a96f67b5760d8f1e359eea61c66aec631afd
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-10-29 10:33:23 +01:00
Kanhaiya
872049978a
Fix TDP/REQUEST reading
...
Change-Id: I7b4f2f176696a4f4636934accebf71ed3285427c
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-09 16:38:48 +02:00
Jitendra Sharma
77f88f9a96
Add Subdevice support for sysman scheduler API
...
Change-Id: I7b2222645d93346cfd3bfd3b6561dbe21154b61f
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-29 16:30:20 +02:00
Daniel Enriquez
2d27570292
Fix current voltage unit problem, returning Volts now.
...
Change-Id: I257e431f5dbc4d71191ce50750791746d8bba8d9
2020-09-29 01:48:35 -07:00
Daniel Enriquez
f0907361ff
Adding Frequency Support for Windows in Level 0 Sysman
...
Change-Id: I8dbf67b0a6f88379a3da304e01a8f102e2027dd1
2020-09-19 08:30:13 +02:00
Jitendra Sharma
e904a1f0b4
Create Sysman Frequency API handles based on available subdevice/device
...
Change-Id: I2049515150004551c3f61647d20f1df7b375f587
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-15 18:12:14 +02:00
mraghuwa
9f7a97ac5b
Return Unsupported feature when sysfs nodes are absent
...
Change-Id: I69c1447bb65e2be074d338e910223c3b8c2e9c55
2020-08-26 21:29:54 +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
Matias A. Cabral
990750d153
Enable ULTs for Sysman APIs ported to 1.0
...
Change-Id: I7ef425e6a076f8b26992a9a7cd4b2711e12f3a64
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com>
2020-08-04 11:08:15 +02:00
Matias A. Cabral
5dbf7d5f8c
Enable Sysman zesFrequencyGetAvailableClocks
...
Enable Sysman zesFrequencyGetAvailableClocks
Change-Id: I23f839a3c6eeccbba0cb24adc2b9e34d4595c201
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com>
2020-08-03 20:27:52 +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
70babc4b69
Update Sysman frequency API as per latest spec
...
Change-Id: I5bfdb5e5681e9cfa054f48cf8cc4fd8e76740958
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-27 18:31:07 +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
Mraghuwa
b9b34659c8
Redesign ULT by mocking sysfs and implementing for frequency
...
Change-Id: I5979132fc775fe227ed83f4d49f932f4ce2800cc
2020-05-15 22:36:40 +02:00
Bill Jordan
b3b67c39b3
Implement zetSysmanFrequencyGetAvailableClocks.
...
Change-Id: Idb8e9edd89f3d3e228fb51501ae51a872bb60d23
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-05-08 19:03:03 +02:00