Commit Graph

7370 Commits

Author SHA1 Message Date
33f05a25cd Fix typo
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-21 16:25:17 +02:00
1bba3252bc MemObj uses isRenderCompressed when it's an image
Related-To: NEO-5139

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-04-21 11:56:47 +02:00
c0b1b79a8f Add missing unit test
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-21 11:01:12 +02:00
d2dd2dfb97 Fix linux dll test
- poll() returns 0 or >0 on success

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-21 10:40:48 +02:00
6594119afb Add debugSession interfaces
Related-To: NEO-4516

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-21 08:21:27 +02:00
ef5174f3fc Eliminate wrappers in L0::Context class for driverHandle calls
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 23:50:23 +02:00
01f51ccc5e Update ULT
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-20 17:15:54 +02:00
17565be417 Retrieve model name and vendor name for sysman zesDeviceGetProperties
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-04-20 16:30:44 +02:00
ede866c212 Initialize root device context
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-20 16:10:49 +02:00
699b504378 sysman: add support to enable IFR status.
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-04-20 15:27:09 +02:00
be1346f899 ULT renaming: Gen11-specific tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-20 15:23:32 +02:00
5259428647 Add UNRECOVERABLE_IF to getPeerAllocation()
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 15:18:49 +02:00
c5546a5cfb add method for setting allocation priority
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 15:06:20 +02:00
9a22d06efe Store default engine index per root device
Resolves: NEO-5768
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 14:55:13 +02:00
8da0838ba4 Add debug key to override CSR allocation size
Related-To: NEO-5718

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-20 14:40:59 +02:00
0d85f6ccc7 Add yield() method to Thread
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-20 13:32:14 +02:00
e653699267 Disable monitor fence in Drm ULLS by default
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-20 13:10:22 +02:00
eb03fd7603 Add startAsyncThread interface to DebugSession
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-20 11:24:02 +02:00
a367476558 Disable deferred OsContext creation by default
Related-To: NEO-5610
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-20 10:50:54 +02:00
128cd8a31c Add support for non-IPC P2P access to L0
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 01:05:40 +02:00
b95198bac5 Add relaxed memory support to L0 host allocations
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 00:15:38 +02:00
8a6247d82d Implement ze_device_memory_properties_t.maxClockRate
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-19 22:36:26 +02:00
b5d2d7fc52 Use flushTask() for non-kernel opertaions. Enabled for following APIs
appendSignalEvent, appendWaitOnEvent, appendResetEvent and appendBarrier
except for TimeStamp events.

Related-To: LOCI-1987

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-04-19 22:24:47 +02:00
0b639f49d4 ULT renaming: Device Queue Info tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-19 19:03:54 +02:00
86f9801113 ULT renaming: Excludes
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-19 18:46:21 +02:00
28d32d6c8e Cleanup code and cmake
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-19 18:20:59 +02:00
6a5e5a792d ULT renaming: Capabilities tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-19 16:59:18 +02:00
ffc310858a Add DebugVariable to control opt-disable when debugger is used
Resolves: NEO-5760

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-19 16:41:14 +02:00
e0b5f2f7f7 Add new IO functions
Related-To: NEO-5718

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-19 16:32:33 +02:00
927c097b0e Correct default engine index in MemoryManager
Related-To: NEO-5610
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-19 16:20:33 +02:00
5318ff1872 Defer OsContext initialization
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-04-19 11:54:34 +02:00
b01b8ba5ac Use MI_SEMAPHORE_WAIT command for event synchronization
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-04-19 11:34:52 +02:00
2b956651a7 Mark Shared resource copy allocations as lockable
Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-19 11:16:34 +02:00
b18b4e8ad7 Event: Extending the number of timestamp packets
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-04-17 20:13:15 +02:00
b5545c2a50 Revert "Implement ze_device_memory_properties_t.maxClockRate"
This reverts commit c3b63bd8a2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-17 10:21:25 +02:00
61c08c052f Implement zesDriverEventListenEx
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-04-17 04:25:35 +02:00
ebb1474210 Isolate shared allocations with respect to context
Related-To: LOCI-1996

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-17 03:38:46 +02:00
b168b2083e Refactoring top level cmake
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-16 14:23:08 +02:00
c98352f4bc igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2021-04-16 09:26:16 +02:00
c3b63bd8a2 Implement ze_device_memory_properties_t.maxClockRate
Current implementation of ze_device_memory_properties_t.maxClockRate
is providing max dynamic frequency of GPU not the max memory frequency.
This change fixes that issue.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-16 09:12:29 +02:00
c540af8e5f Fix multidevice support for events
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-15 22:12:07 +02:00
a51ee31500 Add method for unknown kernel arg
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-04-15 16:39:39 +02:00
77b39ea3df Introduce StreamProperties
Split programVfeState function.

Related-To: NEO-4940, NEO-4574


Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-15 16:00:44 +02:00
2f6d1c5f90 Add debug flag to disable out of bound access
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-15 14:00:08 +02:00
9026362b76 Add GraphicsAllocation::isLockable method
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-15 12:14:03 +02:00
83a1a52bdc Flush tlb only when new resource is bound
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-15 12:11:13 +02:00
46c51cb8a9 Sysman device reset stability fix
Close PMT, and PMU fds created during Sysman's init before calling
device reset.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-15 11:53:10 +02:00
c9b5de0f1d Revert "Add GraphicsAllocation::isLockable method"
This reverts commit 48d40ad850.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-15 07:58:35 +02:00
7b974f0ecb Metrics ULT for Metric Groups activate, deactivate & WaitForReports functions.
Resolves: LOCI-2190

Signed-off-by: vinod krishna <vinod.krishna@intel.com>
2021-04-14 23:00:20 +02:00
f30fb9126a Add -cl-kernel-debug-enable internal option when -g is passed to ocloclib
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-04-14 16:25:42 +02:00