Artur Harasimiuk
006e86d7a6
move mocks to igdrcl_mocks target
...
Change-Id: I6d9f87fc415ff70261344105e8808c6e91a960bd
2018-02-21 23:36: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
Artur Harasimiuk
261a2ee865
Extract mocks into separate library
...
Change-Id: I37204fd192f7a74f29cfbe79632c975fc98f20ea
2018-02-19 19:42:42 +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
Zdanowicz, Zbigniew
86bb715b95
HostPtr surface makeResident must be called once
...
Change-Id: I9cb04e3affdd8b8634466621b50326a088ecdcf9
2018-02-16 11:11:37 +01:00
Zdanowicz, Zbigniew
45dedb37f3
For HostPtr surfaces of enqueue calls use GPU address
...
Change-Id: I67bf5076d23d43438f5e82c5cb6cbd3b9ed2f152
2018-02-14 15:44:27 +01:00
Dunajski, Bartosz
4f2a05ac88
Map/unmap enqueue fixes [2/n]: CPU operations on limited range
...
- Curently each non-zerocopy CPU operation on map/unmap make a full copy
using hostPtr
- This commit adds functionality to select specific range of copy
- Multiple mapping with different size is not supported yet,
so copy will be made on full range for now. This is for future usage.
Change-Id: I7652e85482ba6fffb2474169447baf9b080dcd1e
2018-02-13 16:29:01 +01:00
Mrozek, Michal
b5dab07aa2
Do not allow out of order execution for shared objects.
...
Change-Id: I2dbbd8f09485bd894774eb2c4548326475a41221
2018-02-12 10:36:23 +01:00
Mateusz Jablonski
ea021f8d69
Cmake refactor part 1: fix dependencies with including os_inc.h
...
Remove some not needed includes
Change-Id: I158ad663ccfcec4822e3768df9d05090c5e096f9
2018-02-08 09:40:40 +01:00
Dunajski, Bartosz
844f956244
Remove redundant/recursive checks in unmap operations
...
- Some of the paths were made only for ULTs
- Params like mappedPtr were ignored
- Improve confusing method names
- Fix for memory leak in map shared buffer path (not tested code)
Change-Id: I8a69035f1d1c340f2d131a6f8d7e13116e3ddabc
2018-02-02 10:36:09 +01:00
Dunajski, Bartosz
8974af4de8
SNORM formats support
...
Change-Id: I4138a3e96788aab2a8f3af108dcbfa6f81006bf9
2018-02-01 11:18:01 +01:00
Mrozek, Michal
e6603a56f4
Create sip kernel when device is created
...
- This moves expensive sip kernel creation outside of enqueueNDRangeKernel
Change-Id: I4d09df46d993fa8f751468ed3adcff056e05ce13
2018-01-30 16:49:01 +01:00
Milczarek, Slawomir
7c038eb7a4
Add AUB generation in parallel to execution on GPU
...
This commit adds basic for parallel AUB generation and execution on GPU.
Change-Id: I3c77557a9578db05c87be6db7a5e3006f7c4b053
2018-01-29 17:24:26 +01:00
Zdanowicz, Zbigniew
f5513b6a1d
Handle host pointer not meeting memory manager criteria
...
Change-Id: I65eec6083f1d8bb7b5f46e1a2e015aa6fd7f3d9f
2018-01-29 11:40:32 +01:00
Zdanowicz, Zbigniew
e42d43953d
Restrict system memory allocations to certain address range
...
Change-Id: Ibe8c1183368ce48f2c820d0f1a71f0b15703ffcd
2018-01-26 15:16:41 +01:00
Dunajski, Bartosz
3532c6373f
D3D sharable 2D texture: Map Aux GpuVa and set renderCompressed if possible
...
Change-Id: I508965d07f456af74ecef6e980337f42f5967b43
2018-01-26 08:38:59 +01:00
Zdanowicz, Zbigniew
4ad96b75f5
Make base class for gmm_memory
...
Change-Id: I307f616be27d5fed126f0e36bff0d182ab7a8b53
2018-01-26 08:35:41 +01:00
Mrozek, Michal
0066daf495
Add support for deletion of allocations that may be in use by GPU.
...
- fix deletion of constant program surface
- fix deletion of global program surface
- move program_data tests to shared code
- make program_data tests SKU agnostic
Change-Id: Icf3e9fd035416072699336c4f86e49703ef48cc5
2018-01-19 12:34:49 +01:00
Dunajski, Bartosz
8b9713582a
Aux programming fixes + ULT improvements
...
- Dont program clear color aux params for multisampled images (depth or MCS)
- Mock Gmm PageTable manager default actions
- Local Wddm for WddmCsr tests to make expects on creation
- Set Gmm PageTable manager for Wddm Memory Manager tests without WddmCsr
Change-Id: I8ccfddb06340bc81184e07eff5a7078756d28571
2018-01-18 14:40:56 +01:00
Zdanowicz, Zbigniew
602474f868
Command streamers should use device default engine type
...
Change-Id: I7286f15ba78001729ea489a43576d96f109d44f0
2018-01-16 22:37:44 +01:00
Zdanowicz, Zbigniew
474b6a2a23
Enable Mid-Thread preemption for Gen9
...
Change-Id: Iacec1c8fa899d4fbf0cbb9cc292990546871ca6a
2018-01-16 12:55:35 +01:00
Dunajski, Bartosz
c939419ccc
preferRenderCompression flag for GMM resources creation
...
Change-Id: I718fa21d0feb825e0a3215408c78fa49d094a15f
2018-01-12 11:01:57 +01:00
Chodor, Jaroslaw
d290955a57
Preemption - SIP command programming
...
Change-Id: I4c7c805a77a9decb8f13d39055bfb2590209ca3e
2018-01-10 16:43:29 +01:00
Zdanowicz, Zbigniew
8efafc1efb
Adjust default engine type according to feature availability
...
Change-Id: I1645dfabe69a7697c1e17950c4d82e77f98984bf
2018-01-10 13:53:15 +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
Zdanowicz, Zbigniew
21f92d8258
Add preemption WA to make CSR surface uncacheable
...
Change-Id: Ia468c6f5df16522c3bc9aae22802895f2badc431
2018-01-05 22:44:26 +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
Hoppe, Mateusz
a9f30a5059
Fix for Execution model PageFaults
...
- adding PC with MediaStateClear and MEDIA_VFE_STATE in
EMCleanupSection
Change-Id: I0ee0e121bc2fcc09ac79cb3b601591247326482a
2017-12-22 11:49:56 +01:00
Mrozek, Michal
2a00a15141
[n/n] Remove event registry.
...
Change-Id: Ie7da0f2dc944583771aaa80648217602ccff99ce
2017-12-21 14:46:27 +01:00
Brandon Fliflet
7e9ad41290
Initial commit
...
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00