Commit Graph

14361 Commits

Author SHA1 Message Date
Dunajski, Bartosz
0592390e2b refactor: print gmm compression settings
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-16 09:14:52 +02:00
Mateusz Jablonski
57e8edc489 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-16 08:51:29 +02:00
Zbigniew Zdanowicz
0b7e6d90a3 refactor: add ail context sync flag
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-10-15 15:10:13 +02:00
Mateusz Jablonski
dae8c34f81 fix: synchronize host and device timers to avoid device timer overflow
Related-To: NEO-8394
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-13 17:40:45 +02:00
Mateusz Witke
34697ac82e ci: kernel revision update to 5107
Signed-off-by: Mateusz Witke <mateusz.witke@intel.com>
2023-10-13 17:25:52 +02:00
Maciej Bielski
1bbc7a4396 fix: of the check if ISA is already copied to allocation
Fixes logic errors:
* When kernel code-sections' allocations are optimized (placed on
a single page) then don't go to outer `else` branch if the section for
a given kernel has already been copied.
* When optimization is not in place for a given module then also skip
kernel code section copying if it has been already done

Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2023-10-13 16:38:40 +02:00
Mateusz Jablonski
3b5dd373a1 test: correct mock behavior in query topology tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-13 14:24:03 +02:00
Dunajski, Bartosz
71e36f85b4 refactor: capability to run multiple targets in unit tests
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-13 14:19:13 +02:00
Mateusz Jablonski
a3faf5dacc feature: Add support for ARL-S
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-13 10:28:21 +02:00
Lu, Wenbin
f7b72a70b6 feature: add wait-on-mem and write-to-mem for imm cmdlists
Related-To: NEO-8849

Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com>
2023-10-12 20:09:03 +02:00
Dunajski, Bartosz
06a02552ce refactor: debug flag to override PAT index for given memory type
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-12 15:47:28 +02:00
Mateusz Jablonski
19aba581d4 fix: remove potential memory leak from OaMetricSourceImp class
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:59:25 +02:00
Dunajski, Bartosz
ae8494d379 feature: dont program redundant in-order semaphore after cmds chaining
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-12 10:49:53 +02:00
Mateusz Jablonski
4be1a8f615 fix: ignore read error when getting bandwidth for DG2
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:37:15 +02:00
Mateusz Jablonski
a420e34b10 fix: explicitly remove assign operators when not needed
when class defines copy/move ctor then corresponding assign operator(s)
should be defined or deleted

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:25:15 +02:00
Mateusz Jablonski
3fdcf049bf fix: set default device hierarchy to composite for all platforms except xe hpc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:09:50 +02:00
Mateusz Jablonski
c5c2e6808e fix: propagate error from getting CL_MEM_ALLOCATION_HANDLE_INTEL info
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:04:01 +02:00
Spruit, Neil R
c8674c16c6 feature: Track IPC Handles in DriverHandle vs Context
Related-To: NEO-9116

- To allow for IPC handles to be shared between contexts, the ipc handle
tracking is now moved to the driver handle to be tracked globally.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-10-11 19:17:47 +02:00
Naklicki, Mateusz
53ec99f27c build: dependencies update
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-10-11 17:50:27 +02:00
Mateusz Jablonski
085a1f0cc3 test: initialize memory that is used for compare
Relatd-To: NEO-9110
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-11 16:38:00 +02:00
Mateusz Jablonski
5c1d82349b fix: set default Xe Hpc core device hierarchy to flat
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-11 16:18:14 +02:00
ocldev
13aabc9cb2 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-10-11 15:15:33 +02:00
Pawel Cieslak
6e481535d0 fix: fix compilation issues when building with clang-16
Related-To: NEO-8284
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-10-11 15:08:01 +02:00
Dunajski, Bartosz
db13d99680 fix: improve in-order signaling for compact event
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-11 15:07:44 +02:00
Mateusz Jablonski
a7e86f40bf fix: use FileDescriptor class to handle open/close file descriptor in PCI/PMT
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-11 14:04:07 +02:00
Milczarek, Slawomir
e3260de8ca fix: clCloneKernel to set kernel arg value with buffer mem object
Related-To: NEO-8927

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2023-10-11 12:55:26 +02:00
Jitendra Sharma
541e4e57f6 refactor: Move Sysman APIs to level_zero/sysman/source/api
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-10-11 11:18:36 +02:00
Compute-Runtime-Validation
55585b1fd8 Revert "performance: Remove tlb flush on DG2"
This reverts commit 3ba8ca47b0.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-11 11:02:41 +02:00
Mateusz Jablonski
61f0c79c24 fix: handle failure on getting CL_MEM_ALLOCATION_HANDLE_INTEL info
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-11 10:33:37 +02:00
Mateusz Hoppe
5558222337 fix: handle completion in OsAgnosticMemoryManager
- add pollForCompletion() for contexts that used allocation prior to
freeGraphicsMemory()

