Commit Graph

1396 Commits

Author SHA1 Message Date
Artur Harasimiuk
31bf5b9b43 disable automatic shared libraries dependency detection for RPMs
Change-Id: I439d5ab66a7ea505bc3ecb144053646682a5c9e3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-18 19:46:05 +02:00
Artur Harasimiuk
7cee7e96ab package: fix 3rd party libs bundling
This will be removed very soon however we need this change to make
package working correctly.

Change-Id: Id02e11b6f6090089f622a5cd19c4490c1d3de0dd
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-18 18:07:49 +02:00
Maciej Dziuban
ac2c2763ab Add osContextsCount argument to WddmAllocation's constructors
The argument is not anywhere yet, this is just a preparation
step for future change.

Change-Id: I5a441352cb5cf10d1a0ff31933041ff9521d0307
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-18 17:19:50 +02:00
Dunajski, Bartosz
ef65e6433e Improve EnableTimestampPacket debug variable usage
Change-Id: I864f0dc756a7fe17a08d1bcca2d91e9b78fb730a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-10-18 14:25:46 +02:00
Maciej Dziuban
de5ed6509f Move WddmResidencyController to OsContext
Change-Id: If27d52617dec9b290b7eccc7cb4a6ae5037d7112
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-18 10:59:52 +02:00
Artur Harasimiuk
d924b890f2 infrastructure update
Change-Id: I420fb36aac1926d5ed4b911927b34d5dbc1798ab
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-17 23:47:10 +02:00
ocldev
52b00f95bd igc revision update
Change-Id: I5ea1c8072322c674146031e93af58b7b2faa0188
2018-10-17 19:31:53 +02:00
Filip Hazubski
91f540f437 Move HW specific KernelCommandsHelper functions to a separate file
Change-Id: I04b0c0faaa7ff42e62c3d1765e6ba54c76ae2ee0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-10-17 16:48:11 +02:00
Pawel Wilma
17a0a7ecb8 Append internal options from file instead of replace
Change-Id: Ic3353e95b71e6227a9dda2afc7d940d8cd0575e2
2018-10-17 13:55:30 +02:00
Artur Harasimiuk
4828c7476c cmake/package: set proper permissions for scripts
postinst and postrm scripts should have execute permissions

Change-Id: I7c3c905a28e8b066de4b67a7c52e55496d9b591e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-17 13:26:00 +02:00
Artur Harasimiuk
b331046fde append architecture suffix to generated tar package name
Change-Id: Ic1066418ce76ead8a6115aa3978b0428f8e73ed1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-17 10:32:24 +02:00
Napiatek, Henryk J
840dd305b7 Fix bug in setup of Windows unit level tests
The fix allows repetitive execution of tests under Windows.

Change-Id: Ie65ed5af76f550c0a48fcef88c5824e503614e5d
2018-10-17 09:53:56 +02:00
Hoppe, Mateusz
fb19b10c5f Manifest update
Change-Id: I2f9eae1349119213870ce6fd19f87aca7037c235
2018-10-17 09:33:07 +02:00
Dunajski, Bartosz
6d610983f1 Deferred Pipe Control programming and CSR flush on Barrier request
Change-Id: Iabae0f9159bb455518cedf7da068c7d3da72b840
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-10-17 09:31:34 +02:00
Adam Cetnerowski
7a476b7bc1 Correct HostPtr and flag usage in clCreateImage:
- Disallow HostPtr flags, when HostPtr is null
- Require HostPtr flag, when HostPtr is not null

Change-Id: I8f198b7c3d4052128032e1f0575b19e7af6ffac9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2018-10-16 17:43:59 +02:00
Mateusz Jablonski
9c06e1dc5b ULT: Don't override memory manager if not needed
Change-Id: I63cb7dc642bdf620437ea7d264af1913027c788a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-16 17:26:23 +02:00
Maciej Dziuban
9399215931 Unregister trim callback
Change-Id: Ia6592d259a573cbc7161443945d03f6a83e88181
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-16 16:55:15 +02:00
Artur Harasimiuk
a8163f46b2 remove unused entries from lib_names.h
Change-Id: I97d891b04f16b9d351aa1004d54a07ad8f4ee8ac
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-16 16:12:15 +02:00
Mateusz Jablonski
4f028d13a1 Command stream receiver: use memory manager from execution environment
Change-Id: I236218a73bd7dac6e5744e3596f146b77b5ca1c8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-16 12:14:55 +02:00
Artur Harasimiuk
97c56b9de0 cmake: refactor cloc invocation
Change method used to pass options to cloc when compiling scheduler and
precompiled kernels. Instead of plain variable use list() which is more
convenient and flexible when generating build system.

