Commit Graph

592 Commits

Author SHA1 Message Date
Bartosz Dunajski 68aea5bf62 Rename compression flags and helpers
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 18:09:02 +01:00
Zbigniew Zdanowicz 3e1023fa1a Unify memory layout for all multi tile post sync operations
Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-02 18:00:40 +01:00
Igor Venevtsev 4d433d8674 Stop using CONTEXT_SET_PARAM to set context VM
Use DRM_IOCTL_I915_GEM_CONTEXT_CREATE_EXT extension mechanism instead

Resolves: NEO-5881

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-12-02 17:39:20 +01:00
Bartosz Dunajski 55959d4d1d Helper method to check if allocation is compressed
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-02 16:13:53 +01:00
Bartosz Dunajski 7b55d38e34 Refactor [1/n]: Make compression preference allocation property
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-02 15:24:35 +01:00
Milczarek, Slawomir 133e13b319 Add getter for shared system memory capabilities
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-12-02 12:51:41 +01:00
Kamil Diedrich 5bc98718b9 Add support for device allocation on Windows
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-02 12:26:47 +01:00
Filip Hazubski fe08216102 Refactor: Update Drm::createDrmContext
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-01 17:04:09 +01:00
Szymon Morek ce5f9c2214 Rename LocalMemoryHelper to IoctlHelper
Related-To: NEO-6472

This helper class is not used only for local memory.
IoctlHelper is more appropriate.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-01 14:34:21 +01:00
Mateusz Jablonski caaa918705 Add missing maybe_unused keywords
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-01 12:59:17 +01:00
Katarzyna Cencelewska fa16cbceb9 Change size calculating for scratch on dg2
Also add proper init for SliceInfo on Linux

Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-12-01 12:36:41 +01:00
Kamil Diedrich 3218b784e8 Add override for gfxPartitionLayout in WSL DG1 path
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-01 10:29:27 +01:00
Szymon Morek e368e6c20b Move free function to DrmMemoryManager
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-30 14:55:18 +01:00
Compute-Runtime-Validation 383daf9dbe Revert "Change size calculating for scratch on dg2"
This reverts commit adc3ab5f24.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-11-30 04:22:55 +01:00
Katarzyna Cencelewska adc3ab5f24 Change size calculating for scratch on dg2
Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-11-29 14:07:38 +01:00
Szymon Morek 12777bd758 Move MemoryInfoImpl logic to MemoryInfo
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-29 13:13:11 +01:00
Joshua Santosh Ranjan 152ee4a627 Sysman Fix Multithread Access for zesMemoryGetState
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>