Related-To: NEO-2707

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-10-11 10:24:30 +02:00
Mateusz Jablonski
af275ed341 fix: handle failure on set cache region
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-11 09:07:40 +02:00
Mateusz Jablonski
bede264d0d fix: add unrecoverable to avoid undefined behavior
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-11 08:41:44 +02:00
Compute-Runtime-Validation
dcbf147a52 Revert "fix: add fallback in setting hw ip version for MTL"
This reverts commit 2a5691f340.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-11 05:37:11 +02:00
Compute-Runtime-Validation
52cc796886 Revert "fix: use FileDescriptor class to handle open/close file descriptor in...
This reverts commit 174ec38b52.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-11 03:07:04 +02:00
Latif, Raiyan
dee5ecfdf3 fix: ReturnSubDevicesAsApiDevices flag being ignored
Proper subdevice count being returned now in GfxCoreHelper
path, as previous method ignored the usage of the
ReturnSubDevicesAsApiDevices flag.

Related-To: LOCI-4859

Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
2023-10-10 17:05:00 +02:00
Mateusz Jablonski
c7287f9feb fix: populate map of indices using push_back methods
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 15:50:27 +02:00
Mateusz Jablonski
420f273a6c fix: don't wait on condition in unit tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 15:14:30 +02:00
Lukasz Jobczyk
3ba8ca47b0 performance: Remove tlb flush on DG2
Resolves: NEO-7116

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-10-10 14:36:12 +02:00
Zbigniew Zdanowicz
f26f027ee7 performance: limit monitor fence dispatch only to task count dispatches
Related-To: NEO-8395

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-10-10 14:02:18 +02:00
Mateusz Jablonski
174ec38b52 fix: use FileDescriptor class to handle open/close file descriptor in PCI/PMT
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 12:42:14 +02:00
Mateusz Jablonski
c6cbfc79fd refactor: add wrapper for handling file descriptor of SysmanHwDeviceIdDrm
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 12:37:44 +02:00
ocldev
aa7b669c56 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-10-10 12:01:45 +02:00
Mateusz Jablonski
a7bdd6ee0a fix: add early skip for negative file descriptor in Drm::discoverDevices
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 10:57:19 +02:00
Mateusz Jablonski
a31dd7b454 fix: add unrecoverable to avoid out of bound access
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 10:45:30 +02:00
Mateusz Jablonski
d76145ee65 refactor: correct printf formats
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 10:40:55 +02:00
Dunajski, Bartosz
91aa7fb2fe refactor: print allocation info to stdout if flag is set
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-10 10:22:28 +02:00
Mateusz Jablonski
2a5691f340 fix: add fallback in setting hw ip version for MTL
setup hw ip version based on device id and revision id

Related-To: NEO-8231
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 09:03:44 +02:00
Mateusz Hoppe
92a2d6df27 feature: add bindless addressing support query to releaseHelper
Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-10-09 16:42:56 +02:00
Mateusz Jablonski
099a3f30e3 fix: add FileDescriptor class to ensure file descriptor is closed
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-09 16:23:28 +02:00
Mateusz Hoppe
c2d69e5857 feature: allocate SPECIAL_SSH heap in front window from EXTERNAL heap
- SPECIAL_SSH is used for debug surface SurfaceState which must be
located at bindless offset zero
- limit size of external front window

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-10-09 14:54:39 +02:00