Commit Graph

5179 Commits

Author SHA1 Message Date
Artur Harasimiuk e7a43c55f2 ult: don't use mocks sources in projects
we should use library igdrcl_mocks to obtain any required mock

Change-Id: I2f813f0dc6a2a79e4cdd4eee0e24e1fef83610da
2018-02-22 18:08:02 +01:00
Mrozek, Michal 3c230f6302 Align createContext & createDevice DisableGpuTimeout flags.
- Make sure we program the same value for both calls.

Change-Id: I11b26fb56e60fff8f379827f6f6424a387b005d3
2018-02-22 15:55:30 +01:00
Artur Harasimiuk feb7d00e22 use mocks from igdrcl_mocks only
igdrcl_mocks should be single source for any Neo mock. Because this is
static library, only required compilation uint will be included in
resulting binary

Change-Id: I53019bf8cd86072ccb2be40e82c5136bd50ee15f
2018-02-22 14:32:59 +01:00
Milczarek, Slawomir 28a1eec925 AUB patch to move physical addresses to a lower region
Ensured canonical addresses not to go beyond acceptable physical addresses.

Change-Id: I4af3b7bd3d43ee86aabfdbddd0a21bc937986d43
2018-02-22 09:52:48 +01:00
Artur Harasimiuk 006e86d7a6 move mocks to igdrcl_mocks target
Change-Id: I6d9f87fc415ff70261344105e8808c6e91a960bd
2018-02-21 23:36:31 +01:00
Chodor, Jaroslaw bad0ba8ac8 Fixing backup/restore of asynch handler in ULTS
Change-Id: If2cbbaa30968ecec3c1bc0361ff86aa523122f21
2018-02-21 20:35:08 +01:00
Zdunowski, Piotr 46f3efd79c Allow cloc tests to be run from default location.
Change-Id: Ic5f8e34ff261b45100c98a6065b1aeaab3c4d665
2018-02-21 20:13:52 +01:00
Dunajski, Bartosz b4f79e036f Map/unmap enqueue fixes [5/n]: Unify offset calculation
Change-Id: I53eafe89532d43c5cf5139ed3fac0a87619dc7a3
2018-02-21 20:12:52 +01:00
Artur Harasimiuk 63732513bb enable instrumentation when available
use of instrumentation will be enabled:
- runtime capability set to True
- static library available during compilation
- device reports capability

Change-Id: I43286ebf1135f3a2ec6af924e27ece03042ac0ca
2018-02-21 17:48:08 +01:00
Zdanowicz, Zbigniew ed5e2c2da8 Use new version of generator for MSVS solution
Change-Id: Ifbb4c5823d7eae9c9c99ea962166abc2eaaf4ac7
2018-02-21 16:00:31 +01:00
Artur Harasimiuk c457088faf small cleanup in performance counters
- don't cast when not needed
- make sure initial state is always the same

Change-Id: Ib5b9a37884a928248a5400aff547615fd2fc819b
2018-02-21 15:59:31 +01:00
Hoppe, Mateusz 1207da92a3 Change max image3d dimensions for gen8
- gen8 has lower max image 3d height and width

Change-Id: Ibe94a24cba488a5ebf582992a5f7a4d5bad801f8
2018-02-21 13:17:03 +01:00
Zdunowski, Piotr f43a04d3b2 Allow custom props settings.
Change-Id: Idd442f429e8f413cde67781995e0c1b1c010bcee
2018-02-21 12:16:35 +01:00
Mrozek, Michal 75d883c075 Do not use virtual functions in constructor.
Change-Id: Ic720843b3b290b234577e1bc4913dfc07a75733c
2018-02-21 10:26:17 +01:00
Mrozek, Michal 60a8aa1b17 Add missing device caps.
Change-Id: I53958f185e7365872d6161b29cc5b62a0f8d8398
2018-02-21 09:00:29 +01:00
Artur Harasimiuk 8d8f8d33e1 enable clang 4.0.1
Change-Id: I431eeaeb08a1d48f178bfdef65446ca0ebd15299
2018-02-20 17:44:34 +01:00
Cetnerowski, Adam 2ed68b341e LIMITATIONS.md, BUILD.md: cleanup and clarifications
Change-Id: Ibe18647c61a1410337bb9aade4a349c61ddb778b
2018-02-20 16:36:47 +01:00
Dunajski, Bartosz 5c7e50df48 Thread arbitration policy adjustments
Change-Id: I4bc5f421a68f564ac42a83019efce7a9c992636c
2018-02-20 16:35:26 +01:00
Dunajski, Bartosz f6825252fc Map/unmap enqueue fixes [4/n]: Return slice/row pitch
When queue is blocked on non-blocking call, map operation is added to
waitlist dependencies. Returning slice/row pitch for map image was skipped

