Commit Graph

2212 Commits

Author SHA1 Message Date
578a03e417 Remove redundant test code.
Related-To: NEO-3008

Change-Id: Ibd52700d6eef01136a3df8ce97a6e4d4d741495e
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-17 13:36:19 +02:00
fe7340e029 Add hostPtrOffset to constructPropertiesForReadWriteBuffer()
Change-Id: If7ac8efaa0ae9c485339abae49503052f97bae79
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-17 13:30:18 +02:00
1616c529bc DrmCommandStreamTest for different families.
Related-To: NEO-3008

Change-Id: I97b251cb3f955c9e7a1d6bb6e43a07c3f3fdafce
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-17 10:01:51 +02:00
9d6dcd6fff Use Kernels maxKernelWorkGroupSize to compute WG size
Change-Id: I947b5612f36cd2437e1ead98712c914ffe4b5b15
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-17 08:39:05 +02:00
ca94628058 Refactor setting max workgroup size for Kernel
Change-Id: I2a489d60a3ec9ee363c10e3a5f12b6c7ba4e8dd8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-2946
2019-09-16 19:44:56 +02:00
f7f420b066 Pass os context to ScratchSpaceController::setRequiredScratchSpace
Related-To: NEO-3691

Change-Id: I3c040b9dd8e31dc798d70c7d0b12e2a89d22fa80
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-16 17:56:03 +02:00
f18b3bb5f5 Clean up TestedDrmCommandStreamReceiver.
Change-Id: I566bda0e8c942c3a458e24ad1ee23845f4a5c1ba
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-16 17:44:01 +02:00
3fab76d95e Add GfxPartition::initAdditionalRange() stub
Related-To: NEO-2941

Change-Id: Iec74652a5ee2cc79af9093d520e892cb30045cdf
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-09-16 16:47:28 +02:00
5c120893ed Move method isMultiOsContextCapable to CommandStreamReceiverHw
Related-To: NEO-3691

Change-Id: I3169ee8d5a29b8f562b70403b2fa9ebba7601a48
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-16 14:46:11 +02:00
4d8dc3885e ULT renaming: Enqueue Copy Buffer Event tests
Related-To: NEO-2236

Change-Id: I64fe478aab55c84d28513dcef32021871b9a0149
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-16 11:32:12 +02:00
d31ba78221 Remove maxWorkGroupSize parameter from provideLocalWorkGroupSizeHints
Change-Id: I2317fce1c39800b9c94678e6c4c5c32a8d26d6a1
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-13 14:46:36 +02:00
5d640e7100 Remove multiOsContextCapable flag from GraphicsAllocation
Change-Id: I3ebeef39befdc2a3e0f9d7d76ae531622ecf1a42
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-13 13:55:42 +02:00
0337b58ee4 Remove dcFlush parameter from finish call
Change-Id: Ifc808822399a100745a9d81bb5f6e45903a895fa
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-13 12:28:10 +02:00
c0c6a46ece Wddm 2.3 improvements
- Dont create synchronization object manually - take it from HW queue
- Construct MonitoredFence from HwQueue object
- D3DKMT_SUBMITCOMMANDTOHWQUEUE should get currentFenceValue
instead of its handle
- Dont pass MonitoredFenceVa/Value in cmd buffer header

Change-Id: I4717119379cef2f0e641ce9f4ef614089491a85d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3728
2019-09-13 10:27:04 +02:00
cbc04629fd Move memory pool to the core dir
Related-To: NEO-3677

Change-Id: I04fce78640cb0bfc26ad8950261324d997cd113a
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-13 09:56:21 +02:00
ee1939ca18 Revert "Allow for blit enqueue on read/write buffer operations"
This reverts commit 70de319f33.

Change-Id: I38aa340ddbf906a3c121aa768a6c8300f48db8df
2019-09-13 09:20:51 +02:00
ae4425351f Preamble Helper Refactor
Change-Id: Iacd05dcb6d9047fc2814895fa87d1cd9be6df446
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-09-13 08:29:03 +02:00
8daf59c246 Skip unit tests when Source Level Debugger is not supported
Change-Id: I6de120636a2d59348679478aa3d1901972527166
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-12 15:53:34 +02:00
2e8e6bdb18 Move majority of utilities to the core dir
Related-To: NEO-3677

Change-Id: If2e876028b765ad3ecf5f75db8755623b82955b8
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-12 15:07:02 +02:00
04e1d73fcc Remove duplicate enums in RENDER_SURFACE_STATE
Remove:
- tagSHADER_CHANNEL_SELECT_ALPHA
- tagSHADER_CHANNEL_SELECT_BLUE
- tagSHADER_CHANNEL_SELECT_GREEN
- tagSHADER_CHANNEL_SELECT_RED
Replace:
- tagSHADER_CHANNEL_SELECT

Change-Id: Ia08ac5920107e0c2f4c3e3ef64622f1cd5254174
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-11 16:58:12 +02:00
ae7ec589fc Set proper command type in unified memory methods
Related-To: NEO-3610

Change-Id: I9758c63d0a1ee5c978259c2675519a388ffc9c4f
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-11 13:27:19 +02:00
d7236d391c Add MigrateMem and MemAdvice implementations
Related-To: NEO-3610

Change-Id: I2c5b37927bf63fbc99a8f932baabd461798a345d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-11 11:47:11 +02:00
af80a61db3 Add debug flag to create multiple sub devices
Related-To: NEO-3691

