Commit Graph

472 Commits

Author SHA1 Message Date
Vilvaraj, T J Vivek
831e87eef8 Sysman memory modification based on product.
Change-Id: I01f4c3cc6fe2376293d48131492f9d686fbdb5ae
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-09-03 21:41:04 +02:00
Kamil Diedrich
57269b97a3 Use global timestamps instead of local
Change-Id: Ie39b242915a55aef60fcf7164199647299c91a21
2020-09-03 16:39:36 +02:00
Jitendra Sharma
79ba0ff1f9 Dont report error if i915 engine class didnt map to L0 Sysman's engine group
Change-Id: I6b39494b80ec3c257be427bb1e250b8fb4472771
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-03 14:00:39 +02:00
Vinod Tipparaju
083edd1a3e Thread safety violation fixes - Events & USM
Change-Id: I57de59f204d9fd4407be768d0b14bf579dae967d
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-09-03 08:54:34 +02:00
Aravind Gopalakrishnan
3b6786aeb9 Remove dead code
Change-Id: Ifbf2c85aabfeb8c14d946753c61a22ce6a8d2685
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-09-02 20:49:19 -07:00
Aravind Gopalakrishnan
a7d1952cef Allow reset for event of timestamp type
Change-Id: Ibca2029344a918d9f51b61fe7aac706b1e4abbe0
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-09-02 20:11:34 +02:00
Piotr Maciejewski
a65b0eb9ab Release temporary metrics library during zeInit
Change-Id: Ieb399208377085821319f1bcf29589620390c536
2020-09-02 04:15:39 +02:00
Mateusz Jablonski
40d487fa90 Add global destructor of platforms
Change-Id: I7f0c9a9a13cae5cbf831e0d4e410c78c001a75d1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-01 17:26:17 +02:00
Jaroslaw Chodor
0dd621be84 Make allow-zebin an opt-in
Change-Id: Id14ee231943f4c20797a934a9fb914398ff83cc4
2020-08-31 16:01:27 +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
Daniel Enriquez
f891708e3f Adding support for Fan component to Sysman.
Change-Id: I0b99bcd542396471b6eab3f9b0b215bedcde7640
2020-08-28 23:55:23 +02:00
Daniel Enriquez
c7037aca4d Enabling Windows Pci component.
Change-Id: Idfd1acb8f257ab91dd28707f0b42b3da3981214e
2020-08-28 23:48:13 +02:00
Mateusz Hoppe
821a8d2586 Removing unnecessary files
Related-To: NEO-4874

Change-Id: I2059ac08539d3b906203f05ef9927bd0749007ae
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-08-28 15:32:19 +02:00
Artur Harasimiuk
0dbcac46bd includes refactor
Change-Id: I4dd85112b20b26fe1ecc95b8098cb160548db1d4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-08-28 14:53:14 +02:00
SaiKishore Konda
8f52561307 Multiple engine support for Sysman Engine API
- multiple engines support for Sysman Engine API
- added engineQuery support
- opencl ULTs to validate engineQuery
- Sysman ULTs to validate engine APIs

Change-Id: I3b4d3a96a4cdca7dd9957f6a57f7b1bf900582d3
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-08-28 13:36:31 +02:00
Jaroslaw Chodor
e16f430ecc Pass flag to IGC to allow zebin in L0
Change-Id: I8793c4e58966a5527b1d1f37bf0b54f03bf1f976
2020-08-28 09:11:42 +02:00
mraghuwa
9f7a97ac5b Return Unsupported feature when sysfs nodes are absent
Change-Id: I69c1447bb65e2be074d338e910223c3b8c2e9c55
2020-08-26 21:29:54 +02:00
Jacek Danecki
a21e43b3ae stop building on Ubuntu 19.10
Ubuntu 19.10 is EOL

Change-Id: I325d484593e411bb560976875f8bf5c02573b52e
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-08-26 13:29:35 +02:00
Piotr Maciejewski
dcb5353200 Metric Api: execution query implementation.
Allows to skip workload execution between query begin / end.

Change-Id: Ice462f15eb828be1634d38027b7228f72dd96c55
2020-08-25 19:40:32 +02:00
Mateusz Hoppe
96cbda18bb Remove not needed cmdQ descriptor pointer from cmdList
Change-Id: Ib1bff6ca676f51120a950959ea97f73a8d59c5bf
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-08-25 08:37:36 +02:00
Jaime Arteaga
9d8ab90dc6 Use reg key to disable copy groups
Change-Id: Ia7de2166789bee7395caaefeeaf138b2eb24cecc
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-25 07:52:25 +02:00
Aravind Gopalakrishnan
78824a3be1 Allow signals for event of timestamp type
While at it, fix event of timestamp type failing
to correctly report completion

Change-Id: I3ed6e804ab81dc3c3758093fe04e696decb3d82f
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-08-24 20:21:34 -07:00
davidoli
fea75ec3d6 Re-enable several driver initialization tests.
Change-Id: Id56c9ab3403ba4c1039b8cf99fe93f27055676b1
Signed-off-by: davidoli <david.olien@intel.com>
2020-08-25 00:34:50 +02:00
Mateusz Hoppe
5a3a4537f9 Fix tracing tests
Related-To: NEO-5009

Change-Id: Ib825b5bafeaffbb77a97de58311fe5883dc0878c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-08-24 16:08:48 +02:00
Mateusz Hoppe
75710fead9 Enhance SBA tracking
Related-To: NEO-4637

