010e1a4738
VFE state programming cleanup
...
Change-Id: I38fb47b00211a1d28244369ac417427ada145f61
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-12-13 17:44:40 +01:00
0b839722f4
Don't store preemption mode in Wddm.
...
Change-Id: I6088e5fec65b6910fefb42ec9735181867c44a1b
2018-12-10 14:48:52 +01:00
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
1f7448425d
Allow Device creating multiple CSRs [7/n]
...
Create and initialize all supported Engines
Change-Id: If0adf1a06b5005ef2698cebc6f1aaa6eacf562ec
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-11-30 15:48:44 +01:00
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
7dbd0ea4f3
Move Scratch Space functionality to dedicated class
...
Change-Id: Ic7655c4b971513961aba6823478a139ffc943466
2018-11-29 11:55:56 +01:00
b0de2a11d2
Set OsContext as reference
...
Change-Id: I3b682fabde9c2ddb2c33a95aef77bf6ce400a21f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-11-27 15:32:14 +01:00
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
9a89426ec1
Refactor unit tests
...
- refactor image fixture
- add hwInfo fixture
- add missing case to mockGmm
Change-Id: I5f0886b8bd8f36938e1eedc5a0a63fe01248fcad
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com >
2018-11-27 13:54:53 +01:00
e0956d4ae5
Mode debug restorer to fixture.
...
- disable timestamp in scenario fixture
Change-Id: I5d1e5d2251b95561197d93aee94774472e0b236c
2018-11-27 09:29:38 +01:00
7781089740
Allow Device creating multiple CSRs [4/n]
...
- Introduce additional RCS engine
- Set fixed size for Engines array
Change-Id: I06533a425684b64214f956783b07877e6157935b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-11-26 09:40:44 +01:00
af46d88fc1
Allow Device creating multiple CSRs [1/n]
...
Change-Id: Ie5d8d89aa388c608d5464919059c28a054ac9b1e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-11-21 12:37:25 +01:00
3f63aeeb74
Remove redundant code.
...
Change-Id: I3754c94671605db2545897d22b68b6c8e8aae9d1
2018-11-20 12:25:24 +01:00
8504b37a08
Add branch prefix to unit_tests/gen_common subdirectory
...
Change-Id: I7661dbd8a65aaa50c21afb982b23edb9080d6f84
2018-11-01 00:15:04 +01:00
c202c95634
Stop creating osInterface in WddmCSR and DrmCSR constructors
...
Change-Id: Ic8ca21824882dfae5df3fe05c7ec1ff96311f286
2018-10-31 15:01:50 +01:00
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
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
7a4ecd1507
Add new simple kernel and method to adjust WALKER command parameters
...
Change-Id: Id0591908353ca744c44c7bab4e27db8332289a68
2018-10-26 15:02:28 -07:00
0a7c13f805
Add test fixture for set of simple kernels from simple_kernels.cl
...
Change-Id: I4e9bde6f1a72eb15c58d09a1ad24f98ccda5a08d
2018-10-24 19:31:44 +02:00
620708e510
Add Non-Uniform AUB tests
...
Change-Id: Ie1944caa2ea9b7240dde9460bd817f8889fff3bb
2018-10-24 00:40:37 +02:00
56f67748fd
Remove not needed definitions and includes from mock_device.h
...
Change-Id: I95585f05805ee85577dfa0b981b32f828853af8a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-22 16:30:14 +02:00
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
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
66427f60c6
Handle TimestampPackets for non-kernel enqueues
...
Change-Id: I52ec4f43b10bf6e2a10b2455d32a90a606645d29
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-10-10 04:21:30 +02:00
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
9a1adc3095
Remove scenarios with memory manager with null csr
...
Change-Id: Ie151bf3d16c5d994f154c8f9ac3db43702a4798c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-02 21:43:21 +02:00
c75dc23b6e
Change HWCMDTEST_F() tests to HWTEST_F() where possible
...
Change-Id: Ibfe147a12b53f832723f83809770e1b203159f8f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2018-10-02 17:29:46 +02:00
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
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
fb735e5ee5
Move SSH size obtaining logic to dedicated function.
...
Change-Id: I1ea2ceb69f0ae06fe8e37f7769015933295dd6cd
2018-09-03 16:54:38 +02:00
0a838760c4
Initialize src and dest buffers memory in HelloWorldFixture
...
- memory in dest buffer is checked against src buffer memory
in AUBs, both buffers should be initialized with different values
Change-Id: I706cee19eb61bf742e418086e9127ba950dcd0f0
2018-09-03 15:40:09 +02:00
ad9710bec2
Refactor around binding table programming
...
Change-Id: I4cad63b11937531e36ea9d92cee606ea8941c9ef
2018-08-29 14:35:52 +02:00
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
b91c14f70e
Delete Device::getBuiltIns()
...
Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-22 16:54:53 +02:00
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
d2759a0629
Move CompilerInterface to ExecutionEnvironment
...
Change-Id: I14afdd8fc41ecd4ac8c8fcbeecda2539bc847288
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-21 15:30:15 +02:00
58b85e19af
Refactor HelloWorldFixture in AUB tests
...
- use Buffers and cpuAddressForMapping instead of raw cpu pointers
Change-Id: Idfa80a7f70dc2478edd322ae090e6a0e22ab20e2
2018-08-17 13:12:16 +02:00
0f8158069f
Fill memory managements structures only when fixture is active.
...
Change-Id: I22018f9edd50b40c190c9f15ee6f5819c5e09247
2018-08-17 09:13:00 +02:00
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
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
1599ea800e
Pass execution environment to command stream receiver.
...
Change-Id: I598f67f8b005b5ce8249b638e080657eb6dc3547
2018-08-08 17:10:39 +02:00
89cf7532ea
Make all gmm helper members non-static
...
Change-Id: Idb399aa275d66905040b6317d3888c94ffb98c55
2018-08-03 08:25:44 +02:00
f60847b64e
Pass device to flushTask.
...
- do not obtain it from memory manager
Change-Id: Icc7c03dc925c69ec5932c5812151ac28dc34d20d
2018-08-01 14:11:06 +02:00
b83b9ac120
Stop creating MockContext in MockParentKernel
...
Change-Id: I398d7e6f159e246e4f66cd73ac1f04eb09ea04ca
2018-07-31 12:20:52 +02:00
a906ddaa66
Make gmm client context non-static member
...
Construct platform and initialize gmm in each test
Change-Id: I4f209369e77213420308f31f911b7a569ea93283
2018-07-27 00:16:30 +02:00
7423919629
Unit tests: fix message in case of memory leak
...
Change-Id: I47f4acee7f026e54ec2112f8a4b571c8bfa00de8
2018-07-26 19:45:44 +02:00
98061903aa
Remove device helper
...
Change-Id: Ie66c029359a62b81c8658d804dcf8565647100f1
2018-07-26 14:10:05 +02:00
2561ff6cb4
Add test fixture for image clear color
...
Change-Id: I34148f8ab8ec6e2620372bcf02414bf5e5783d2e
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2018-07-20 16:07:29 +02:00
56557ca3a3
Unit tests: Initialize gmm before wddm initialization
...
Change-Id: I751bd93248aa78731b9591f494eafcd12d3e6d82
2018-07-20 15:47:15 +02:00
51421ec0b9
Add experimental command buffer
...
This code is an infrastructure for special debug purpose that allow measure
execution time of any hardware command.
Change-Id: Id12a7979d204734a0c4a6c4700e427b65ac2397f
2018-07-13 12:09:14 +02:00