Change-Id: I46f97590315e7aee7fbbfbdb615f383cdb666307
2018-02-20 14:30:35 +01:00
Artur Harasimiuk f805bd9741 perfCounters: querySize now depends on gfx core
Change-Id: I7ad493f87debd1c2c642f695f0e836f010c2aa0c
2018-02-20 13:04:54 +01:00
Cetnerowski, Adam 9a45087dab Move Known Issues and Limitations to documentation directory
Change-Id: I0c198b1d41046a991adf3c6dd38d70f2390d0365
2018-02-20 11:06:50 +01:00
Dunajski, Bartosz 1292c3d533 Improve thread arbitration policy programming
Change-Id: Ibd764352e14d1a5112034b1c5a1fc6d6d67ebac0
2018-02-20 11:05:54 +01:00
Artur Harasimiuk 67c8d7a9ca properly link with instrumentation_umd
Linking is required for igdrcl_dll target only. Not needed for static
library. This reduces scope of targets where library is required.

Change-Id: Ie48ce1f299ef9d4e484081fe87254869c72ca042
2018-02-19 20:37:20 +01:00
Artur Harasimiuk 261a2ee865 Extract mocks into separate library
Change-Id: I37204fd192f7a74f29cfbe79632c975fc98f20ea
2018-02-19 19:42:42 +01:00
Milczarek, Slawomir c135bd4c42 CSR HW with AUB dump to accept images with no host ptr
This commit enables AUB dumps in scenarios with images with no host ptr
when resource lock is required to get CPU address and dump image contents.

Change-Id: I996efc5f520d0ac7b470870f7b4eeb9d2ef7b25b
2018-02-19 19:09:35 +01:00
Mrozek, Michal ca33e029b7 Fix profiling calculation for CPU profiling path.
-There was a precision problem with timestamp calculation, all math was using
integers which are not very precise in overflow scenarios
-Change the logic to use doubles and cast back to uint64_t at the end.

Change-Id: Ia08d504a90a43df7330f398af966535ed944650d
2018-02-19 19:08:23 +01:00
Artur Harasimiuk 063e9623ba cleanup around MockGmmStatus
remove not needed global variable from mock device and refactor gmm
context initialization for ULTs

Change-Id: I594938a7df7dfaaf7a3cf73f8a13ad85a7b58401
2018-02-19 18:58:20 +01:00
Cetnerowski, Adam c5517459a7 Move build instructions to documentation directory
Change-Id: I6e862c4e056fb9add7cb9f926d724456a802f6d0
2018-02-19 16:02:27 +01:00
Chodor, Jaroslaw 1e422813b8 Externally synchronized event
Adding support for externally synchronized
events inside async events handler

Change-Id: Iddc5d3ae25577b792d197aa5b5857618201a3449
2018-02-19 16:01:29 +01:00
hjnapiat c996bad881 Fix build error
Change-Id: I609e221fbf68cca23a9fb24ca119b428a0b2cee0
2018-02-19 14:30:26 +01:00
Mrozek, Michal 9d45b5066b Change unrecoverable to debug break.
- For applications that are creating user event holding command driver adds
reference count on kernel used for this command
- If such user event is never signaled we will get unrecoverable hit at
device cleanup

Change-Id: I2d7a0254f5ff0e2d97dcfc22ee8ac0bf54a31f48
2018-02-19 13:12:56 +01:00
Milczarek, Slawomir 5c746131f1 HW CSR with AUB dump to operate on real device (HW Info)
This commit ensures AUB files to be dumped for real device
in the configuration CSR HW + CSR AUB.