Change-Id: Ieb90defc24a66932250dd610691650880ba1be76
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-16 10:40:46 +02:00
Hoppe, Mateusz
eb9d720788 Add PTE address check
Change-Id: I00cdf828009a347a93eb0448bf678b670d287304
2018-10-15 13:06:20 +02:00
Piotr Fusik
7543c1fb2a Flush AUB before HW or TBX.
Change-Id: Ia997c6c05b2a1cb5c1968113b94ca66fbf1efe89
2018-10-13 10:52:19 +02:00
Mateusz Jablonski
6ee094acfe Fix for sporadic failure in event tests
Change-Id: Ie8091fbc8b1365b29c35d569eadc773742ed1a5f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-13 10:18:45 +02:00
Milczarek, Slawomir
9b6aba4c55 Updated HAS_WRITE_DATA_REQ structure in tbx_proto.h
Change-Id: Ia22bffa828c8e6c2b975131529e2e86593285705
2018-10-12 14:47:32 -07:00
Artur Harasimiuk
736979996f Infrastructure update
Change-Id: I6d27055f3dcc127b2f37a7ae464859090de9da3f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-11 16:08:57 +02:00
Mateusz Jablonski
8a9d0a81df Move temporary and reusable allocation lists to command stream receiver
Change-Id: I40df6fe39b367e243e3710c5fdeaab3c85198d9d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-11 15:32:12 +02:00
Piotr Fusik
9e8af5e045 Validate the numKernels argument to clCreateKernelsInProgram.
Change-Id: I9b4ad4497c6cb090caa9b29fd7c92d0477e7f6c0
2018-10-10 21:14:13 +02:00
Napiatek, Henryk J
6d828e6653 Allow override of default platform Hardware Info Config
New string debug variable HardwareInfoOverride is used to
specify new Hardware Info Config to be selected, for example 1x4x8.

Change-Id: I6d939608e6551e4a9102e5ab2e08255ee4982933
2018-10-10 10:34:23 +02:00
Artur Harasimiuk
941b1e2ff0 Infrastructure update
Change-Id: I5d5fbe511d4e5204e09b0eeb4dcf87390b560dd2
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-10 10:14:59 +02:00
Dunajski, Bartosz
66427f60c6 Handle TimestampPackets for non-kernel enqueues
Change-Id: I52ec4f43b10bf6e2a10b2455d32a90a606645d29
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-10-10 04:21:30 +02:00
Dunajski, Bartosz
8ceba24296 Load kernel sources for ULTs dynamically from test_files dir
Change-Id: I213542521d8ee4aaaf705085c15c7f69c41f30e9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-10-09 19:11:18 +02:00
Martin Whitaker
7ade7a9fe3 Fix cmake configuration when searching for modules
- don't falsely detect gmmlib pkgconfig when gmmlib is not found in workspace
- restore original PKG_CONFIG_PATH after overriding it
  - it may be needed for subsequent searches, e.g. for finding libva

https://github.com/intel/compute-runtime/pull/98

