f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-26 13:30:26 +01:00
44596f6e4d
Revert "Improve mmap logic in createAllocWithAlignment"
...
This reverts commit adb5c58292165f1d5a144548c5d5148021d2152e.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-01-26 08:52:12 +01:00
0424f30782
Improve mmap logic in createAllocWithAlignment
...
Group small allocations and reuse mapped memory in order to keep map
count small.
Related-To: NEO-6417
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-01-25 15:30:29 +01:00
010186d0da
Correct GivenTwoCommandQueuesWhenEnqueuingKernelThenThereIsOneVfeState test
...
parse commands after flushing command queues
correct getCommandNameHwSpecific behaviour for STATE_COMPUTE_MODE
Related-To: NEO-5618
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-25 14:53:42 +01:00
0dbac9cec7
Move compute mode tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-25 10:14:00 +01:00
9330f737d4
Revert "Check if direct submission available once"
...
This reverts commit 7ab6d2801a
.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-01-25 10:01:15 +01:00
0c933d83af
Update RENDER_SURFACE_STATE for Xe Hpc
...
For Xe Hp and later rename RSS tile mode enum from YMAJOR to TILE4
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-24 18:06:42 +01:00
1634ac9ec3
Revert "Dont generate gen file by default"
...
This reverts commit 95943dee0f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-24 14:46:29 +01:00
a7455b5767
Add tweaks and control flags to linux completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-21 13:41:23 +01:00
bbea52f3f9
Update CFE_STATE for Xe Hpc
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-21 10:55:20 +01:00
ec40b6562e
Add unit tests for completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-20 21:15:34 +01:00
d9bf1886c2
Remove GMock from GMockMemoryManagerFailFirstAllocation, GMockMemoryManager...
...
Removed GMock from
- GMockMemoryManagerFailFirstAllocation
- GMockMemoryManager
- TestEventCsr
- MockKmdNotifyCsr
- MockMemoryOperationsHandlerTests
- GmockGmmMemory
- MockMemoryManagerCommandQueueSBA
- TestCmdQueueCsr
Renamed:
- GMockMemoryManagerFailFirstAllocation -> MockMemoryManagerFailFirstAllocation
Moved class body:
- GMockMemoryManager to MockMemoryManager
- GmockGmmMemory to MockGmmMemoryBase
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-01-20 16:08:34 +01:00
af8f712010
Move gen9 preamble tests to gen9 directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-01-20 12:38:04 +01:00
6082865eb4
Revert "Optimize Level Zero indirect allocations handling."
...
This reverts commit 3ecbc55ba9
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-20 11:41:13 +01:00
dfe23a08b2
Update RENDER_SURFACE_STATE for Xe Hp
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-20 10:53:54 +01:00
d44f3009b8
Add interface for user fence extension
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-19 19:58:22 +01:00
ac39f424ce
Correct expectations of horizontal alignment programmed value
...
change value in mock to verify non-default value programming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-19 18:36:34 +01:00
3ecbc55ba9
Optimize Level Zero indirect allocations handling.
...
Make them resident directly instead of populating residency container
Remove finds, not needed, CSR resolves duplicates at makeResident calls
Observed gain is 32x for 10k indirect allocations.
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
Co-authored-by: Dominik Dabek <dominik.dabek@intel.com >
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-19 13:08:35 +01:00
4238679078
Refactor implicit scaling device support
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-18 13:08:43 +01:00
40483acd17
Improve blitter programming
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-01-18 10:36:05 +01:00
95943dee0f
Dont generate gen file by default
...
Ocloc can dump gen file when we add -gen_file flag to cmd.
Otherwise gen is not generated
Signed-off-by: Mateusz Borzyszkowski <mateusz.borzyszkowski@intel.com >
2022-01-17 18:14:50 +01:00
625575209a
Add new test matcher
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-17 16:13:45 +01:00
e5a18177c5
Add unit test helper function to set pipe control hdc flush
...
Separate unit test helper definitions bdw_and_later / xe_hp_and_later
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-17 15:45:29 +01:00
ff79c84115
Correct INTERFACE_DESCRIPTOR_DATA definitions for XeHp and later
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-14 19:06:55 +01:00
b78bb26cbf
Refactor partitioning of state base address
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-14 19:06:24 +01:00
53482e6821
Allow ocloc to link files
...
Added 'link' option to ocloc CLI, which allows linking of
several IR files to single output file. Supported formats
of output file are ELF and LLVM BC.
Related-To: NEO-6163
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-01-14 16:18:36 +01:00
370b4b94c8
Minor fix for linux ULTs
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-01-14 16:06:07 +01:00
9c4f05387b
Refactor partitioning of dispatched kernels
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 22:54:07 +01:00
201c3347ff
Rename dispatchBlitCommandsRegion to dispatchBlitCommandsForImageRegion
...
As this function no longer applies to buffers it needed to be renamed.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-01-13 15:42:12 +01:00
caa19489fc
Tweak dispatch kernel args structure
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 15:06:12 +01:00
9785ab7828
Refactor encode dispatch kernel class interface
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 12:08:38 +01:00
394c0e90e1
Return error when failing on submission
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2022-01-12 16:42:30 +01:00
44ebe800df
Move MockWddm body to WddmMock
...
This commit cleans the code after previously removed GMock from the
MockWddm(GmockWddm) class by merging MockWddm class into WddmMock.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-01-12 16:08:46 +01:00
af7cb3ff35
Test closing GEM worker is blocking during cleanup
...
Added test checking if closing GEM worker during
DRM memory manager clean up is blocking.
Related-To: NEO-6213
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-01-12 12:48:05 +01:00
8729521769
Use dispatchBlitCommandsForBufferRegion when copying buffers in L0
...
First step to separate dispatch blit commands for buffers
from dispatch blit commands for images.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6134
2022-01-11 13:52:56 +01:00
26a24e8fde
Query engine info with distances
...
If prelim kernel is being used, query distances
and set correctly number of available engines
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-01-10 13:30:26 +01:00
02f075c541
Power Saving Hint Support for Level Zero in Windows
...
- Added Functionality to pass ze_power_saving_hint_type_t to zeContextCreate
included in the pNext extensions in ze_context_desc_t.
- Enables handling a hint value 0-100 with 0 being no power savings
and 100 being maximum power savings.
- ZE_RESULT_ERROR_INVALID_ENUMERATION is returned given an invalid hint.
Related-To: LOCI-2567
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-01-06 23:56:59 +01:00
8ec74558ea
Temporarily disabling local memory for DG2 in WSL
...
Forcing system memory pool for all allocations in WSL for DG2
while local memory support is being implemented
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-06 11:15:25 +01:00
1d48e97649
Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests...
...
GMock Removed from:
- MockAubCsr
- GmockAubFileStream
- AsyncEventsHandlerTests
- AsyncEventsHandlerTests::MyEvent
- MockGmmPageTableMngr
- GmockWddm
Additionally:
- GmockAubFileStream body moved to MockAubFileStream class
- Deleted unused GmockAubFileStream class
- Deleted NiceMocks from AsyncEventsHandlerTests
- Renamed GmockWddm to MockWddm
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-01-05 14:45:13 +01:00
534280fad6
Disable device enqueue
...
on icllp, cfl, kbl, skl
Resolves: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-03 17:34:30 +01:00
0cbc320e57
Move memory fixtures to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-03 16:47:02 +01:00
7ab6d2801a
Check if direct submission available once
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-31 11:53:29 +01:00
2047fc88f9
Move execution environment helper to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-31 11:36:44 +01:00
24621e8d16
Add test for getMaxParameterSizeFromIGC
...
Test is using MockCompilerInterface
Related-To: NEO-4851
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-30 18:17:40 +01:00
187120f44e
Program Media Sampler DOP Clock Gate Enable on Xe Hp Sdv
...
remove skipped tests
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-30 16:45:40 +01:00
b5ffad2fec
Revert "Check if direct submission available once"
...
This reverts commit 70a7840da3
.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 10:31:00 +01:00
446a78a134
Force stateless addressing mode for PVC
...
PVC will support buffers greater than 4GB, hence we have to
use stateless accessing mode as default.
Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com >
2021-12-29 14:53:18 +01:00
67fff7fc51
Rename igcFeWa to igcFtrWa
...
It references features and workarounds
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-29 11:52:43 +01:00
615688336f
Program all fields in SCM
...
Related-To: NEO-6432
This change applies WA that always programs all fields in SCM for
gen12lp. Also for those platforms Force Non-Coherent is set to 0x2.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-28 16:30:47 +01:00
300a971af3
Use igc interface to get max param size
...
IGC will be queried for max parameter size at the end of initializing
device caps.
Related-To: NEO-4851
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-28 16:10:05 +01:00