Maciej Plewka
971969ba15
Link shared mocks to shared tests
...
Change-Id: Id3bd943e8f0a430cd672b08a5f088027005e36a6
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-10-14 18:39:58 +02:00
Spruit, Neil R
53a99f6772
Fixed 2D/3D copy to use aligned pointers and offsets in kernel programming
...
- Fixed the 2d/3d copy to correctly pass the aligned allocation data to
the kernel programming of the buffer surface states otherwise unaligned
host ptrs cannot be used.
Change-Id: If62e9321d572a786999a5ead8303f11e2e9a3c8d
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-10-14 17:53:40 +00:00
Slawomir Milczarek
eb8f5fa301
Get CL Device Name with device ID appended at the end
...
Related-To: NEO-4744
Change-Id: I8a9a791a634f9c0c444695036d96e3c959c90de0
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-10-13 14:00:33 +02:00
Jitendra Sharma
483447238a
Add sysman handle for subdevices
...
Change-Id: I0f6986e7f5ed424ee2af759a5e70587289e1987b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-12 20:23:29 +02:00
Bartosz Dunajski
27f9a95af2
Refactor: Common helper for Blit and CPU memory transfers
...
Change-Id: Icc61f82517e75e3066e441494af3bf9a7ffbbeef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-12 18:29:42 +02:00
Vilvaraj, T J Vivek
113a5170b1
Implement zesDeviceGetState() API
...
Change-Id: I035bdd0ddd7b8bdf6054c743a9f2723ee292a897
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2020-10-12 14:27:19 +02:00
Mateusz Jablonski
633cb3a243
Restore self-open ze_intel_gpu library on Linux
...
Change-Id: I3110c9b36d3cca660e87f3eae969d621dd6fe230
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-12 14:20:33 +02:00
Kamil Diedrich
9e463ab45f
Track all ssh in cmdList
...
Change-Id: Ibffb7b7b406e5e17d4ffb971fd0789557c879367
2020-10-12 12:12:12 +02:00
Mateusz Jablonski
e48c056b9f
Simplify exporting functions in level zero
...
Don't self-open library
Change-Id: I94f69498b089746f0902953735321d69fdba563f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-09 16:41:42 +02: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
Maciej Plewka
2ebee73e4b
Unify bindless debug flags
...
Change-Id: I6a9313722eed01b935707e93cad532adddcc78af
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-10-09 14:49:50 +02:00
Zbigniew Zdanowicz
bf32740f97
Move BTI programming to shared code
...
Change-Id: Ie9d67c1d883f24cfec13ea1618d834d746c0d5be
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-09 13:56:44 +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
mraghuwa
2643346b48
Update Sysman RAS Module
...
Change-Id: I2b99dae4336811ea4b539da48c1434657a9cf62a
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-10-09 08:23:19 +02:00
Kamil Diedrich
960860e4cb
Fix reservation size
...
Change-Id: I1cc3d4405b00365908c5915c9d2a1c512d572530
2020-10-08 10:57:08 +02:00
Kamil Diedrich
67e2853857
Add missing mockable_virtual in code
...
Change-Id: Ia8d041b68163a99cf4e9e399e825d39798425544
2020-10-07 14:25:04 +02:00
Kamil Diedrich
ce7e293a99
Extend scratch implementation
...
Change-Id: I1bbc0c9be287b1411276b1e61a7ec1c8db238f3f
2020-10-07 11:39:04 +02:00
Kanhaiya
c4a910d911
cleanup of Sysman code to pass by reference instead of pass by value
...
Change-Id: Ie4537c7e45730afe98da3886831fd71ff5b96960
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com >
2020-10-06 18:36:03 +02:00
Jitendra Sharma
cfb1fec19a
Implement sysman power set/get limit APIs
...
Change-Id: I35232902cf96d20594adbd128064c362cf154711
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-06 17:33:11 +02:00
Kanhaiya
da3bc90df3
Cleaning the zello_sysman.
...
Change-Id: If9eef0404b0b3f550ad222e148923fda8367bdbd
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com >
2020-10-06 16:57:55 +02:00
Maciej Plewka
4dc3827b8e
Prepare object lib for precompiled builtins in bindless mode
...
Releated-To: NEO-5138
Change-Id: I18e564a9e32041fba5e887bc18d2195a1c4ddda8
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-10-06 16:57:11 +02:00
Jitendra Sharma
1962a89b05
In Sysman fix C++ programming warnings
...
Fix warnings related to unused/uninitialized variables etc.
Change-Id: I2e75ede434442d7b99d6e28253e7811aac205323
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-06 16:35:53 +02:00
Andrzej Swierczynski
bdf8c5fc90
Extend UnifiedMemoryProperties constructor to take device bitfield
...
Related-To: NEO-4722
Change-Id: Ice185f1792635922e9bb89cd7329e6501bc585e0
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-10-06 16:35:08 +02:00
Konstanty Misiak
ff85c29e5c
Do not recompile kernel if intermediate is empty
...
Related-To: NEO-5020
Change-Id: Ie71e1ac67a74309a90a899adb830a551922c5f35
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-10-06 13:47:25 +02:00
Maciej Dziuban
138f04bdcd
Enable L1 cache for Tigerlake
...
Change-Id: I33513ed084f9d06ceca11315cac03f1b682db535
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-4832
2020-10-06 13:26:54 +02:00
Bill Jordan
909107cab6
Fix zesDeviceReset for Spec version 1.
...
This patch does the following:
- Fixes a bug in FsAccess::listDirectory that could return
ZE_RESULT_UNKNOWN_ERROR when no error has occurred.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false, even if the device was in use.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false without closing the file descriptor.
- Added a releaseResources method method to Device object.
This method does the same thing as the DeviceImp
destructor except it does not free the DeviceImp object
and it does not free the SysmanDeviceImp object.
- Added the releaseResources methods to Mock<Device> object.
- Moved the reset of the debugger out of DriverHandleImp
destructor and into DeviceImp releaseResources.
- Added a releaseEngine method to the EngineHandleContext. This
method frees all the Engine handles.
- On reset, I call the Devcie->releaseResources and
EngineHandleContext->releaseEngines before resetting the device.
- Added a -r (--reset) option to zello_sysman so I
could easily test resets.
With these patches, the L0 Sysman CTS for zesDeviceReset
both pass.
Change-Id: I31fad1b27bc5cc6befe31cd6f9319748e2683424
2020-10-05 19:55:14 +02:00
Michal Mrozek
5386f8be86
[L0] Optimize cache flush while waiting on events.
...
- do it only once
Change-Id: I0822b4f2acd9e281132447da65f563a635967905
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-10-05 13:12:56 +02:00
Jaroslaw Chodor
746cf7fd33
Reuse old build options if new ones are NULL
...
Change-Id: I435e7ec8554b0429dcf4f6f8d9d4fd80e70b68c6
2020-10-04 16:54:02 +02:00
Jaroslaw Chodor
df2e76f526
Fixing residency of extern device functions
...
Change-Id: Icad696cbf6fb3fc0276f0d0d488bf92091525d9b
2020-10-02 12:27:59 +02:00
Jaime Arteaga
9f9bf38d64
Copy user buffers when not accepted by Kernel
...
When performing copy operations to or from buffers allocated by the
user, it could happen that the buffer address is not accepted by
kernel, even though the buffer is valid. In those ocassions, then
allocate a new graphics allocation and copy the user buffer.
Change-Id: I6b1b6f2ef5fea0acf32c868bc87eafe8746f9a79
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-02 10:03:18 +02:00
Zbigniew Zdanowicz
18ccd448f2
Unify programming of semaphore command
...
Change-Id: Iae9060935554df366d9687e9f16c3b5dce9155ee
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-01 16:26:33 +02:00
Zbigniew Zdanowicz
9b057cfdac
Rename blackbox test to avoid collision with loader sample of the same name
...
Change-Id: Ia8b8f7bc0a80520f7cbbe4447eb651858c711ce9
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-01 11:42:39 +02:00
mraghuwa
78feb47d6c
Add subdevice support for standby
...
Change-Id: I4209d11a8305ba524e56cddbee5ad3432b32554f
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-09-30 15:03:14 +02:00
Jaime Arteaga
3015b95752
Revert "Link zello samples to ze_loader"
...
This reverts commit d0e1d5cffb .
Change-Id: Id66620e50e770492e4fa99e734eaf2b39729210f
2020-09-29 10:14:36 -07:00
Vinod Tipparaju
deb4cc2444
Reset cmdList - genericMediaStateClear not required during programSBA
...
This resolved regressions on Linux/ Windows for SYCL/L0 applications.
Change-Id: I26bd75a0473a5ceace1321d6b3f9613ce2cc5d9d
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-09-29 17:09:44 +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
SaiKishore Konda
e28f937683
Add SubDevice support for Sysman Memory module
...
Change-Id: Iec5918486fc2c00e14de074aca18e6de63ba1600
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com >
2020-09-29 11:36:21 +02:00
Daniel Enriquez
2d27570292
Fix current voltage unit problem, returning Volts now.
...
Change-Id: I257e431f5dbc4d71191ce50750791746d8bba8d9
2020-09-29 01:48:35 -07: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
Aravind Gopalakrishnan
79498dee93
Write global timestamp for copy engine
...
Change-Id: I6953ed787d7e21defcec07549c436c8b280be521
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-09-28 21:45:53 +02:00
Jaime Arteaga
d0e1d5cffb
Link zello samples to ze_loader
...
And make L0 Core samples to be built on Debug, as it is with
zello_sysman
Change-Id: Ie1e6b0a766237006916769e7347fcd2219058e2b
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-28 20:09:35 +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
Sebastian Luzynski
d24850cff3
Alter API with additional kernel exec info.
...
Related-To: NEO-4875
Change-Id: I10a5e3bfc32be520c3554c992dc36591fc1ff599
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2020-09-25 13:00:24 +02:00
Jim Snow
9f858c29a2
Enable internal image creation to return error codes
...
Change-Id: I20f28b57f3cd96245ce2dc1657ef2b40e63c0bc0
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-09-25 12:07:07 +02:00
Spruit, Neil R
7ea864cbd2
Update Kernel Buffer Argument given nullptr value assignment
...
- Given a nullptr Arg Buffer value, the argument value in cross thread
data must be updated to be a nullptr value especially given the argument
could have been set previously to a buffer that may not exist or should
not be used during this call to the kernel
Change-Id: Ie3a03ce25a4bb0b5e186863cc912a55863d0fb69
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-09-25 00:43:00 +02:00
Vinod Tipparaju
8d0df0c8a7
Reset cmdList - Fix to set genericMediaStateClear bit during programSBA
...
This resolves corruptions by flushing ID cache on HW
Change-Id: I56919360ac126cec67c5cbcf6380acfd72e0bcdb
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-09-24 13:42:04 +02:00
Aravind Gopalakrishnan
72c91c2f13
Do not program SBA for copy engine
...
Doing so causes hangs when reusing a copy command list
Change-Id: I1bd069942e9caee01636497f992dd35cbedcde1b
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-09-23 08:31:21 -07:00
Bartosz Dunajski
bb788b4cc4
Copy ISA on CPU if BCS is not supported
...
Change-Id: I18b0bea70a0104dfa3f930ee360b9967f8d615be
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-23 16:47:02 +02:00
Kanhaiya
723e852c09
Moved all the constants used in sysman to the single header file
...
Change-Id: I0bfa02e68c9aba1cc5d3105c37630b30b03e1b54
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com >
2020-09-23 14:35:13 +02:00
Bartosz Dunajski
2a69b1ed78
Select correct heap base address for ISA
...
Change-Id: I400f965faa4615519729756daa78350a46c46ff2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-23 14:21:22 +02:00