Commit Graph

3218 Commits

Author SHA1 Message Date
Lukasz Jobczyk
b7ed51ad71 refactor: fix isDirectSubmissionSupported xe_hpg helper
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-09-04 09:15:03 +02:00
Compute-Runtime-Validation
869e3ec9f8 Revert "performance: Remove tlb flush on DG2"
This reverts commit ae0a6b8ea8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-09-02 04:24:33 +02:00
Compute-Runtime-Validation
154530ad23 Revert "feature: Report correct GRF register count"
This reverts commit 8eb3fe222e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-09-01 15:12:57 +02:00
Kacper Kasper
abfed5a762 fix: add specialization constants to cache hash in spirv path
Related-To: NEO-4262

Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-09-01 14:04:59 +02:00
Zbigniew Zdanowicz
0fc45fef1a fix: pass heap information when kernel operation is flushed
Related-To: NEO-8281

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-09-01 12:09:35 +02:00
Lukasz Jobczyk
ae0a6b8ea8 performance: Remove tlb flush on DG2
Resolves: NEO-7116

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-09-01 11:57:26 +02:00
Mateusz Jablonski
4222a3a9bc test: unify per product gfx core helper tests for xe hpg
Related-To: NEO-8187

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-01 10:52:52 +02:00
Mateusz Jablonski
a4c538aa1f test: move mtl hw info tests to xe lpg scope
Related-To: NEO-8187

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-01 10:18:58 +02:00
Zbigniew Zdanowicz
cb641226b5 fix: add debug key to provide alternative directory for wddm residency logs
Related-To: NEO-8211

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-09-01 10:15:09 +02:00
John Falkowski
2166f7cbcc fix: Disable 1-tile chunking dev mem
Disable chunking for device memory allocation if only 1Tile

Related-To: NEO-8098

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-31 21:34:51 +02:00
Jitendra Sharma
8eb3fe222e feature: Report correct GRF register count
Based on Large GRF enabled or not, report correct GRF
register.

Related-To: NEO-6788
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-08-31 18:48:29 +02:00
Mateusz Jablonski
a0ed1ab846 test: add new matcher for xe lpg platforms
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-31 17:00:18 +02:00
Mateusz Jablonski
c456225654 test: add unit tests for device caps
Related-To: NEO-8187

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-31 16:44:35 +02:00
Maciej Plewka
5807d512b3 fix: Reuse private allocations during cmdList dispatch
Related-To: NEO-8201

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-08-31 14:40:55 +02:00
Kacper Kasper
ba4867c3d0 fix: compiler cache file extension and path creation
* When env variables did not have trailing slash, directory creation
could fail.
* If .cache in $HOME did not exist cache would have been disabled.

Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-08-31 13:44:19 +02:00
Slawomir Milczarek
5833d65bc0 feature: Add support for memadvise with system preferred location
Related-To: NEO-7851

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2023-08-31 13:09:55 +02:00
Kacper Kasper
996c261430 fix: OclocIgcFacade->getIgcRevision() could return nullptr
* Make sure igcRevision is always initialized.
* Improve coverage.

Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-08-31 12:57:27 +02:00
Mateusz Jablonski
4bd992b108 test: add unit tests for command encoder xe hpg
Related-To: NEO-8187

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-31 11:25:39 +02:00
Mateusz Jablonski
824a98815e test: unify tests compute mode programming within Xe Hpg
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-31 09:02:10 +02:00
Mateusz Hoppe
9e89704624 feature: debug flag to disable DriverStore path enforcement
Resolves: NEO-8320

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-31 08:20:53 +02:00
Mateusz Jablonski
db95855092 test: unify tests encode dispatch kernel within Xe Hpg
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-30 16:23:38 +02:00
Lukasz Jobczyk
d3355411b8 performance: Improve dispatch monitor fence from wait
-update last submitted value while flush monitor fence
-dispatch monitor fence with workload when stalling cmds present

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-30 16:15:32 +02:00
Zbigniew Zdanowicz
54fce64583 fix: set the indirect object address stream property when not set already
Related-To: NEO-8281

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-30 15:51:24 +02:00
Mateusz Jablonski
0df7e3279e refactor: remove not needed logic around DisallowLowQualityFiltering
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-30 15:35:13 +02:00
Mateusz Jablonski
652cc31160 test: unify sampler tests for at least gen12lp platforms
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-30 15:07:39 +02:00
Mateusz Jablonski
0c8549b5a9 performance: change preferred allocation method on xe lpg
- don't prefer allocation method for TAG_BUFFER
- don't prefer allocation method for TIMESTAMP_PACKET_TAG_BUFFER

these allocations are used from CPU multiple times

