Koska, Andrzej
be0306ca68
Adding support for passing proper extensions list from cloc to compilers
...
Change-Id: I89249cd6ccae9996cd33d7ba26007c778207f028
2018-01-17 12:47:44 +01:00
Chodor, Jaroslaw
044fd1ab81
Fixing IntDescr programing for blocked cmd and MT
...
Fixing InterfaceDescriptor programming for
blocked commands when MidThread preemption is
enabled
Additionally, fixing couple of tests that block
global preemption enabling in ULTs
Change-Id: I454c9608f8606f23d7446785ac24c7c7d8701ae0
2018-01-17 12:19:07 +01:00
Mrozek, Michal
41f0ac3019
Check if we do not access outside of array.
...
Change-Id: I3357b745d36398ad52777054f64a7915278c0463
2018-01-17 09:33:57 +01:00
Artur Harasimiuk
9e89d4e6cd
refactor cmake to better detect and use instrumentation
...
Change-Id: I465c76f5d86331cf1ef4cbab054bc41e1c95716b
2018-01-17 00:07:10 +01:00
Zdanowicz, Zbigniew
602474f868
Command streamers should use device default engine type
...
Change-Id: I7286f15ba78001729ea489a43576d96f109d44f0
2018-01-16 22:37:44 +01:00
Artur Harasimiuk
42ed21f7fa
Readme.md update
...
- added list of dependencies
- added build instruction
Change-Id: Idf2d773fa3f7d05bfaee5e9f71387455d32a4aa8
2018-01-16 21:21:59 +01:00
Dunajski, Bartosz
d11474beab
Gmm utils separation
...
Change-Id: I9f2bdf249aa04b2ada216eee92771880202f5576
2018-01-16 18:44:05 +01:00
Mateusz Jablonski
be6f211910
Add pipeline select mask bits getter in preamble helper
...
Change-Id: I783c911ad69916a979e58256a8705d22a86f6a41
2018-01-16 16:51:17 +01:00
Artur Harasimiuk
3883f790cc
Instrumentation refactoring
...
Use bool instead of int where it should be.
Tweak naming.
Removed unused members
Change-Id: I468be28d78e9da7c7fa1632e362ed077929fb91a
2018-01-16 16:15:44 +01:00
Mrozek, Michal
dd601ff73a
Utilize shortened version of optimal HW thread count in nx4 scenarios.
...
- also clean early return if simd size = 0
Change-Id: I9b01df091ab6dd6a3066d1a8762c7fb1530c2804
2018-01-16 14:47:07 +01:00
Milczarek, Slawomir
92ebb0c3c1
AubCSR to operate in batched dispatch mode (by default)
...
This commit changes the default dispatch mode for AUB CSR
from the immediate dispatch to the batched dispatch mode.
Change-Id: Idca914475a9a38788fd94e16eb6db4c0afb1bdd6
2018-01-16 13:24:40 +01:00
Mrozek, Michal
ee250be942
Fix num thread per slice computation.
...
- It should use thread count not EU count.
- change variable name to reflect that we work on sublices.
- fix test description, add missing test
- change hasBarrier variable to be boolean
Change-Id: I627bdf17b661d2f9b5eb3d8cd6ca53eba5d46b81
2018-01-16 13:06:31 +01:00
Zdanowicz, Zbigniew
474b6a2a23
Enable Mid-Thread preemption for Gen9
...
Change-Id: Iacec1c8fa899d4fbf0cbb9cc292990546871ca6a
2018-01-16 12:55:35 +01:00
Mrozek, Michal
8ee2c54a50
Disable squared algorithm.
...
Change-Id: Ibecbd75b97596e56efc92445f46a4f2a4768a351
2018-01-16 11:20:26 +01:00
Dunajski, Bartosz
3df51c3e88
Aux format support check for render compressed resources
...
Change-Id: Ief7c5cc436c781e5b90cf71b17bf7c15c63c5c14
2018-01-16 09:50:46 +01:00
hjnapiat
111897132e
Switch to new version of GT-Pin headers
...
Change-Id: I909d1c578b4b9c3d7e24d3e33a9bfd86a815ab14
2018-01-15 20:20:53 +01:00
Mrozek, Michal
af77720f9c
Fix resource destruction scheme on device closure.
...
- Call waitForTaskCountAndCleanAllocationList with latest flushed task count
to reflect what was actually sent to HW.
- refactor cleanAllocationList to waitForTaskCountAndCleanAllocationList
Change-Id: I5301185c5fce212e39eb017b952b43c279559cf4
2018-01-15 18:45:48 +01:00
Mrozek, Michal
42798fcae0
Revert "Add Unrecoverable if GraphicsAllocation in use is being destroyed."
...
This reverts commit 920d952a4a
.
Change-Id: Ib14743e37545776ebf1b6e782daceb436d280f9b
2018-01-15 14:43:11 +01:00
Milczarek, Slawomir
7c42353c4c
Add support for batched dispatch to userspace AUBs
...
This commit as aimed to add support for batched dispatch,
but doesn't make it the default mode for AubCSR yet.
Change-Id: I4dc366ec5f01adf2c4793009da2100ba0230c60a
2018-01-12 15:40:56 +01:00
Mrozek, Michal
920d952a4a
Add Unrecoverable if GraphicsAllocation in use is being destroyed.
...
Change-Id: Ie224ac4d098678a99da0a8c084f02740f323c475
2018-01-12 15:22:15 +01:00
Mateusz Jablonski
502e9c2d15
Async deleter: move releasing cpu/gpu pointers to main thread
...
Change-Id: I3c3c9fb6200c38ecf1fc8910380531d6a5f1e875
2018-01-12 13:16:59 +01:00
Mrozek, Michal
7640201585
Allow squared algorithm to work together with base one.
...
Change-Id: I9087957bb427a422b1be632f6375c96b8f91a492
2018-01-12 12:05:04 +01:00
hjnapiat
031b537e2b
Allow defining tests that should not be executed
...
- Uses GTest option --gtest_filter=<pattern> to define tests
that should not be executed.
- This allows making experiments with tests as prototyping, debugging etc.
Change-Id: Iabcd06dc1311a2edb0ad67564c542fec3a9b2e98
2018-01-12 11:45:18 +01:00
Dunajski, Bartosz
c939419ccc
preferRenderCompression flag for GMM resources creation
...
Change-Id: I718fa21d0feb825e0a3215408c78fa49d094a15f
2018-01-12 11:01:57 +01:00
Dunajski, Bartosz
b0c07bf27f
Transfer more ftr/wa flags to GMM
...
Change-Id: Iab7a27c96a9d8529c7583cc3dc975a5c2dbeb0ed
2018-01-12 08:57:52 +01:00
Kowalczuk, Jakub
877370ef6d
Fixing relesae-internal build
...
Delete variables: gtest_lib and gmock_lib in CMakeLists
Change-Id: Ie2d6e4ca34acef60aaa1b14d0526eb0fbf293097
2018-01-11 18:02:34 +01:00
Artur Harasimiuk
67c220e599
fix types used
...
- value32 is 32 not 64bits
- DDI should be bool
Change-Id: Ic077bc2882974639f1e6e4592971a614b3d4c88c
2018-01-11 14:33:05 +01:00
Mateusz Jablonski
00b0c81d1a
Manifest update
...
Change-Id: Icea09f09248cc7f8e12520b7f36887971bcf3352
2018-01-11 09:21:48 +01:00
Dunajski, Bartosz
97021d74a8
Ftr/Wa table separation
...
Change-Id: I21034f6ec09d8b91dd6cd16135fbe5a19298dcad
2018-01-11 08:55:06 +01:00
Wojciech Woloszyn
c74cabbb9e
manifest update
...
Change-Id: Ie996bdf83ab35f66132a2994bb4dc137a679815b
2018-01-10 19:22:21 +01:00
Chodor, Jaroslaw
d290955a57
Preemption - SIP command programming
...
Change-Id: I4c7c805a77a9decb8f13d39055bfb2590209ca3e
2018-01-10 16:43:29 +01:00
Artur Harasimiuk
6272c3ee65
README.md update
...
fix formatting
Change-Id: Ia2c643f9e4eb9dab1c09fae4ce545e1472d4ad53
2018-01-10 14:52:14 +01:00
Zdanowicz, Zbigniew
8efafc1efb
Adjust default engine type according to feature availability
...
Change-Id: I1645dfabe69a7697c1e17950c4d82e77f98984bf
2018-01-10 13:53:15 +01:00
Mateusz Jablonski
4f884496a6
Some minor fixes:
...
- Fix SUPPORT_X and TESTS_X flags in cmake
Previously it was possible to enable TESTS_X with disabled SUPPORT_X
- Remove genX dirs from include paths
Change-Id: I70aa6ee4df6cc1ca641cce2e99b66f92f99fd4e1
2018-01-10 12:56:40 +01:00
hjnapiat
9564c5c2c1
Move few files from GTPIN to GENX directories
...
- This fixes issue with difference in shared code
- Also renames variable in ULT
Change-Id: Icedfc26ee4b0fdde80ab88445cbbee3a4bbc379e
2018-01-10 12:12:52 +01:00
Mrozek, Michal
c8d9846d50
Enhance search pattern for early LWS finding path.
...
- Allows to find larger LWS in multiple cases.
Change-Id: I645f5bca5c8ccdcf8e0d4861e47fcbcad0395e7a
2018-01-10 08:20:02 +01:00
Wojciech Woloszyn
8ece8ab420
Enable CFL
...
Change-Id: I268a6d86fe69859064698d7de0c4c9949fda29a4
2018-01-10 00:56:44 +01:00
Mrozek, Michal
94ae9a3d1b
Add debug functionality to dump LWS sizes.
...
- Refactor of LWS tests.
Change-Id: Ic47c88996a658f2168cc425f4598e91eced4756d
2018-01-09 15:41:11 +01:00
hjnapiat
17c6142191
Add support for GT-Pin Callbacks [1/n]
...
- Also fixes bug when returning version of supported GT-Pin interface
Change-Id: Ib471a11a3b51d69240dcd2f800a8e28eefdeed57
2018-01-09 14:26:47 +01:00
Dunajski, Bartosz
11e7a5f1d9
Pass FtrWddm2GpuMmu flag to GMM
...
Change-Id: Ie52f1889a2ce1ab7abab8ac39a5dc6f0e60c6bcf
2018-01-09 13:04:34 +01:00
Chodor, Jaroslaw
f235ba015e
Refactoring preemption tests
...
Change-Id: I7e34f12e7d974e24cc63aaaad77d293b744d1c74
2018-01-09 09:50:00 +01:00
Zdanowicz, Zbigniew
6cf7ac41c2
Mock call should follow GDI call convention
...
Change-Id: Ibd217539c091e972bcc079b086f6aadb9ae18d22
2018-01-09 09:29:54 +01:00
Mateusz Jablonski
f12b5861fd
Drain deferred deletions when cannot allocate memory for tiled image
...
Change-Id: I68b15269da4b5a58e02571a9c594c52b9a95edeb
2018-01-09 09:20:10 +01:00
Mrozek, Michal
45990a8181
Remove not needed methods.
...
Change-Id: If8be6e18054381cabba129fc0d05802f32cc0d34
2018-01-08 17:09:09 +01:00
Mrozek, Michal
b00819cafe
Add refcount on MemObj in blocked scenarios.
...
- Prevents destruction of MemObj while it may still be in use.
- Add UNRECOVERABLE to check whether object is deleted while having
dependencies, fix all problems is tests due to that fact.
- Fix special queue setting, clean interfaces.
Change-Id: I2a467e80df00ea1650decdcfa6866acf10b441f8
2018-01-08 16:03:24 +01:00
Chodor, Jaroslaw
c838a7dfc6
Refactoring preemption fixture
...
Change-Id: I7f520a591a251d68fb3443d221ab8b628a450398
2018-01-08 15:43:32 +01:00
Koska, Andrzej
4e9c1178a3
Add -all on the begining of extensionsList
...
-all resets all compiler settings.
Change-Id: I8eec4beffa27673918d741f4b0d9d894f40a2cee
2018-01-08 10:45:55 +01:00
Chodor, Jaroslaw
1fd771e5a5
Refactor SIP acquiring
...
Acquire SIP by device, not by context
Change-Id: Iac850db1d65c52ebc8a331039046c0dd6acf1d4e
2018-01-08 03:31:45 +01:00
Chodor, Jaroslaw
f6eb2617b9
Adding isAligned impl for numeric types
...
Supports numeric types (e.g. size_t)
Supports constexpr evaluation
Change-Id: I6942bdaa12c39df95dcdee84e5d5851c9ec89be8
2018-01-08 02:41:11 +01:00
Chodor, Jaroslaw
9ca3e8b1ab
Containers improvements
...
Adding proper implementation for StackVec::resize()
Adding operator= to StackVec and ArrayRef
Change-Id: I9a988e64c2008a8e3c4b54b0814c4ccb9448bca3
2018-01-07 23:48:19 +01:00