Change-Id: Ia3554424221e102094c40cdd5941680c6a253b18
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-11 10:25:21 +02:00
3fe91e6d69 Move host_ptr_defines to the core dir
Related-To: NEO-3677

Change-Id: Ic973fb65f584563cc3fbcfa20eb81fe687dc5435
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-11 09:35:55 +02:00
751de37635 ULT renaming: Enqueue Barrier tests
Related-To: NEO-2236

Change-Id: I6d2ffedad67c30404777b2093809a1c3ffee8160
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-10 20:39:19 +02:00
3dcef0d2e0 Remove unused test
Related-To: NEO-2236

Change-Id: I588078d9c22ab9dc721158e4dcd1a7314322c420
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-10 16:11:52 +02:00
b09a0af97d Adjust hostPtr size in unit test to fit image requirements
Change-Id: I061ca8f65d8a05a92dafa361a1fae58bd5e6ec53
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 15:04:50 +02:00
ccea3f497c Enhance VME registry support
Related-To: NEO-3583
Change-Id: I4ddad40348d276cb4f52ceedadf77ab615c85db9
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2019-09-10 14:40:03 +02:00
6ab6a06b1b Add error handling in allocateGraphicsMemoryForImageImpl and improve ULTs
Change-Id: I418a888fe31d5a7f008bdcfa0a3aabb77bc4df39
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 14:20:48 +02:00
fa8fc3fc43 Move a LocalMemoryUsageBankSelector to the core dir
Related-To: NEO-3677

Change-Id: Ie9fff1b353b8c2432305b44063861767e44add32
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-10 10:53:58 +02:00
523d2af942 Get a Memory Manager directly from an Execution Environment
Change-Id: I11fcdc08928405eed4efe3ead2f863fa30cf1427
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-10 10:35:30 +02:00
712e4ee31c Improve aub tests
Change-Id: Iabbcf48783a4361797fcde1b01a61a603ce1e37c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 10:08:08 +02:00
1a5430339a Add more tiling support checks in unit tests
Change-Id: I53d02d04a78833b5f0d0b648f8e9ee951c2ba95b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 07:42:00 +02:00
6689f45289 Fix compilation on clang 4 and 5
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/209

Change-Id: If0cecc836138f038da9dc74cf21c865b61aadddf
2019-09-09 17:34:30 +02:00
dd39251af5 Add tiling support checks in unit tests
Change-Id: If1330fcda0c373e03988f515f38e4e74c9c352bb
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-09 16:47:04 +02:00
f0f6027936 Revert imageSupport check during creation
Change-Id: Ife995d54c0211f283688ccf2589225f140ee7bdf
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-09 16:19:46 +02:00
9c200530c8 Remove not needed inclusions of device.h
Change-Id: Idfd8122592f58539a569143146443c08a18dace9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-09 15:05:29 +02:00
70de319f33 Allow for blit enqueue on read/write buffer operations
Change-Id: Iacdd2b75c671209d961fdf1754ff348af45ae56c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-09 12:51:06 +02:00
aa16d9dec9 Revert "Change the offset calculation to use CCS."
This reverts commit 81b055024e.

Change-Id: I5e0491fb946379f4ad2fabd6099570fea5fe1b2f
2019-09-09 10:50:08 +02:00
c100db4333 Remove duplicate enums in SAMPLER_STATE command
Remove:
- tagTCZ_ADDRESS_CONTROL_MODE
- tagTCY_ADDRESS_CONTROL_MODE
- tagTCX_ADDRESS_CONTROL_MODE
Replace:
- tagTEXTURE_COORDINATE_MODE

Change-Id: I26fb654628360f107378c7bdd531951f196c35cf
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-09 09:15:53 +02:00
dface02b19 Remove mapping on free.
Change-Id: I0ec5783362c9091edf98f893b062faaaad125522
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-06 14:16:33 +02:00
3e4dd67f09 Refactor linear/tiled Images logic
Change-Id: I1deac70e95c6953645e9f52fb75f103b62927066
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-06 13:59:52 +02:00
093bc4da9c Add support for multiple buffer objects in drm allocation
Resolves: NEO-3364

Change-Id: I05e8b9a05328298dcc578d62b2aa7b56ffbf4ddc
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-09-06 10:16:05 +02:00
06d4fa54f1 Adjust tests to shared system memory support.
Change-Id: I894030ef673d60e31dae55141e60170ac92afc15
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 16:48:10 +02:00
882a216688 Move Debug helpers to the core dir
Related-To: NEO-3677

Change-Id: I2c98595190fadfa8ffd9e378e774c0d4485cbf9e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-05 16:00:35 +02:00
37a805af62 Adjust tests to HwHelper settings.
Change-Id: Ibc775edc30659099b23d11a102190d228862a411
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 15:53:32 +02:00
3f12acb356 Force no shared system memory capabilities in svm tests.
Change-Id: I4133aac5bfe1097bbbbb3d3a28f4ddf34f88e004
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 14:24:26 +02:00
3f433baf38 Force stateless compilation for builtins path.
Change-Id: I8ee826fdcc455a3770fa54ee635aaeff62ee35e6
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 13:07:21 +02:00
8278d58841 Pass by const reference.
Related-To: NEO-3008

Change-Id: I90e430ccfc049ccb164865e29b6ec3f6f7e98b86
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-05 12:35:00 +02:00
46b3012eb5 Force stateless compilation when device supports shared system memory
Change-Id: I8e11ef82baf010a9a400bc9d733b8ec37a9fbb21
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 12:34:32 +02:00