Singh, Prasoon
4475e2228d
[Sysman] Replace normal pointers with smart pointers (7/n)
...
Replacing normal pointers by smart pointers in memory module of L0 sysman.
Related-To: LOCI-2810
Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com>
2023-03-29 10:59:40 +02:00
Bari, Pratik
e813ae0f4a
Added changes for maxBandwidth computation in Memory Component.
...
The memoryBusWidth used for the computation of maxBandwidth has been
changed to 128 bytes from 128 bits. Hence the final maxBandwidth need
not be further divided by 8 to convert it into bytes/sec.
Related-To: LOCI-3833
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-03-23 20:20:59 +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
Joshua Santosh Ranjan
790ef57c3f
[Sysman] Update memory module for zesInit
...
Related-To: LOCI-4118
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-03-15 06:31:43 +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
a2e6a8284b
Cleanup includes 47
...
Cleaned up files:
level_zero/tools/source/debug/windows/debug_session.h
level_zero/tools/source/sysman/memory/windows/os_memory_imp.h
level_zero/tools/source/sysman/windows/kmd_sys_manager.h
opencl/test/unit_test/aub_tests/command_stream/copy_engine_aub_tests_xehp_and
shared/source/command_container/command_encoder.inl
shared/source/command_stream/command_stream_receiver_hw_xehp_and_later.inl
shared/source/helpers/blit_commands_helper_base.inl
shared/test/unit_test/image/image_surface_state_fixture.h
shared/test/unit_test/os_interface/windows/os_interface_win_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-10 17:07:30 +01:00
Bellekallu Rajkiran
47486ca55a
Add support for memory health information
...
Get Memory health information from igsc.
Related-To: LOCI-3395
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-02-02 21:50:36 +01:00
Kamil Kopryk
d2628babbc
refactor: don't use global ProductHelper getter 20/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-30 09:29:18 +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
11764dd9bf
Cleanup includes 40
...
Cleaned up files:
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/wddm/um_km_data_translator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-23 16:19:35 +01:00
shubham kumar
01eb8daea9
Fix to use enum CurrentTotalAllocableMem for size in zesmemoryGetState.
...
Related-To: LOCI-3532
Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2023-01-23 02:20:29 +01:00
Mayank Raghuwanshi
52593fd4f4
Update mechanism for retrieving timestamp for Sysman memory
...
Related-To: LOCI-3679
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-01-17 00:15:44 +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
Puneeth Kumar Reddy D
893c3cdb53
Added debug logs for memory module
...
Related-To: LOCI-3473
Signed-off-by: Puneeth Kumar Reddy D <puneeth.kumar.reddy.devarinti@intel.com>
2022-12-19 18:22:26 +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
Kamil Kopryk
232b886056
Rename HwInfoConfig to ProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-14 14:39:52 +01:00
Mayank Raghuwanshi
69e6c8b1c6
Add support for retrieving max b/w for DG2
...
Related-To: LOCI-3425
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-12-01 10:45:32 +01:00
Mateusz Jablonski
b20e31a636
Add missing include in os_memory_imp.cpp
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-09-22 16:09:05 +02:00
Mayank Raghuwanshi
1e14086405
Add support for retrieving maxbandwidth for different PVC stepings
...
Related-To: LOCI-3416
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-09-16 16:36:45 +02:00
Kulkarni, Ashwin Kumar
1898a82317
Defer Sysman Scheduler and Memory Initialization
...
With this change, init for sysman Scheduler/Memory API would
not be done during zeInit.
init and thereby Scheduler/Memory API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumSchedulers/zesDeviceEnumMemory.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2022-08-03 23:35:54 +02:00
Mayank Raghuwanshi
94177389f9
Update memory transaction size for sysman memory module
...
Related-To: LOCI-3142
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-08-03 11:46:14 +02:00
Mayank Raghuwanshi
e135c0ba82
Update sysfs node to read the memory freq file
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-07-26 10:31:24 +02:00
Mateusz Jablonski
a4e9ede440
Dont use global namespaces of i915 definitions
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-19 13:17:59 +02:00
Mateusz Jablonski
78c96db2fa
Create wrappers for different version of i915 headers
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-18 10:15:44 +02:00
Compute-Runtime-Validation
56a264a33d
Revert "Defer Sysman Scheduler and Memory Module Initialization"
...
This reverts commit e1748ad436
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-18 08:19:58 +02:00
Kulkarni, Ashwin Kumar
e1748ad436
Defer Sysman Scheduler and Memory Module Initialization
...
With this change, init for sysman Scheduler/Memory API would
not be done during zeInit.
init and thereby Scheduler/Memory API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumSchedulers/zesDeviceEnumMemory.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2022-07-15 20:36:03 +02:00
Mateusz Hoppe
5956aea18d
Limit header includes from level_zero device.h
...
- remove including debugger_l0.h from device.h
- add getL0Debugger() to shared NEO Device
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-06 16:41:17 +02:00
Mateusz Jablonski
e67307b724
Add DrmParam enum values for I915_EXEC values
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-15 08:39:39 +02:00
Mateusz Jablonski
747c2d3d83
Cleanup includes in cmdlist, cmdqueue, context, device, driver and module
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-03 02:54:41 +02:00
Mayank Raghuwanshi
d46ed9a217
Fix bitwise operation of timestamp for sysman memory module
...
Related-To: LOCI-3147
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-05-25 11:07:16 +02:00
Mayank Raghuwanshi
bcc543f949
Add zesMemoryGetBandwidth support for DG2 and ATS-M
...
Related-To: LOCI-2574
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-05-07 02:43:00 +02:00
Compute-Runtime-Validation
b91e630bb5
Revert "Update zesMemoryGetBandWidth for PVC steppings"
...
This reverts commit 81544445aa
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-22 10:31:59 +02:00
Mayank Raghuwanshi
81544445aa
Update zesMemoryGetBandWidth for PVC steppings
...
Related-To: LOCI-2999
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-04-22 07:59:11 +02:00
Bellekallu Rajkiran
604f2c625e
Sysman: Utilize Ioctl helpers for memory module
...
Memory module translates memory regions without any
runtime query on underlying hardware/kernel. Use
ioctl helpers for memory region translation.
Related-To: LOCI-3006
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-03-14 16:46:29 +01:00
Bellekallu Rajkiran
01db5ef22a
Add prelim support for memory, engine and scheduler
...
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-04 19:56:30 +01:00
Mayank Raghuwanshi
90963b95ad
Update mechanism for getting subdeviceId and onSubdevice for memory
...
Earlier sysman memory module was using logical subdeviceId
exposed by core to retrieve memory telmetry data, replace
the logical subdeviceId with actual subdeviceId for collecting
telemetry data.
Related-To: LOCI-2828
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-01-28 07:52:47 +01:00
Szymon Morek
2647d563c7
Remove i915 structs from MemoryInfo
...
Use structs defined in ioctl_helper.h instead of
i915 dependent ones to avoid conflicts between
different kernels
Related-To: NEO-6149
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-22 12:46:59 +01:00
Daniel Enriquez
cf70a57efb
Sysman WindowS: Fix Max Memory Bandwidth.
...
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-12-10 00:36:15 +01:00
Szymon Morek
12777bd758
Move MemoryInfoImpl logic to MemoryInfo
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-29 13:13:11 +01:00
Daniel Enriquez
0ce5c6c9c9
Windows Sysman: Updating VRAM memory Type.
...
Adding support for the complete range of memory types.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-11-27 11:51:44 +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
Szymon Morek
d61741dd9f
Refactor memory info
...
Related-To: NEO-6149
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-09-21 11:17:25 +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
Daniel Enriquez
2f0fcf4aee
Sysman for Windows: Fix Free memory from get state.
...
KMD no longer tracks allocation, move to use OS functions.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-08-06 23:33:55 +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
Jitendra Sharma
4c6e38c9e5
Reorganize sysman memory API OS specific files
...
Reorganize sysman memory OS specific files such that
embargo memory files related to OS, would get compiled
independent of SUPPORT_DG1 flag.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-05-12 14:36:44 +02:00
Daniel Enriquez
0afe6b2caa
Extend Support for memory on Sysman for iGFX
...
Changing from discrete to iGFX the Memory Module support.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-04-27 07:16:13 +02:00
Bartosz Dunajski
45b005161a
Dont create VM IDs if not supported
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-14 10:51:56 +02:00