Change-Id: I0cd0cf17bac332f1a00c10a324f94e91fe031c0a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-08-24 14:54:02 +02:00
Matias A. Cabral
9edbe1dd11 Do not check sysman env var in engine code
Change-Id: I40caa382024465ff3ca466369f152d0c1d6fac0a
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com>
2020-08-24 10:21:19 +02:00
davidoli
e729995f2c Tracing wrapper ULTs added to master branch
Change-Id: Ib502bcf4c21408b75703e87b7377f09b4dae3677
Signed-off-by: davidoli <david.olien@intel.com>
2020-08-22 19:57:04 +02:00
Mateusz Hoppe
55a6525b34 L0Debugger fixes
- add Sba buffer to residency container of cmdQ
- allocate debugSurface
- add printing SBA tracked addresses

Change-Id: I3eb4d918b99dfadd737d8f9f8174e94b1a620125
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-08-21 10:41:15 +02:00
Piotr Maciejewski
c3790388b8 Metric Api: checking paranoid mode during zeInit
Change-Id: I9e53f5707a959a6a2f598995495c484b72ff1931
2020-08-20 22:49:57 +02:00
Jaime Arteaga
a34ee242d9 Fix query of floating-point flags in module properties
Change-Id: Iec1bf8c6cc4e8c351e94d2a74743ac76e4a91875
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-20 20:11:21 +02:00
Krzysztof Gibala
44d1ec2e23 Change L1 cache setup
Related-To: NEO-4942
Change-Id: I9f8c3a5aa4d3dee57595ac287df64d8c9b41a9cb
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-08-20 10:20:40 +02:00
Jaime Arteaga
da0ee40994 Fix typo in appendMemoryCopyKernel3d
Change-Id: Iee282026dc45d6eebfd5c5b59329612a7859ff73
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-19 16:31:18 -07: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
Kamil Diedrich
62428505c5 Use suggest groupSize in appendQueryKernelTimestamps
Change-Id: Ic4f0a5a47dfbf564b61baa2fbb2c03c0b5db4b14
2020-08-19 13:44:46 +02:00
Daniel Enriquez
c24c629cfc Enabling Temperature for Windows.
Change-Id: I0a4e51448d56a083ae5ecbda5106db981f5cd028
2020-08-18 22:45:04 -07:00
Jaroslaw Chodor
d71e2e3b22 L0 Zebin fix for target detection
Change-Id: Ic57d70007ae7d78b1375bc75f2d806d71351d6fe
2020-08-18 23:03:39 +02:00
Daniel Enriquez
d36c013acf Enabling Power Component for Windows.
Change-Id: I67a170279994e5637e353c9eca9fff04fb02d87e
2020-08-18 18:59:39 +02:00
mraghuwa
4b8d4285d7 add getDeviceHandle() at OS specific level
Change-Id: I95fc24043f8f603d6270323b0f23a78f9d8ad2f1
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-08-18 17:11:22 +02:00
Aravind Gopalakrishnan
649dfb93ee Set device property flags
Change-Id: I657a6b86c9f09e125b23428924605dbb175d294b
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-08-18 17:01:55 +02:00
Jaime Arteaga
8ee765d1a8 Use level-zero affinity mask 1.0 format as default
Change-Id: I2dd3e362c540dddcb89a88a43f582c57aaa2f58e
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-17 08:07:51 -07:00
Kamil Diedrich
0105960e13 Add appendQueryKernelTimestamps API
Change-Id: I44b1d34a822b74a5c3404da62962ec324079744b
2020-08-17 15:52:07 +02:00
Kamil Kopryk
7d4b3dc9f0 Split test_cmdlist_1.cpp file
Change-Id: I09ce52a1a9d4ccef3bd7c9637563d10b57313f2c
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-08-16 17:07:02 +02:00
Jaime Arteaga
c1e4e5152b Add support for queue groups (3/N)
- Select correct NEO device in when more than one subdevice available.

Change-Id: I3b5823c12310fde1c6a4e3c5870cbcd5e691ba86
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-14 19:26:05 +02:00
Vinod Tipparaju
6570a7a828 ULT: zeCommandListAppendMemoryCopyFromContext for Immediate CommandList
Change-Id: I377d4a76a4621373aed4e4b59bd82eb494fee9d6
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-08-14 18:56:37 +02:00
Jaime Arteaga
cc3186c413 Add support for queue groups (2/N)
- Correctly store available groups in vector passed by user.
- Some cleanup.

Change-Id: I4d3f24a4af38fed261809edf85ac043eba4d831f
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-13 13:21:07 -07:00
Spruit, Neil R
e7fd522c5d Return ZE_RESULT_ERROR_UNSUPPORTED_IMAGE_FORMAT for unsupported images
Change-Id: I731c50be70019fa95d57f71489f31aae6a4ba9a5
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-08-13 19:12:28 +02:00
Kamil Kopryk
8fffdcc111 Add adjustPlatformCoreFamilyForIgc helper
Change-Id: Ic372e76c1024ca9e585bef15fab29827d33122f3
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4865
2020-08-13 17:31:13 +02:00
Jaime Arteaga
5b50575c23 Use internal engine if selected for immediate list
This ensures internal for instance that the list used for the
page-fault manager uses the internal engine, rather than one
used by the application.

Change-Id: I531d5c9d31c75ea9de14ac0439a4da01c688e91b
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-13 16:20:09 +02:00
Mateusz Hoppe
2990de538f Pass correct descriptor when creating pagefault cmdList
Related-To: NEO-4978

Change-Id: Ib6631407908ad3a86b8dc734e5f3f34bef636743
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-08-13 13:51:01 +02:00
Mateusz Jablonski
75c6be9e5b Add executable flags to shared libraries
Change-Id: I07c75847c75c883c90aeba0207e6b4a7b29d349a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-08-12 15:09:21 +02:00