Commit Graph

945 Commits

Author SHA1 Message Date
Mateusz Hoppe db1157f729 Do not create preemption allocation when debugger is used
- preemption alloc should only be needed with MidThread

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-18 17:43:03 +01:00
Katarzyna Cencelewska c58f26c6ec Add debug flag OverrideSlmSize
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-03-18 17:24:42 +01:00
Krystian Chmielewski 10af36c70a Add support for buffer_offset arg
Resolves: NEO-5487

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-03-18 12:29:27 +01:00
Lukasz Jobczyk 27ca04f77f Check new residency model support
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-18 10:06:31 +01:00
Zbigniew Zdanowicz d223508cad Move Drm function
Related-To: NEO-5570

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-18 10:02:14 +01:00
Lukasz Jobczyk 129357410c Update task count while waiting
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-17 15:09:25 +01:00
Maciej Dziuban 3f5b9df122 Pass EngineUsage to getEngine
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-03-16 16:31:44 +01:00
Krzysztof Gibala 274d2ff4b4 Correct createMultiGraphicsAllocationInSystemMemoryPool logic
isUSMHostAllocation flag will be set according to limited range product setup

Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-16 16:22:33 +01:00
Maciej Dziuban eb34c42e02 Enable static partitioning by default
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-16 12:48:11 +01:00
Filip Hazubski 9a8125cdb0 Correct formatting
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-16 10:29:41 +01:00
Maciej Dziuban 264f20ea00 Pass EngineTypeUsage to OsContext creation
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-03-16 10:21:18 +01:00
Igor Venevtsev 52e118fe49 Add extra parameters to Buffer::setSurfaceState() method
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-16 10:17:59 +01:00
Mateusz Hoppe ce15a85a0b Fix debug data relocations
Related-To: NEO-4769

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-16 09:27:14 +01:00
Jaime Arteaga 6a81edfbe1 Add support for ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_MAX_SIZE
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-15 16:20:10 +01:00
Konstanty Misiak 88a1593913 Add software tags
Related-To: NEO-344

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-03-15 15:51:08 +01:00
Lukasz Jobczyk fb47944aff Fix BCS detection in direct submission
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-15 12:42:14 +01:00
Pawel Wilma f1d4d8ab4d Use OverrideSlmAllocationSize also in OpenCL
Related-To: NEO-5651

Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2021-03-12 16:11:37 +01:00
Lukasz Jobczyk 07b651ccb8 Make direct submission bcs context low priority
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-12 11:52:41 +01:00
Lukasz Jobczyk eb32305b86 Disable new residency model
This reverts commit c0999f573f3e476cd20f6685dcbe72e9e0ab64ce.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-12 08:57:06 +01:00
Krzysztof Gibala 19355ca088 createTagsMultiAllocation function cleanup
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-11 15:11:06 +01:00
Lukasz Jobczyk 69d5dd7dd5 Enable new residency model
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-11 14:56:06 +01:00
Lukasz Jobczyk 18e2c7d9d0 Pass bound BOs to exec to keep dependencies
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-11 14:04:10 +01:00
Lukasz Jobczyk 2358173e65 Fix reserved size in shared BOs
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-11 13:54:50 +01:00
Filip Hazubski 6a4ed40a16 Correct Host Mem Capabilities values
Related-To: NEO-5054

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-11 08:54:59 +01:00
Mateusz Hoppe 516a905712 Mark Scratch and Private allocations for capture
Related-To: NEO-5237

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-10 14:04:57 +01:00
Filip Hazubski dca33e10ec Move hw_info_config files to shared
Related-To: NEO-5161

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-10 12:49:06 +01:00
Krzysztof Gibala 4abe4a96b8 Add multiGraphicsAllocation to CSR
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-10 12:42:01 +01:00
Zbigniew Zdanowicz 779253c49c Add new flag to USM memory manager
Related-To: NEO-5498

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-10 11:47:34 +01:00
Slawomir Milczarek bca7b54728 Allocation shareable to use standard64KB heap
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-10 11:39:16 +01:00
Katarzyna Cencelewska d9172c9b7f 1Mb alignment support in OsAgnostic path
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-03-10 10:56:25 +01:00
Maciej Dziuban 66cff28002 Do not use threadDims for indirect dispatches
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-10 08:04:34 +01:00
Krystian Chmielewski 41f3bd00ff Remove PatchTokens from KernelInfo
Use KernelDescriptor instead of patchTokens stored in KernelInfo's
patchInfo.
Removed: SPatchMediaInterfaceDescriptorLoad, SPatchAllocateLocalSurface,
SPatchMediaVFEState(slot 0), SPatchMediaVFEState(slot 1),
SPatchInterfaceDescriptorData, SPatchSamplerStateArray,
SPatchBindingTableState, SPatchDataParameterBuffer,
SPatchDataParameterStream, SPatchThreadPayload,
SPatchKernelAttributesInfo, SPatchAllocateStatelessPrivateSurface,
SPatchAllocateSyncBuffer,
SPatchAllocateStatelessConstantMemorySurfaceWithInitialization,
SPatchAllocateStatelessGlobalMemorySurfaceWithInitialization,
SPatchAllocateSystemThreadSurface.

Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-03-09 17:09:13 +01:00
Jaime Arteaga e491bca8cb Revert "Enable new residency model by default"
This reverts commit 489b78f0b5.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-08 21:04:12 +01:00
Mateusz Hoppe c994bf6f00 Fix pagefault Cpu transfers in TBX mode
Related-To: NEO-5286

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-08 19:22:02 +01:00
Bartosz Dunajski 8b89fb8541 Capability to exclude Engine on SubDevice
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-08 11:32:13 +01:00
Bartosz Dunajski 047a93fde6 Update getExtraMmioList method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-08 11:25:40 +01:00
Maciej Dziuban c361570fab Make work partition allocation resident
Related-To: NEO-5546

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-08 10:32:42 +01:00
Katarzyna Cencelewska 34c873c3aa Update description of ForceAuxTranslationMode
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-03-05 17:58:05 +01:00
Maciej Dziuban 1350aa52fb Pass DispatchInfo to estimation functions
Related-To: NEO-5546

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-05 12:47:55 +01:00
Kacper Nowak 234b401aab Moved devices.inl and devices_base.inl to shared for future shared use in ocloc
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-03-04 13:03:45 +01:00
Zbigniew Zdanowicz 24b928303b Rename fields in AllocationProperties
Related-To: NEO-5498

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-02 18:32:37 +01:00
Lukasz Jobczyk 8fa97ed4a8 Fix shared buffer object size
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-02 14:08:47 +01:00
Slawomir Milczarek 049166688c Introduced standard heap with 2MB alignment on Linux
Related-To: NEO-5507

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-02 14:03:37 +01:00
Bartosz Dunajski 9c164a01a6 AuxTranslationMode fallback path
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-02 12:09:04 +01:00
Mateusz Hoppe f00a2c9422 Add UseBindlessDebugSip debug variable
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:41:12 +01:00
Mateusz Hoppe 8f87dfaf0c Add Debug API handlers
Related-To: NEO-4554


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:26:43 +01:00
Mateusz Jablonski da5f7b9216 Add debug keys to scratch register write after walker
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-26 16:13:57 +01:00
Mateusz Jablonski 35064c3dea Allow for hex input in file with debug keys
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-26 16:04:26 +01:00
Zbigniew Zdanowicz 3e4be8d78e Add new allocation type
Related-To: NEO-5244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-02-26 12:57:12 +01:00
Spruit, Neil R 464e4fd1b1 Fix GMM usage in 1D image allocation on windows
Properly use the gmm resource created for the Image allocation
instead of the gmm resource created in allocateGraphicsMemoryWithAlignment
in the windows wddm memory manager by removing the call to
allocateGraphicsMemoryWithAlignment for 1D images.

Invalid ULT testing this functionality has been removed.

Related-To: LOCI-1845
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-02-26 11:58:27 +01:00