Related-To: LOCI-2727
2021-11-27 02:35:46 +01:00
Szymon Morek 2319a56557 Move SystemInfoImpl logic to SystemInfo
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-25 19:05:35 +01:00
Bartosz Dunajski 995cb88bfa Improve ftr/wa flags packing
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Lukasz Jobczyk fb376639ee Refactor isDirectSubmissionSupported
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-25 13:40:41 +01:00
Szymon Morek 23f7a908d7 Add query system info on linux
Source location of DRM_I915_QUERY_HWCONFIG_TABLE
and modified intel_hwconfig_types.h:
https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/tree/intel/IGTPW_6061/

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-24 17:38:15 +01:00
Grzegorz Choinski 2e68f0abbd lint revision update
Related-To: NEO-6441
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2021-11-23 12:50:25 +01:00
Milczarek, Slawomir 31b339b873 Use VM Bind immediate when page faults supported
Related-To: NEO-6355

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-11-22 18:11:18 +01:00
Jaroslaw Chodor c4e802f01b WSL - fixing resource cleanup on process shutdown
Resolves issues with coexistance of NEO L0 and NEO OCL libraries
within a single process running in WSL and using WDDM GPU PV

Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-11-20 21:51:51 +01:00
Bartosz Dunajski 91dfa5c2ac Initial DG2 support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-19 10:01:29 +01:00
Milczarek, Slawomir b8aa2871bd Add mock function to check for page fault support
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-11-18 17:46:41 +01:00
Compute-Runtime-Validation 49d1e04800 Revert "Disable render compressed buffers on xehp"
This reverts commit 60787ef586.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-11-18 14:50:08 +01:00
Kamil Kopryk 4426d9d971 Remove getSharedSystemMemCapabilities from hwInfoConfig helper
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6075
2021-11-17 16:35:52 +01:00
Milczarek, Slawomir 60787ef586 Disable render compressed buffers on xehp
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-11-17 13:09:59 +01:00
Szymon Morek 3cf2e2e395 Use drm tip kernel headers as default 2/2
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-15 17:16:54 +01:00
Milczarek, Slawomir 4bd31de0f4 Moved query function to another cpp module
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-11-15 12:43:24 +01:00
Milczarek, Slawomir bc4c64b095 Add unit test for query page fault support
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-11-15 10:33:51 +01:00
Milczarek, Slawomir 8cf3e8ca94 Improve control of explicit residency flag
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-11-09 10:54:00 +01:00
Jitendra Sharma 1186c1aae3 zesSysmanDeviceReset: Reinitialize device after device reset
Before performing gpu device reset, first all level zero resources
and gpu device specific resources have to be cleaned up. Also as
after device reset, state of gpu device would be lost.
Hence after performing gpu device reset, level zero device have
to be reinitialized by querying gpu device again.
This change is aimed at reinitializing the level zero resources
after gpu device reset, so that user could continue using level zero
devices after device reset.

Related-To: LOCI-2627

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-11-07 23:43:48 +01:00
Szymon Morek 8fdfc3b053 Use drm tip kernel headers as default 1/2
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-04 15:27:02 +01:00
Milczarek, Slawomir ca4af1dde1 Add helpers for page fault support
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-11-03 13:39:38 +01:00
Mateusz Jablonski 95610188af Fallback to cpu copy when filling work partition allocation
move some command stream receiver tests to shared

Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-03 12:17:02 +01:00
Szymon Morek c5d403d65a Compile DG1 and XE_HP_SDV by default
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-03 09:31:46 +01:00
Lukasz Jobczyk 4ea452040d Defer direct submission control until first submit
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-29 14:27:25 +02:00
Compute-Runtime-Validation 782a287b27 Revert "Fallback to cpu copy when filling work partition allocation"
This reverts commit 93e3d948f5.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-29 04:39:22 +02:00
Mateusz Jablonski 93e3d948f5 Fallback to cpu copy when filling work partition allocation
move some command stream receiver tests to shared

Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-28 14:30:00 +02:00
Mateusz Jablonski 3a2b018eb6 Enable blitterOperationsSupported on DG1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-28 14:16:19 +02:00
Szymon Morek 32592d953b Enable DG1 by default
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-10-27 19:52:23 +02:00
Artur Harasimiuk 6769df2f5d refactor regex when scanning pci paths
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-27 10:33:58 +02:00
Jaroslaw Chodor 4b7811d061 WSL - fixing alignment for 32bit path
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-10-26 21:04:55 +02:00
Jan Beich bb6ed003e8 Don't use VM when ppGTT is invalid/unassigned
Signed-off-by: Jan Beich <jbeich@FreeBSD.org>
2021-10-26 14:25:11 +02:00
Artur Harasimiuk 83b099a48c improve pci path search to use regex to make it more flexible
Related-To: NEO-6364
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-26 07:49:22 +02:00
Compute-Runtime-Validation ee942190ab Revert "improve pci path search to use regex to make it more flexible"
This reverts commit dbffbbd193.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-25 22:15:31 +02:00
Artur Harasimiuk dbffbbd193 improve pci path search to use regex to make it more flexible
Related-To: NEO-6364
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-25 15:20:04 +02:00
Lukasz Jobczyk 71ed3eba16 Add mapping based colouring
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-25 09:51:54 +02:00