Commit Graph

1017 Commits

Author SHA1 Message Date
Bartosz Dunajski
d182d77a41 Remove unused methods
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-09 13:39:02 +02:00
Lukasz Jobczyk
cfebccdd3f Unbind BO before unmap
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-09 12:22:42 +02:00
Bartosz Dunajski
9cf7651643 Simplify Device classes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-08 19:00:59 +02:00
Jaime Arteaga
ddca333045 Improve support for L0 uncached device allocations
Make sure UNCACHED flags are translated into setting the MOCS index
for uncaching L3.

Related-To: NEO-5500

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-08 13:00:03 +02:00
Mateusz Hoppe
223a42c3c7 Refactor DebugSession creation
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-07 14:40:02 +02:00
Lukasz Jobczyk
1921bfb3dc Add infrastructure to enable direct submission
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-07 14:23:58 +02:00
Zbigniew Zdanowicz
889f1d0ae5 Enable KMD Notify on Linux DG1
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-07 13:54:40 +02:00
Lukasz Jobczyk
32f9d46dc1 Add debug flag for ULLS drm context creation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-07 13:24:28 +02:00
Maciej Plewka
b2e40d5f80 Get Planar Yuv height from hw helper
Related-To: NEO-4926

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-04-07 11:31:53 +02:00
Mateusz Jablonski
aff7b7cdd1 Pass hardware info to adjustSamplerState method
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-07 10:58:04 +02:00
Milczarek, Slawomir
0451e03525 Add GTPin feature to allocate buffer in shared memory
Related-To: NEO-5667

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-07 10:10:17 +02:00
Filip Hazubski
31b7fcf653 Update programVFEState function
Related-To: NEO-4940, NEO-4574

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-07 09:45:13 +02:00
Compute-Runtime-Validation
1dede48469 Revert "Add GTPin feature to allocate buffer in shared memory"
This reverts commit 255e85c124.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-03 20:28:11 +02:00
Bartosz Dunajski
f8f8b53d95 Improve OsHandle struct
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-02 18:42:16 +02:00
Milczarek, Slawomir
997604c2dd AUB CSR to use a common AUB and TBX gpu domain handler
Related-To: NEO-5667

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-02 15:53:10 +02:00
Lukasz Jobczyk
dece1d5798 Enable new residency model
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-02 15:27:30 +02:00
Milczarek, Slawomir
255e85c124 Add GTPin feature to allocate buffer in shared memory
Related-To: NEO-5667

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-02 15:09:07 +02:00
Mateusz Hoppe
671d916c70 Add Debugger specific log print macros
- use DebuggerLogBitmask while printing logs for SBA tracking

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-02 15:00:55 +02:00
Milczarek, Slawomir
cd9a35d2b4 Align gfx partition with standard heaps to max heaps granularity
Related-To: NEO-5507

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-02 09:20:21 +02:00
Compute-Runtime-Validation
fde36043d1 Revert "Enable new residency model by default"
This reverts commit 9dc25818cb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-02 02:12:44 +02:00
Spruit, Neil R
7a3095c273 Report failure given Compiler Library Load failed for L0
- Return ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE given the Compiler
  cannot be loaded.
- Print dlopen and LoadLibrary error strings given Debug Print Messages
  are enabled.

Related-To: LOCI-1313

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-04-01 23:01:38 +02:00
Bartosz Dunajski
ce9337290c Move profiling mmio read programming to new method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-01 16:42:23 +02:00
Mateusz Jablonski
298df1582b Add flag to determine if csr can allocate in internal heaps
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-01 15:37:41 +02:00
Lukasz Jobczyk
0c8080ac26 Add debug flag for low priority ULLS BCS
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-01 15:27:12 +02:00
Milczarek, Slawomir
75f3b416ae Gfx partition with 64KB and 2MB heap granularities
Related-To: NEO-5507

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-01 14:54:55 +02:00
Zbigniew Zdanowicz
97505aebb6 Change default number of iterations in wait function
Related-To: NEO-4759

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-01 13:09:08 +02:00
Bartosz Dunajski
da9d039dd6 New method to return TimestampPacket alignment
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-01 11:55:11 +02:00
Mateusz Hoppe
e93dc9c61a Add DebuggerLogBitmask debug variable to switch log levels
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-01 11:36:39 +02:00
Jaime Arteaga
d6496f959a Add support for floating point atomics properties extension
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-31 20:32:55 +02:00
Bartosz Dunajski
47c2a3011a Remove not used MemorySynchronizationCommands argument
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-31 17:58:43 +02:00
Igor Venevtsev
bd32518d31 Add extra parameters to EncodeComputeMode::adjustComputeMode() method
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-31 16:51:55 +02:00
Krystian Chmielewski
4808f663b6 Remove WorkloadInfo from KernelInfo
Related-to: NEO-4729

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-03-31 16:29:38 +02:00
Bartosz Dunajski
b6e3817f31 Dont program dcFlush when not allowed
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-31 16:13:19 +02:00
Lukasz Jobczyk
9dc25818cb Enable new residency model by default
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-31 16:07:34 +02:00
Zbigniew Zdanowicz
b9ed7de40a Parametrize wait operation
Related-To: NEO-4759


Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-31 15:12:59 +02:00
Bartosz Dunajski
2f59fafb96 Use only ContextEnd for TimestampPacket completion check
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-31 15:00:22 +02:00
Lukasz Jobczyk
6d164fa8b5 Flush caches in direct submission by default
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-31 11:10:29 +02:00
Sebastian Luzynski
6163120809 Remove unnecessary check for gen12lp during symbol relocations
Related-To: NEO-5433

Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2021-03-30 11:48:06 +02:00
Mateusz Jablonski
8215395401 Simplify Context method
return if context has multiple sub devices related to a given root device

Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 10:22:15 +02:00
Jaime Arteaga
40ecee5733 Add environment variable to select L0 timer resolution
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-30 02:56:59 +02:00
Bartosz Dunajski
4a2a14fd41 Refactor getTimestampPacketAllocator method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-29 18:18:56 +02:00
Kamil Diedrich
7d64d8e00e Unify reading pci paths
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-03-29 15:59:09 +02:00
Igor Venevtsev
21aa14e497 Reprogram atomics in SBA if context has several devices
Related-To: NEO-5459

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-29 12:42:31 +02:00
Krzysztof Gibala
7bfe26a08d Remove ensureMemoryOnDevice function
Remove:
- ensureMemoryOnDevice
- lastUsedRootDeviceIndex
- requiredRootDeviceIndex
- getMigrateableMultiGraphicsAllocation

Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-29 11:41:07 +02:00
Bartosz Dunajski
0bc04f3c31 Refactor TimestampPackets class
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-29 10:26:32 +02:00
John Falkowski
218387dd47 Apply timerResolution mod for L0 V1.1
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-03-27 11:43:03 +01:00
Bartosz Dunajski
85f93cd51b Remove redundant reset calls
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-27 11:42:49 +01:00
Krzysztof Gibala
0b7d2da162 Create image allocations in system memory pool
Create image allocations in multi device setup in system memory pool

Related-To: NEO-5508

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-26 15:35:05 +01:00
Bartosz Dunajski
5a50ad098c Refactor TagAllocator
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-26 15:16:56 +01:00
Igor Venevtsev
cb4db7767e Do not reprogram SBA if CSR is not multi os context capable
Related-To: NEO-5459

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-26 13:49:04 +01:00