Piotr Fusik
d79f1afdc2
GraphicsAllocation constructor accepts allocationType and memoryPool.
...
Change-Id: I5044ed26ba0cb0fc9ca7077595f5ab56353ab58c
2019-02-26 13:29:25 +01:00
Dunajski, Bartosz
12da1b0616
Remove osContextCount parameter from GraphicsAllocation
...
Change-Id: I23b650e97f107008b1122a1ecea48722fe129863
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-11 15:44:37 +01:00
Chodor, Jaroslaw
43856e88b5
Refactor around cache flush and command queue
...
Change-Id: I277e27cbc60fbbb015c0024f171697408879ec0b
2019-02-10 17:59:33 +01:00
Zdanowicz, Zbigniew
44491a111c
Use MemoryManager retrieved from ExecutionEnvironment in Kernel dtor
...
Change-Id: I5f3880e1a95b3cbd262847d97776b0b92a580181
2019-02-06 17:08:51 +01:00
Chodor, Jaroslaw
048098ce66
Refactor around cache flush after walker
...
Change-Id: If5c7399df91bd076b684bcab83f50b4852e53429
2019-02-06 11:12:55 +01:00
Filip Hazubski
3fe78d263b
Update getGraphicsAllocationType
...
Change-Id: I7613d0d5550d8032b960f86aa117b4baf6b9216f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-01-31 11:02:35 +01:00
Mrozek, Michal
f6ceb8fb4f
Remove default parameters from setArgSvm function.
...
Change-Id: I4408ddedfca464d56e24c4daa0c8c7b73791d6a0
2019-01-28 12:02:54 +01:00
Dunajski, Bartosz
8ae7de7b0e
Create HardwareContext only when osContext is available
...
Change-Id: I8bcf2cb20f0e1e6b9da98b477f5be206407a7a57
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-01-13 15:12:07 +01:00
Zdanowicz, Zbigniew
3dca095ccf
Add cache flush command after WALKER command
...
Change-Id: I3983dc6c0797047e17cc8189655a22a22e85892b
2018-12-19 13:15:33 +01:00
Dunajski, Bartosz
4ddf5a1e87
Add debug flag to control RenderCompressed value in HardwareInfo
...
Change-Id: I733125fbd8596f24cdeb636b69a9198c44bd899b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-17 13:11:00 +01:00
Mateusz Jablonski
8ec072d39c
Simplify Memory Manager API [3/4]
...
- remove method allocateGraphicsMemory(size_t size)
- pass allocation type in allocation properties
- set allocation type in allocateGraphicsMemoryInPreferredPool
Change-Id: Ia9296d0ab2f711b7d78aff615cb56b3a246b60ec
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-17 10:42:16 +01:00
Dunajski, Bartosz
b728526c4e
Allow Device creating multiple CSRs [8/n]
...
Use OsContextId instead of DeviceIndex for residency
Change-Id: Ib2367b32b5b3e320252d8254f1042f1c3d497068
2018-12-04 15:36:59 +01:00
Dunajski, Bartosz
0131e66a70
Allow Device creating multiple CSRs [6/n]
...
- Introduce default Engine query
- Improve Deferred Deleter usage
- Remove Tag Allocation from Device
Change-Id: Iaa88d8dc0166325acf9a157dcd2217ea408ee285
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-29 16:20:13 +01:00
Zdanowicz, Zbigniew
7dbd0ea4f3
Move Scratch Space functionality to dedicated class
...
Change-Id: Ic7655c4b971513961aba6823478a139ffc943466
2018-11-29 11:55:56 +01:00
Dunajski, Bartosz
2d77b86e70
Allow Device creating multiple CSRs [5/n]
...
- Move Engine type to OsContext
- Move OsContext to CSR
- Improve EngineMapper logic
- CompletionStamp cleanup
Change-Id: I935cb7169c8c48cd09837e20e3da06f6dd3437b9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-27 14:25:04 +01:00
Mateusz Jablonski
352450adaa
Pass number of os contexts to Graphics Allocation constructor
...
Mark unshareable allocations
Change-Id: Ie745dc639d8c6b01e2275d29ee1fb4c6343df2bc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-21 17:38:02 +01:00
Mrozek, Michal
08424d798f
Enable power saving mode for queues created with throttle hint low.
...
- When queue is created with throttle hint low it should be power conservative
- With this change whenever queues with low throttle setting requests wait
for GPU completion, such wait will be handled in power conservative manner.
- Whenever GPU is not completed, waiting thread will be put to sleep and will
for GPU completion that triggers the wake up interrupt.
Change-Id: I9f34872a38ab9f5952f9d9623ea43503fc3dd587
2018-11-16 15:20:31 +01:00
Dunajski, Bartosz
2249917695
Minor cleanup in ULT CSR
...
Change-Id: I810cd0bd5dd13d8ba631316d5fb86e12905497d8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-16 11:45:07 +01:00
Dunajski, Bartosz
1e0064fc2f
Allow ULTs to work with enabled TimestampPacketWrite
...
Change-Id: Idd4622469220b859e8724d9179837c685377ce52
2018-11-07 08:50:04 +01:00
Mateusz Jablonski
815ae851b7
Graphics Allocation: store task count per context id
...
Move definition of allocations list method to internal_allocation_storage.cpp
Change-Id: I4c6038df8fd1b9335e8a74edbab33b78f9293d8f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-06 12:43:47 +01:00
Zdanowicz, Zbigniew
8504b37a08
Add branch prefix to unit_tests/gen_common subdirectory
...
Change-Id: I7661dbd8a65aaa50c21afb982b23edb9080d6f84
2018-11-01 00:15:04 +01:00
Mrozek, Michal
7ece16ee7a
Graphics Allocation cleanup.
...
- remove one constructor
- start using mock graphics allocation in tests
Change-Id: Idb8f4a35dbc2cae8d6bf667bab5542d8e91d6e0d
2018-10-31 11:54:24 +01:00
Mateusz Jablonski
ead2e2ea6d
Move createAllocationForHostPtr method to command stream receiver
...
Remove not needed includes from command_queue.h
Change-Id: I45963bf005471bd7716d55471474299a15e27b62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-30 17:49:08 +01:00
Mateusz Jablonski
d3f71cfb04
Move allocation lists to internal allocation storage
...
Change-Id: I543f1551c8fb161cf99c5870de44afec390415b2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-30 13:49:31 +01:00
Mateusz Jablonski
a30c70d84b
Remove cleaning allocation lists methods from memory manager
...
Change-Id: I4a58a5373e7dc4cf8dc5d90390e84c4f23689139
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-29 10:35:03 +01:00
Zdanowicz, Zbigniew
7a4ecd1507
Add new simple kernel and method to adjust WALKER command parameters
...
Change-Id: Id0591908353ca744c44c7bab4e27db8332289a68
2018-10-26 15:02:28 -07:00
Zdanowicz, Zbigniew
f3a732081e
Change interface to program cross-thread data
...
Change-Id: I96bf4bddf1557f588fd745efca7b19ec2f38a78e
2018-10-18 23:55:29 +02:00
Mateusz Jablonski
4f028d13a1
Command stream receiver: use memory manager from execution environment
...
Change-Id: I236218a73bd7dac6e5744e3596f146b77b5ca1c8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-16 12:14:55 +02:00
Mateusz Jablonski
8a9d0a81df
Move temporary and reusable allocation lists to command stream receiver
...
Change-Id: I40df6fe39b367e243e3710c5fdeaab3c85198d9d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-11 15:32:12 +02:00
Wilma, Pawel
7d93fedbab
Fix for problems with uninitialized SPatchExecutionEnvironment
...
Change-Id: I46b1c5badc6505b8443e7c1eaca1fc56a03f0768
2018-10-05 14:58:36 +02:00
Maciej Dziuban
bc4700a193
Add OsContext argument to MemoryManager::makeNonResidentEvictionAllocations
...
OsContext has to propagate through following calls first:
- WddmCommandStreamReceiver<GfxFamily>::processEviction
- CommandStreamReceiver::makeSurfacePackNonResident
Change-Id: I7559c7406b2860c51905c9961cec251fac231b08
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-05 01:28:31 +02:00
Mateusz Jablonski
b602cd2bb8
Pass execution environment to memory manager
...
Change-Id: If43cf9d1353b4cbc02ea269fb9105c01cc4e0876
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-03 22:12:26 +02:00
Maciej Dziuban
41e8d70363
Change makeSurfacePackNonResident argument to a reference
...
Change-Id: Ic95ad2406184e91a78c152fad3fe6f0f4ebb24ae
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-28 18:08:18 +02:00
Maciej Dziuban
f48b90ffee
Change CommandStreamReceiver::flush() argument to a reference
...
Change-Id: Ic933a297d4c4e243138d0d62323ba82a8b91240f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-25 17:28:44 +02:00
Koska, Andrzej
18046527da
Fixed cast to clMemObj in transformImages
...
Change-Id: I01c5952f25e055e297afb00f914815c500c1a6b7
2018-09-21 17:18:01 +02:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Katarzyna Cencelewska
962b6ce883
Add support for cl-gl sharing
...
Change-Id: I08d7608722746baa3be61846e05eecb5419cc136
2018-09-18 11:18:46 +02:00
Hoppe, Mateusz
cfa8035836
Add localMemorySupported member to MemoryManager
...
- extend constructor to take new flag
- extend ExecutionEnvironment createMemoryManager with new flag
- only OsAgnosticMemoryManager changes in this step
Change-Id: I1dae4fd79fe28fd87e42b237600dc216c94b597e
2018-09-07 12:04:21 +02:00
Mrozek, Michal
fb735e5ee5
Move SSH size obtaining logic to dedicated function.
...
Change-Id: I1ea2ceb69f0ae06fe8e37f7769015933295dd6cd
2018-09-03 16:54:38 +02:00
Mateusz Jablonski
92bfd2e3d2
Move OsContext to Device
...
Change-Id: I030b65372fbdc075423d22720e9da34ac65b8e68
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-03 10:42:26 +02:00
Chodor, Jaroslaw
ad9710bec2
Refactor around binding table programming
...
Change-Id: I4cad63b11937531e36ea9d92cee606ea8941c9ef
2018-08-29 14:35:52 +02:00
Katarzyna Cencelewska
9d157dc443
Refactor of sharing function
...
Change arguments in functions from pointer type to referance type
Change-Id: If3569ceee2188d9ad572f23e3b7510e7a40e917d
2018-08-24 10:09:36 +02:00
Cetnerowski
8647e0c349
Improve KernelInfo handling:
...
Remove wrapper for KernelInfo constructor
Switch to unique pointer where possible
Change-Id: Ib3f323e34836e1d189d836fd539ab45518609610
2018-08-23 13:55:28 +02:00
Maciej Dziuban
b91c14f70e
Delete Device::getBuiltIns()
...
Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-22 16:54:53 +02:00
Maciej Dziuban
e0e48203d2
Move BuiltIns to ExecutionEnvironment
...
Change-Id: Ib2a1b82cc7858c898bb32820aad106a01d1325ad
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-21 23:15:47 +02:00
Maciej Dziuban
524737af39
Add executionEnvironment field to Program
...
Change-Id: Id624177aa3f0b5525bac86e2e0a935ebaf53480e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-16 16:52:41 +02:00
Mrozek, Michal
99829a3319
Prefetch binding table entries.
...
- Significant performance boost for kernels utilizing surface states
Change-Id: I0cec91cb61bd19999847090b945810f798ed80d6
2018-08-13 17:21:04 +02:00
Dunajski, Bartosz
6ca84c278a
Aux translation [3/n]: Dispatch AuxTranslation builtin when required
...
Change-Id: I9bd0294de7980ac01ebb3c2d696eba6fd6a456ec
2018-08-13 12:15:30 +02:00
Woloszyn, Wojciech
53d99ead24
Fix sampler lifecycle
...
- Add refcount to sampler to avoid use after free
Change-Id: I0f03d8ed29b5b9dc5bee355ed266ac7437e92509
2018-08-13 10:13:08 +02:00
Maciej Dziuban
6f26ced3b5
Don't store MockProgram as member of fixture
...
This is to prepare for adding argument to MockProgram constructor. It'll have
to be constructed after ExecutionEnvironment creation, for example after
DeviceFixture::SetUp.
Change-Id: I37b08f814679271820a07fb29cf1fb6b517c8376
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-10 10:13:33 +02:00