Related-To: HSD-18032442707, HSD-18032440987
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-30 14:30:56 +02:00
Mateusz Jablonski
a4addad510 refactor: prework for defining preferred allocation method per allocation type
Related-To: HSD-18032442707, HSD-18032440987
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-30 12:17:33 +02:00
Mateusz Jablonski
819908ec94 performance: allocate timestamp packet tag buffer in local mem on DG2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-30 12:02:04 +02:00
Cencelewska, Katarzyna
bd8625c96a fix: wa override pat index for uncached types on xe_lpg
always force pat index 2(UC) when uncached type

Related-To: NEO-7565
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-08-30 08:37:31 +02:00
Naklicki, Mateusz
20862ad8fd fix: resolve builtins depending on the product
Related-To: NEO-6875
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-08-29 15:25:08 +02:00
Mateusz Hoppe
00de13939d feature: bindless addressing allocator - reuse of bindless slots
- introduce 2 reuse pools to bindlessHeapHelper
- one pool stores slots for reuse, second pool stores released slots
- stateCacheDirty flags keep track of state cache - when pools are
switched - flags are set indicating flushing caches is needed after
old slots have been reused for new allocations

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-29 09:51:36 +02:00
Compute-Runtime-Validation
edd5523f82 Revert "fix: pass heap information when kernel operation is flushed"
This reverts commit b674a2829d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-29 02:30:18 +02:00
Compute-Runtime-Validation
850d4baf89 Revert "feature(zebin): Re-introduce support for validation using PRODUCT_CON...
This reverts commit a0c35bf0d9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-28 21:44:21 +02:00
Kacper Nowak
a0c35bf0d9 feature(zebin): Re-introduce support for validation using PRODUCT_CONFIG value
Related-To: IGC-6300
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-08-28 18:36:16 +02:00
Zbigniew Zdanowicz
b674a2829d fix: pass heap information when kernel operation is flushed
Related-To: NEO-8281

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-28 16:30:46 +02:00
Fabian Zwolinski
1369882b3c fix: ocloc - regenerate genHash after compilation
This PR ensures that the genHash will be the same
whether the cl_cache is re-used or just created.
So it has to be regenerated after compilation
to make sure it's created with non NULL irBinary.

It also allows to cache debugDataBinary.

Minor: Rename NEO_PERSISTENT_CACHE -> NEO_CACHE_PERSISTENT in FAQ,
since this version is used in code.

Related-To: NEO-8288, NEO-8092
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-08-28 13:11:49 +02:00
Compute-Runtime-Validation
fb81a2e41b Revert "performance: Enable ULLS direct submission on DG2 Windows"
This reverts commit f264b52702.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-27 23:12:36 +02:00
Igor Venevtsev
f264b52702 performance: Enable ULLS direct submission on DG2 Windows
Resolves: NEO-8072

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2023-08-25 11:44:48 +02:00
Mateusz Jablonski
dbbc57777a refactor: move MTL device ids to common place
Related-To: NEO-8187

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-25 00:12:24 +02:00
Compute-Runtime-Validation
fc29170a7c Revert "feature(zebin): Re-introduce support for validation using PRODUCT_CON...
This reverts commit 6ffb689b58.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-24 19:52:40 +02:00
Mateusz Jablonski
d16debf5dc refactor: remove not needed condition in xe lpg product helper
release helper should be always set there
remove invalid setting rev id in xe lpg platform tests
simplify test that rely on release helper

Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-24 17:17:38 +02:00
Kacper Nowak
6ffb689b58 feature(zebin): Re-introduce support for validation using PRODUCT_CONFIG value
Related-To: IGC-6300
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-08-24 15:16:56 +02:00
Mateusz Jablonski
eebb44ed09 fix: adjust scope for state compute mode WA
Related-To: HSD-14014949602, HSD-14015138324, HSD-14015138326
Related-To: NEO-7786, NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-24 11:43:37 +02:00
Mateusz Jablonski
db52486bbf refactor: move MTL specific definition of ProductHelper to Xe Lpg
Related-To: NEO-8187

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-24 10:50:26 +02:00
Filip Hazubski
fe601f527f fix: Provide DRM_XE_VM_CREATE_FAULT_MODE flag to GemVmCreate calls
DRM_XE_VM_CREATE_FAULT_MODE flag is to be used when
Drm::hasPageFaultSupport returns true.

Related-To: NEO-7996

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-08-24 08:25:58 +02:00
Dominik Dabek
5c5c718af3 performance: detect indirect access in kernel, PVC
Enabling on pvc after patch in igc.

Enabling only for JIT kernels because AOT could have been compiled with
IGC older than required.

Related-To: NEO-7712

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-08-24 02:15:11 +02:00
John Falkowski
985228ec57 fix: comply with clang tidy
Resolves:  NEO-6357

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-24 01:06:43 +02:00
Brandon Yates
9db08001c4 fix(debugger): Set flags for MME regset
Related-to: NEO-8286

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-08-23 16:38:35 +02:00
Mateusz Jablonski
803253fde6 test: move debug env reader tests to os agnostic scope
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-23 13:51:19 +02:00
Mateusz Jablonski
e429afec1e refactor: unify mocks for getenv function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-23 13:44:40 +02:00