Jaroslaw Chodor
8deb4bcdba
Adding helper for QUERYREGISTRY_DRIVERSTOREPATH
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-22 16:31:20 +02:00
Mateusz Jablonski
52301e6a40
Initialize all members in Gdi class
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-22 15:46:35 +02:00
Mateusz Jablonski
c5546a5cfb
add method for setting allocation priority
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 15:06:20 +02:00
Mateusz Hoppe
0d85f6ccc7
Add yield() method to Thread
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-20 13:32:14 +02:00
Maciej Dziuban
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
Maciej Dziuban
fd9fb3e46b
Remove isInitialized() method from OsContext
...
We can fail early, instead of constructing an invalid object
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 14:12:20 +02:00
Maciej Dziuban
5f9dbef401
Pass alignment to Gmm
...
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 13:40:43 +02:00
Bartosz Dunajski
f8f8b53d95
Improve OsHandle struct
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-02 18:42:16 +02:00
Spruit, Neil R
7a3095c273
Report failure given Compiler Library Load failed for L0
...
- Return ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE given the Compiler
cannot be loaded.
- Print dlopen and LoadLibrary error strings given Debug Print Messages
are enabled.
Related-To: LOCI-1313
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-04-01 23:01:38 +02:00
John Falkowski
218387dd47
Apply timerResolution mod for L0 V1.1
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-03-27 11:43:03 +01:00
Maciej Dziuban
264f20ea00
Pass EngineTypeUsage to OsContext creation
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-03-16 10:21:18 +01:00
Katarzyna Cencelewska
d9172c9b7f
1Mb alignment support in OsAgnostic path
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-03-10 10:56:25 +01:00
Mateusz Hoppe
8f87dfaf0c
Add Debug API handlers
...
Related-To: NEO-4554
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:26:43 +01:00
Spruit, Neil R
464e4fd1b1
Fix GMM usage in 1D image allocation on windows
...
Properly use the gmm resource created for the Image allocation
instead of the gmm resource created in allocateGraphicsMemoryWithAlignment
in the windows wddm memory manager by removing the call to
allocateGraphicsMemoryWithAlignment for 1D images.
Invalid ULT testing this functionality has been removed.
Related-To: LOCI-1845
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-02-26 11:58:27 +01:00
Piotr Zdunowski
a555f28bf8
Don't unregister trim callback during process shutdown.
...
Resolves: NEO-4668
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2021-02-17 17:29:19 +01:00
Mateusz Hoppe
06bcc67e38
Clean log file from incorrect entries
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-15 13:05:29 +01:00
Sebastian Luzynski
0526910f6f
Check if additional flag is required
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2021-02-10 13:51:05 +01:00
Maciej Plewka
51e073af73
Revert "Extra checks for gen12lp"
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-02-04 18:02:30 +01:00
Sebastian Luzynski
22c25a231e
Extra checks for gen12lp
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2021-02-04 11:23:15 +01:00
Mateusz Jablonski
2b0b2231a7
Windows: Use timestamp frequency from adapter info
...
Related-To: NEO-5435
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-01 20:14:44 +01:00
Mateusz Jablonski
4417537eb5
Add function to adjust timestamps on Windows
...
Resolves: NEO-5435
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-01-26 17:46:04 +01:00
Piotr Maciejewski
4a5599b1ee
L0 Metrics Api: multi adapter support
...
Switching to Metrics Discovery adapter interface.
2021-01-13 22:45:59 +01:00
Maciej Plewka
3ca77a6cbe
Program sba for global bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-01-04 14:23:47 +01:00
Mateusz Hoppe
b9aee10679
Initialize internal heaps with at least minAddress from Wddm
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-04 13:13:13 +01:00
Maciej Dziuban
b5c899cd18
Fix disabled unit test
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 17:52:34 +01:00
Bartosz Dunajski
ba51cf5380
Bring back adjustPlatformForProductFamily() method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-20 15:26:28 +01:00
Bartosz Dunajski
949137e068
Remove not used method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-19 17:55:50 +01:00
Bartosz Dunajski
40d5cc71c9
Windows includes cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-09 14:35:38 +01:00
Katarzyna Cencelewska
e060536a32
Add check in allocateGraphicsMemory64kb to not use cpuPtr
...
when isRenderCompressed
Related-To: NEO-4532
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-11-06 17:14:07 +01:00
Mateusz Hoppe
4df533f63a
Use full path when loading SourceLevelDebugger library
...
Change-Id: I27f7ee2b8944b9890ab4b141c06e9c2f0a8dffb1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-01 18:18:38 +01:00
Bartosz Dunajski
d35806fdd8
Improve returning global and max alloc memory size
...
Change-Id: I2f22481412184f01652b7e49bc30a57c56e6204b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-30 15:58:42 +01:00
Mateusz Hoppe
19d3fa73bd
Rename flag to use32BitFrontWindow
...
Change-Id: I3ecffcce2586f7164577edd3ae4d473ac68a3185
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-21 12:38:33 +02:00
Mateusz Hoppe
067ae67954
Introduce FRONT_WINDOW heaps inside INTERNAL heaps
...
Related-To: NEO-4550
Change-Id: I1979afb20881bcad7999af3ac5fd4f407b85ccc7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-15 17:18:31 +02:00
Bartosz Dunajski
fb0651521d
Linker: Fix incremental patching for local memory allocations
...
Change-Id: Ib85e4a2abc8a62477003853aa0c35f8107444f4e
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-09 09:13:42 +02:00
Igor Venevtsev
bd9695a19a
Get rid of UNRECOVERABLE_IF in MemoryManager constructor
...
Related-To: NEO-5053
Change-Id: Ibf955c760e61e34c4d38cbb5071ef712bae1c518
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-10-07 11:18:56 +02:00
Katarzyna Cencelewska
ee63b7a840
Initialize storageInfo for new create allocation
...
in WddmMemoryManager::allocateGraphicsMemory64kb
Change-Id: Ie7ef14f2960c3923014941882c63f116ef265d74
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-09-30 13:07:50 +02:00
Maciej Plewka
e34c319ed7
Special address pool at External heap begining
...
Change-Id: I7da6e67010ff7a819aec25abea9213b6e43e348e
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-09-29 07:51:12 +02:00
Bartosz Dunajski
55bd544402
Lazy evaluate arguments of printDebugStrings(...) function
...
Change-Id: Ie44e109fd9235c5df32fb90b9e6fc6058e558a99
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-25 18:38:58 +02:00
Zbigniew Zdanowicz
3b6f9b7cb6
Add implicit flush for new resources and idling gpu
...
Related-To: NEO-5100
Change-Id: I57fdb8eecd88124c4c9171014950554c35dbecd1
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-09-22 21:50:02 +02:00
Mateusz Jablonski
98c9e3f6ca
Verify GL sharing based on luid from wglGetLuidINTEL function
...
Related-To: NEO-5016
Change-Id: I4409132ce000d6052c7f69a9b19c01389d51c2de
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-18 09:51:28 +02:00
Lukasz Jobczyk
a528908cbd
Unbind unused resources when running out of memory
...
Resolves: NEO-5052
Change-Id: I3a07221b800317c79e65396443933d13d334a274
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-09-17 12:59:45 +02:00
Jaime Arteaga
5c1e60208e
Share USM host pointers among devices (2)
...
Dont pin and instantiate buffer objects associated with a USM
allocation for device >0 at allocation time, but instead, just
do a USERPTR ioctl, as with the allocation associated with
device 0.
Change-Id: Ib37f379df177d14e9d2781a3ed6335cd9550cc87
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-09-04 12:10:06 +02:00
Spruit, Neil R
3c44c6f942
Fix Windows Adapter Enumeration to ensure Render/Compute support
...
- On Windows, if one uses remote desktop to connect to their windows machine,
then attempts to run compute workloads, a shadow intel graphics device
is created and L0/OpenCL will report 2 devices for a single device.
- This second device is not valid and if used will cause workload failures.
- to ensure that only usable devices are reported by L0/OpenCL, we now check
the Adapter for its Support in D3DKMT_ADAPTERTYPE which for our use must
have RenderSupported. The Shadow devices only support display and not
rendering/compute, so this check will avoid reporting a display only
intel device for compute usage.
Change-Id: Ib619c454aea2deb91135e7958efbca1cee5a05eb
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-04 12:00:47 +02:00
Mateusz Jablonski
442b6cfc47
Verify GL sharing based on primary display's luid
...
Resolves: NEO-5016
Change-Id: I244536fdd8acacfeb423ae09e13191df66c4f74a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-02 17:14:13 +02:00
Maciej Plewka
a779e44b52
Support for dsh and ssh on external heap in L0
...
Related-To: NEO-4724
Change-Id: I85c2effea8a99bebaf9e3db33129641f37dcabe5
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-08-30 06:56:52 +02:00
Igor Venevtsev
eeb30f960a
Fix large graphics allocations split on Windows
...
1. Canonize reserved gpuAddress
2. Do not check allocation type for host pointer allocations
Related-To: NEO-4479
Change-Id: I4789ff2b1bada0c955ab6ad5a282efbb15be35e5
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-08-26 18:00:54 +02:00
Mateusz Jablonski
6870104a1a
Pass maxOsContextCount to GraphicsAllocation
...
Change-Id: I4f327866433fe9b0cc0a6191336b54a9d2282702
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-08-26 09:57:15 +02:00
Jaroslaw Chodor
39f42b20ba
Require OpenCLDriverName in DeviceRegistryPath
...
Change-Id: I93a8ca95082f6ddb48adffe33145568f32d77418
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-08-24 08:21:20 +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
Mateusz Jablonski
2f761b92e5
Pass maxOsContextCount to WddmAllocation ctor
...
Change-Id: I8cb72efb51d8b7817cf3572dbbf92796c99da58e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-08-19 12:31:59 +02:00