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
ocldev
d7028d3a76
dependencies update
...
Change-Id: I5c389f7d213e64af8f3b0f3630b4225fd433ec44
2018-01-05 22:58:35 +01:00
Zdanowicz, Zbigniew
21f92d8258
Add preemption WA to make CSR surface uncacheable
...
Change-Id: Ia468c6f5df16522c3bc9aae22802895f2badc431
2018-01-05 22:44:26 +01:00
Mrozek, Michal
e9fd40db13
Do not update task count with not ready status.
...
- queue blocked status is handled by virtual event not task count.
Change-Id: I8979ba55d2319a75393c639b234dcd86cf2792ae
2018-01-05 14:01:17 +01:00
Mrozek, Michal
3eb856b192
Add reference on kernel in blocked scenarios.
...
- Prevents kernel destruction while it may still be in use.
Change-Id: I1f87d09c5cabf29644a1b06b63f1789dbb15985a
2018-01-05 10:19:04 +01:00
Mrozek, Michal
57137fea84
Fix heap programming in blocked scenarios.
...
- When command queue is blocked, all heaps are being stored in temporary
allocations, command buffers are being pre-programmed, heaps are being set
on those temporary allocations with the assumption that all heaps start with
offset 0.
- Problem was when the actual submissions happened, all those temporary heaps
were just copied to appended command queue heaps, so when something was there
then new stuff was copied right after it. It means that all state was
incorrect as the offsets are not valid anymore and will point to wrong
location.
- This change releases command queue heaps when blocked command is being
submitted to make sure they will be programmed with the proper offset in newly
allocate command queue heap.
Change-Id: I3e30be13caf4df8621ddb18f8448ffaf0f1278d1
2018-01-04 10:45:49 +01:00
Mrozek, Michal
a8b91c8c99
Refactor deducing blocked state and task level.
...
- Do this with one helper function.
Change-Id: I81dd3107a98db7e45a691ba6d5e708d98eabe3d2
2018-01-03 17:44:51 +01:00
Mrozek, Michal
ec59a900e1
Fix for deadlock in mapImage scenarios.
...
- due to the fact that device mutex was obtained to prevent threaded access to
image there was a problem when other thread was also doing readImage call
That thread got read Image kernel mutex first and then it was acquiring device
mutex, which was taken by other thread doing mapImage call.
- In current code device mutex is not taken to service mapImage call, instead
image is being guarded by its own mutex.
Change-Id: Ic4c5a019708d7ec5b240bc5b08c5a65173827392
2018-01-03 12:33:12 +01:00
Zdanowicz, Zbigniew
5cfb102359
Add Preemption WA waModifyVFEStateAfterGPGPUPreemption for WALKER replay issue
...
Change-Id: I046e7296157b4b527ad65733ea417fbc364aac9c
2018-01-02 17:45:40 +01:00
hjnapiat
ca45fce7b3
Add all necessary Runtime Services for GT-Pin
...
Change-Id: If357dd5c40d629fbba548a603805e5860984b2ed
2018-01-02 09:30:10 +01:00
Zdunowski, Piotr
b006972d07
Improve error handling for shared handles in wddm.
...
Change-Id: I93d33d89cb4b6333924c362b54e0638174e44091
2017-12-29 16:10:16 +01:00
ocldev
aba7dc637d
dependencies update
...
Change-Id: If14e69f97b3a4a41916219718d20dec3c433efec
2017-12-29 10:37:45 +01:00