Artur Harasimiuk
3d43fe6c97
set required version of igc-opencl package
...
Change-Id: I7b2194bd7c396082a70c4eeff4d78ee74b752258
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-22 10:50:54 +02:00
Artur Harasimiuk
fee08985dc
properly handle includes when IGC__IGC_TARGETS is defined
...
Change-Id: I518a33ae97950467965126e55bc93e644e439934
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-22 09:19:29 +02:00
Milczarek, Slawomir
fb10f666e9
AUB CSR: Ensured PTE bits be set correctly for Global GTT
...
This commit fixes the issue with setting reserved bits in PTE for GGTT.
Change-Id: I08582e20914419a3363c9e61085dcf03ba355a61
2018-06-21 22:23:01 +02:00
Mrozek, Michal
3e65a39c62
Move device name to device scope.
...
Change-Id: If7df4c8f97fa6b0c6f9449ae6802386c639241c2
2018-06-21 17:53:42 +02:00
Jacek Danecki
ca87805ba0
ci: fetch all tags before build
...
Change-Id: I60a0f782dd37ecb3ae1e6282a0ba6de856a0ec3a
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-06-21 17:34:01 +02:00
Mateusz Jablonski
b659d270ae
Revert "Create wrapper for GmmClientContext"
...
This reverts commit 50c31872d8
.
Change-Id: Id154ca2d217e5e45623750f641ebad5dc5e840a2
2018-06-21 16:14:45 +02:00
Artur Harasimiuk
8c504c05e6
Infrastructure update
...
Change-Id: I4026e380a295911b977398b56736c00d47aceb18
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-21 13:45:32 +02:00
Mrozek, Michal
5c0a562a6b
Simplify platform initialize.
...
- Remove not required parameters
- move the logic to ult directories
Change-Id: I913f1048489137a61220d96fa9f2798572cd4f56
2018-06-21 12:46:35 +02:00
Artur Harasimiuk
6540a9c96b
do not generate igc.config.h when igc-opencl package was found
...
this file will be provided by IGC development package when present. We
should generate it only for other cases
Change-Id: Ic11f8c74e4f0a4575b654d0afdfa7336e1fdc7d6
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-21 12:27:51 +02:00
Mateusz Jablonski
50c31872d8
Create wrapper for GmmClientContext
...
reduce mock gmm to implementation of OpenGmm function
Change-Id: I657412af2d11486c9924cf3ab9a8b4f51e603964
2018-06-21 10:17:46 +02:00
Jacek Danecki
861d001cba
overwrite offsets for shared images
...
Change-Id: Id21eb40bc9a2e067f42094a989291d6339e753ac
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-06-20 18:48:47 +02:00
Mrozek, Michal
e47344ec0e
Add debug flag CreateMultipleDevices.
...
- This flag allows to create multiple devices from the same GPU
Change-Id: I4b80e4759543ca4559549b2d26c5ddef241f9ebb
2018-06-20 18:33:32 +02:00
Artur Harasimiuk
bc2403acfd
allow IGC to be discovered by pkg-config
...
New detection flow:
1. check for IGC__IGC_TARGETS and respect if defined -> IGC available
2. on Linux try using pkg-config to find IGC
- package can be part of workspace, in this case we have to tweak
some variables
3. check whether igc folder contains CMakeLists.txt and do
add_subdirectory if yes.
4. IGC not available -> fail
other changes:
- rename compiler.config to match name from IGC devel package
Change-Id: I6c2369f8b83db66327d76c9b08af833736e8a3f9
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-20 13:13:58 +02:00
Hoppe, Mateusz
0c849944aa
Device Enqueue - fix misaligned reads in scheduler kernel
...
- scheduler kernel shouldn't read ulong data from addresses
not aligned to 8 bytes,
Change-Id: I90cccefe2db424eff66cdda610321a8170338023
2018-06-19 15:16:34 +02:00
Artur Harasimiuk
a203b0c32e
add opencl headers to third party
...
Change-Id: I8a1a7c3b371ca3aa118d3e4a7e989b0f6c08f374
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-19 13:33:22 +02:00
Jacek Danecki
33ec97148d
use image offsets from libva instead of Gmmlib
...
Change-Id: I6f5fcfa1eb41e53abbc64e52ce38c81b7337e027
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-06-19 11:11:36 +02:00
mplewka
4e802fdb93
Update GTPin headers revision
...
Change-Id: Iaca7433bb11b4da129a7d5b3ea837eec20821ac7
2018-06-19 09:57:02 +02:00
Jacek Danecki
3ae56d6c8d
Mark buffers as not resident after exec
...
Change-Id: I6406c626bfaadf01149a8464db2bb4278cbdcbce
2018-06-18 17:44:05 +02:00
Zdanowicz, Zbigniew
fa3c4d83db
Add debug flag to force rebuild pre-compiled kernels in runtime
...
Change-Id: I1e6bf94de3748e43c4ca80fd41c488665e0c5604
2018-06-18 14:23:54 +02:00
ocldev
6dd74684cf
gmmlib revision update
...
Change-Id: I4c092e82e9306bc94ee4f4ca96e1ab1701e56bca
2018-06-15 19:33:22 +02:00
Artur Harasimiuk
af33da1fc9
Infrastructure update
...
Change-Id: I697588dedbd5ee645167237af2337c3470bb4e9f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-15 17:05:38 +02:00
Koska, Andrzej
e15c2b899f
Setting the right handle value in fragment
...
Change-Id: Idcbdce5fc686360f252c8db0423ae77d9155702e
2018-06-15 16:36:52 +02:00
Milczarek, Slawomir
eb1b5ded9c
Add support for AUB subcapture (filter and toggle modes)
...
This commit adds a capability to selectively enable/disable AUB capture,
i.e. by toggling the registry key from the outside or specifying the filter
with a kernel name and/or kernel start index and kernel end index.
Change-Id: Ib5d39c21863fbc4a95aa73c949b9779ff993de0f
2018-06-15 13:02:27 +02:00
ocldev
af65ee87e5
igc revision update
...
Change-Id: Ifbf843d486ef14a09bf30154beec9883e8406f75
2018-06-15 10:41:36 +02:00
Zdanowicz, Zbigniew
09f5143b18
Add MI_SEMAPHORE_WAIT command to ULT command parser
...
Change-Id: If8e2ab1640b46732236675d6fedf82079883567d
2018-06-15 08:17:29 +02:00
Kamil Diedrich
9aa29edb73
Return -1 and print a message for invalid product param
...
Change-Id: Ie6e5728ae343170e4ac3087bd37d7554906de5d1
2018-06-14 15:04:59 +02:00
Artur Harasimiuk
75ab0c6fe1
Switch clang-format to 6.0
...
Change-Id: Id96d1f47fb3d479d10d1022f1259dc030a148192
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-14 09:45:00 +02:00
Dunajski, Bartosz
5b479ec5f2
Reduce recompilation impact for captureCallStacks expression
...
Change-Id: I5d9cbb259808b5d36cd9321d4d63ea5b17fe212a
2018-06-14 09:28:12 +02:00
Mateusz Jablonski
17856522ac
Generate mock gmm target only when using gmm dll
...
Change-Id: Idce35bfdcf00984ed85b2c47dd97c14cff2b3bc8
2018-06-14 09:16:20 +02:00
Dunajski, Bartosz
3a369ad500
Improve Wddm creation
...
Pick interface version basing on Ftr flag
Change-Id: I09880610922a6d451fc6f414a4fa5857449bc0f4
2018-06-14 09:06:40 +02:00
Mateusz Jablonski
bcf1449db0
Exclude mock gmm from all build
...
Change-Id: I16868933ba01e0509be5cc9d98c79f3dcc468a9d
2018-06-13 14:37:29 +02:00
Dunajski, Bartosz
88edc7279d
Improve returned row pitch calculation for multisampled images
...
Change-Id: I2fbf413ba83941682fa2bd0353060cab3f534d1a
2018-06-13 13:00:26 +02:00
Artur Harasimiuk
9dc50d980a
Infrastructure update
...
Change-Id: I438102234dc6a61a368c2de35b8978b325758fc4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-12 18:01:04 +02:00
Jacek Danecki
8ef13f85e0
add tests for residency
...
- add tests to check residency of allocations created
from different storage
Change-Id: I60465ef0d0dc603853d10fa27ec43eb25ff3e923
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-06-12 17:19:33 +02:00
Mateusz Jablonski
cc9e5a7943
Restore using compiler.config.h
...
define source level debugger dll name when it has empty implementation
Change-Id: I2a0938c8418da161f214735644f00f7873540f75
2018-06-12 17:02:51 +02:00
Koska, Andrzej
d74e179aee
Decrease maxMemAllocSize for BDW to 2040MB
...
Change-Id: I239fc513c829589f4f457ac23b49c302712f8db8
2018-06-12 13:40:58 +02:00
Stefanowski, Adam
b21f738479
Group gen specific small cpp files together part 6
...
Change-Id: I122a061e797f7cd1a3360699fc5f7ebb81d6c6c9
2018-06-12 12:23:10 +02:00
Jacek Danecki
4d48a6afec
Call makeResident only once per BufferObject
...
When different graphics allocations are created from
the same backing storage makeResident should be called only once.
Change-Id: Ide8ab385894505fd405eef010768dbcac3b92fba
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-06-11 23:28:38 +02:00
Jacek Danecki
892cf13c15
doc: reformat guidelines
...
- use markdown format instead of simple text file
Change-Id: I5a20cee4ad5b2f9653deada839b699f9634fba28
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-06-11 19:06:05 +02:00
Mateusz Jablonski
5007c60a03
Generate dll names to lib_names.h
...
Remove some not needed ifdef blocks
Change-Id: I29f787bde819a2f19312dd5713df0d4534a47cd8
2018-06-11 18:00:56 +02:00
Mrozek, Michal
84422edbd9
Add first version of coding guidelines.
...
Change-Id: I773b076930f2da6c6895c301e5c11c9521972d2a
2018-06-11 17:34:14 +02:00
Zdunowski, Piotr
0cc10e47cc
Use device instead of context when programing surface state.
...
Change-Id: I67615036d373cf905762a43a92562bf3d84854a5
2018-06-11 17:20:11 +02:00
Stefanowski, Adam
ded1a445f8
Group gen specific small cpp files together part 3
...
Change-Id: Id49acae4f9748a1db51c1a4051992269e21f1048
2018-06-11 15:46:55 +02:00
Mateusz Jablonski
2055326bff
Internal update
...
Change-Id: I66a005d7da89a00fde66b83bf8e45c970664d18b
2018-06-11 14:45:53 +02:00
Stefanowski, Adam
769e09e881
Group gen specific small cpp files together part 5
...
Change-Id: I3d1c0a3a416fb491a0a30c15f147c75fd0b548dd
2018-06-11 11:51:56 +02:00
Mateusz Jablonski
98b8b4b6a4
Prepare to use gmm as dll on Windows
...
Since this commit neo on Windows can use static or shared gmm lib
Change-Id: I7db70d7f9bc969e8193ac77e8b6d65ecc57d0093
2018-06-08 17:35:01 +02:00
Zdanowicz, Zbigniew
c1782b802a
Add debug flag to override platform used by compiler
...
Change-Id: I6fc4254f928158d0cb07f53436d1ddd09fcef7d5
2018-06-08 16:53:59 +02:00
Dunajski, Bartosz
bbe4eddf9c
Make KmdNotifyHelper thread safe
...
Change-Id: Iace168eb849e0d7090d17d63d7b47b057ff2385d
2018-06-08 15:56:52 +02:00
Artur Harasimiuk
fa2416bcc7
Infrastructure update
...
Change-Id: I20888ffe4184003d07a543dbb7ccb4a84e13c891
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-08 05:13:51 -07:00
Koska, Andrzej
fe56c57318
Tracking the internal allocation when creating a buffer
...
This fix prevents the creation of a buffer from the pointer
obtained from clEnqueueMapBuffer
Change-Id: I203f2d5263eeb02fe0d73bc9db159438af3cf1fc
2018-06-08 07:33:07 +02:00