Change-Id: I7b5f740440aae062d2f5ad7ad8b9c3b4f2207ddd
2018-02-19 13:11:43 +01:00
Artur Harasimiuk a99d951c55 clGetPlatformIDs should check if platform initialization was successful
Change-Id: I3e9d78155e6a914ed0d755d81ddc13c4d3a8a291
2018-02-19 12:12:29 +01:00
hjnapiat 5909a6b3d3 Add support for GT-Pin Callbacks [3/n]
Change-Id: Iea4b49efc9a666fde310ece15a9c69686d22f627
2018-02-19 10:43:19 +01:00
Caleb Callaway 3e9a43fcb3 Add missing word to the license section
Change-Id: I7f83aa3890453a96a9a3f9cf42b1b948c81c7d4b
2018-02-19 10:30:21 +01:00
Artur Harasimiuk 89627bd81e fail platform initialization when no device found
Change-Id: I76c8e12cd908be36cd8747346c6e543e3b748933
2018-02-16 16:53:37 +01:00
mplewka e738e6aa48 Hint for map/unmap when queue is blocked
Change-Id: I8b2c79fac77325e26e2ead663177cef09b17e00b
2018-02-16 15:57:44 +01:00
Artur Harasimiuk 1f35f51b5e move VariableBackup to helpers
this is used in more places, not only va sharing

Change-Id: Idb6430d47e387e449ce5f4ff728be7e1e57b18eb
2018-02-16 14:39:37 +01:00
Artur Harasimiuk c9180fec65 create infrastructure for gen specific performance counters
Change-Id: I6ef471ade14ce27b6e5949726b57453a6fe69abc
2018-02-16 12:13:30 +01:00
Artur Harasimiuk d7687e32c4 small cleanup around Linux specific ULTs
- move main file to linux/ folder
- don't use default listener. follow main ULTs behavior

Change-Id: I236a42eef9d7bb3f61112f847aec7fc3e9f7873e
2018-02-16 11:46:29 +01:00
Mateusz Jablonski 430c991179 Cmake refactor part 4:
Move scheduler binary target definition to scheduler/scheduler_binary.cmake
Move builtins binary target definition to built_ins/builtins_binary.cmake
Move builtins and scheduler sources definition to CMakeLists.txt files

Change-Id: Ieb71133f4238b4db66a46c1bd01d6a8e5abaf0f7
2018-02-16 11:43:20 +01:00
Zdanowicz, Zbigniew 86bb715b95 HostPtr surface makeResident must be called once
Change-Id: I9cb04e3affdd8b8634466621b50326a088ecdcf9
2018-02-16 11:11:37 +01:00
Mrozek, Michal f9254c8de6 Add new performance flag to steer NoRingFlushes CreateContext flag.
Change-Id: I51426c1c51a1e4133f9bcc3127ecdc5af51048cd
2018-02-16 10:47:24 +01:00
Dunajski, Bartosz e0ca78ccea Map/unmap enqueue fixes [3/n]: Map params inconsistency
- Introducing MapInfo struct which will be used as container for multiple
  map operations
- Unified mapped offset and size for Buffers and Images
- Fixed incorrect map params for CPU and GPU path
- Missing API level checks


Change-Id: Ib4077c9e2c0c333b131ffd5ccbc4a1404920eb5b
2018-02-16 08:28:29 +01:00
Artur Harasimiuk a95e7c67a3 Instrumentation refactoring
- Tweak naming

Change-Id: I37e6a5c5553a4b0fb6d51891d193cae435f9abe6
2018-02-15 23:58:24 +01:00
Artur Harasimiuk 31e974c3c9 cmake: refactor to improve instrumentation handling
Change-Id: Ic036c4c70590968ba3905dcc0d1c2eb0fc481a01
2018-02-15 16:33:10 +01:00
Zdanowicz, Zbigniew dfbde1d506 Change layout of AubDump structure
Change-Id: Ib99aabcf835807decc1ea3898f8b2f4e2655e20d
2018-02-15 14:54:42 +01:00
Dunajski, Bartosz 87ed3d4fff Improve page table manager initialization
Change-Id: Ifdd74bf93a93fcdecaae5b1276c0fa83a9664987
2018-02-15 13:31:50 +01:00
Artur Harasimiuk 4f270223d1 added license file
adding because github can handle this file and show license type on
repository level

Change-Id: Iec390eef4008eab8dcfbb611cc31517563efde5c
2018-02-15 11:05:43 +01:00
Mrozek, Michal acb044dce3 Fix DC flush programming in non concurrent scenarios.
-If out of order flag was disabled then pipe control was not having dc flush.
-This could led to a batch buffer that doesn't end with dc flush.
-This change adds differentiation between pipe controls that may be erased and
pipe controls that are used as a part of epilogue command

Change-Id: Ic9c970c75c89ff524a0e40506eff6dd097760145
2018-02-15 09:42:11 +01:00