Change-Id: I17088dd94e366821b977565f4736eb5f3679896b
2018-10-09 15:44:38 +02:00
Artur Harasimiuk
f1bbdbdd54 infrastructure update
Change-Id: I2df6b4fda694065c4b20097433fd5b3a798697b7
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-09 12:54:12 +02:00
Pawel Wilma
a05f832f80 Fix for batch buffer flattening
Change-Id: Ib13ec6573b985cf03876bd7e37a31606b230a790
2018-10-09 12:28:40 +02:00
ocldev
70b5251248 gmmlib revision update
Change-Id: I2c6fd28db30def68a3adbff6ac96f01dd09ad26e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-09 08:53:45 +02:00
Maciej Dziuban
07e03af67e Extract trimCandidatesList to WddmResidencyController
Change-Id: I8938ee79975caf9cb09f7183c87452dc94a6b3e6
2018-10-09 00:55:10 +02:00
Mrozek, Michal
12b4d44375 Add new debug flag to limit the number of returned devices.
Change-Id: I01e1b6804291956fb62b84ff5df68c57b51bd17d
2018-10-09 00:35:51 +02:00
Artur Harasimiuk
118d3ed0e2 cpack: improve package naming
check cmake version and use component model for naming (>=3.6) or set
package file name based on generator.

add {?dist} to rpm package name

Change-Id: Idf723d7477ca711a250e86935cf4dbcf483cbd8a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-08 19:57:06 +02:00
Maciej Dziuban
b2dd8a9a1d Create WddmResidencyController to encapsulate basic residency data
Change-Id: I6dd94405ca5ea3a13b137c1e0ead72e615d36e00
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-08 15:11:58 +02:00
Dunajski, Bartosz
88bd89cb58 Aub test for multiple TimestampPackets scenario
Change-Id: I2edb289324370d81fc3b250fdccf3ed1bfdb2437
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-10-08 14:38:42 +02:00
Artur Harasimiuk
a6d9e74851 Revert "Refactor of glcl sharing"
This reverts commit 51ecef7ec2.

Change-Id: Ia654fe0d50a2144371c3def7e768ef9707419c61
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
18.41.11649
2018-10-08 14:03:57 +02:00
Maciej Dziuban
130a7ac8b8 Delete TypeSelector helper
Change-Id: Iff5fe62d31fa7b07658cfcf81ebd2c12d47e2b3b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-08 13:18:36 +02:00
Hoppe, Mateusz
2f7158e035 Move createPhysicalAllocator() to a common CSR class
- AUB and TBX use this method and it was duplicated,
- moving to common base class allows to remove duplicates

Change-Id: Ia9f08dfb0967de1b5968ac0e531733c5b868e504
2018-10-08 11:38:57 +02:00
Pawel Wilma
5cd7ca460c Refactoring of internal options extraction
Change-Id: Ice53746e696ba6de5bb2c901e713594ee90bf99c
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-10-05 15:28:31 +02:00
Wilma, Pawel
7d93fedbab Fix for problems with uninitialized SPatchExecutionEnvironment
Change-Id: I46b1c5badc6505b8443e7c1eaca1fc56a03f0768
2018-10-05 14:58:36 +02:00
Katarzyna Cencelewska
51ecef7ec2 Refactor of glcl sharing
new pattern to load gl functions from dll

Change-Id: I6f39945d3c53b5a169b0829f36b2102c3ef5e18a
2018-10-05 12:41:31 +02:00
Krystian
526a3a664b Adding new tool for decoding and encoding OCL binary.
Decoder decodes the binary to kernel heaps and patch token data, which
is in a human readible form. Encoder encodes it back to binary form.

Change-Id: Id07b1294ba24360e90c824171741cf14bd43cfad
2018-10-05 12:18:18 +02:00
Zdanowicz, Zbigniew
bb62343aba Add new parameter to thread data dispatching
Change-Id: I86710b0cc764156f4c2db9d24ccd1c96b32d7660
2018-10-05 12:06:25 +02:00
Dunajski, Bartosz
73b2e947a5 Multiple TimestampPackets handling
Change-Id: Ia5936c3d0a34b892aa4444026a5aebc681f126c2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-10-05 01:54:35 +02:00
Maciej Dziuban
bc4700a193 Add OsContext argument to MemoryManager::makeNonResidentEvictionAllocations
OsContext has to propagate through following calls first:
- WddmCommandStreamReceiver<GfxFamily>::processEviction
- CommandStreamReceiver::makeSurfacePackNonResident

Change-Id: I7559c7406b2860c51905c9961cec251fac231b08
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-05 01:28:31 +02:00