Artur Harasimiuk
d14e45c8e6
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-08-25 12:25:16 +02:00
Naklicki, Mateusz
98500ee653
Allow overriding hw config on aub/tbx mode
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-08-25 10:54:42 +02:00
Warchulski, Jaroslaw
cf7e7fbc4e
CMake: don't include shared/test/unit_test when shared tests are skipped
...
opencl/test/unit_test/gen9/hw_helper_tests_gen9.cpp -> unit_test/gen9
opencl/test/unit_test/gen11/hw_helper_tests_gen11.cpp -> unit_test/gen11
unit_test/device_binary_format/elf/elf_tests_data.h -> common/device_binary/elf
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-25 10:48:37 +02:00
Katarzyna Cencelewska
e8df81158d
Call setupHardwareInfoBase inside setupHardwareInfo on pvc
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-08-24 17:38:29 +02:00
Zbigniew Zdanowicz
72c3a04bfd
connect hardware pipeline properties support flags to stream properties
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-24 14:32:29 +02:00
Dunajski, Bartosz
9763d42379
Fix type redefinition
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-24 09:45:13 +02:00
Krystian Chmielewski
835174c076
Remove builtins duplication
...
Resolves: NEO-7064
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-08-24 07:27:46 +02:00
Compute-Runtime-Validation
a5b4a13452
Revert "Return error when image arg does not support media block commands"
...
This reverts commit 8388e6cf4a
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-24 06:23:22 +02:00
Compute-Runtime-Validation
54041d0f2f
Revert "Add hardware support for each pipeline property"
...
This reverts commit 02cf62902b
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-24 04:54:22 +02:00
Zbigniew Zdanowicz
02cf62902b
Add hardware support for each pipeline property
...
This change is a baseline for tight control over
when dispatch pipeline state commands and which
pipeline state properties can be changed for a
given hardware platform
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-23 17:29:14 +02:00
Kamil Kopryk
9974d95dc3
Restore wait on user fence during cmdlist destoy/reset
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-7156
2022-08-23 16:51:56 +02:00
Dunajski, Bartosz
595cfebaef
Refactor PIPE_CONTROL programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-23 13:55:25 +02:00
Maciej Plewka
8388e6cf4a
Return error when image arg does not support media block commands
...
Related-To: NEO-7168
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-08-23 12:07:29 +02:00
Patryk Wrobel
f7925b9f15
Use unique_ptr in tests of surface
...
This change removes manual memory management via new/delete
and replaces it with std::unique_ptr.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-23 11:32:50 +02:00
Joshua Santosh Ranjan
5584c1fe7a
Set guid and offset for reading UUID
...
Related-To: LOCI-2831
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-08-23 09:03:10 +02:00
Zbigniew Zdanowicz
315f6230bf
correct name of evict flag to match wddm
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-22 18:14:51 +02:00
Zbigniew Zdanowicz
9cf95c044e
Refactor and reposition state base address tests
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-22 16:31:09 +02:00
Lukasz Jobczyk
82e29fd048
Add bcs split control mask
...
Introduce debug variable to control which engines
the tranfser will be split into
Related-To: NEO-7173
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-08-19 13:21:10 +02:00
Compute-Runtime-Validation
7319d05469
Revert "feat(zebin): set missing pointer size for arg type buffer address"
...
This reverts commit cc17c53a77
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-19 06:54:59 +02:00
Kacper Nowak
cc17c53a77
feat(zebin): set missing pointer size for arg type buffer address
...
Set missing pointer size for argument type buffer address in zebin.
This PR is related to test failures after merging corresponding IGC
change.
Related-To: IGC-5486
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-08-18 20:37:24 +02:00
Krystian Chmielewski
18adbed233
feat(zebin): add thread scheduling mode support
...
Resolves: NEO-7197
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-08-18 16:10:18 +02:00
Mateusz Hoppe
01b324953e
L0Debug - allocate per-tile ISA when tileAttach is enabled
...
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-08-18 15:48:31 +02:00
Zbigniew Zdanowicz
0011368775
Add parameter to set surface state base address value
...
This change introduces capability to set surface state base address
when surface state heap or global base address are not available
Related-To: NEO-7187
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-18 15:36:43 +02:00
Artur Harasimiuk
99c5de855c
improve error reporting from ULTs
...
- preserve original stdout and restore in signal handler what is needed
if stdout capture was enabled by GTest framework
- print information about time elapsed on SIGALRM
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-08-18 15:21:53 +02:00
Lukasz Jobczyk
b10b3ed9dd
Add initial enqueue bcs split infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-08-18 15:02:08 +02:00
Dominik Dabek
aa3a4765b9
Respect ForceAllResourcesUncached flag
...
Respect debug flag ForceAllResourcesUncached even when
Override L1 Policy flags are also set
Related-To: NEO-7003
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-08-18 11:46:33 +02:00
Zbigniew Zdanowicz
acac5ea0d5
Use correct engine group type when programming state base address
...
Command lists and their helper classes should use engine group type
assigned to the particular command list to check if it is RCS group
and not use default CSR class assigned to the device, since default
and current in command list might be different.
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-17 20:38:23 +02:00
Wrobel, Patryk
dda5b19859
Adjust the implementation of strncpy_s() for Linux
...
This change:
- prevents writing memory out of the range of the destination buffer
- prevents calling strlen() with non-null terminated c-string
- corrects the logic, which validates passed range to proceed
when real length fits the destination buffer
Related-To: NEO-7264
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com>
2022-08-17 18:37:46 +02:00
Warchulski, Jaroslaw
260a324a6f
Move files between shared/test/common and /unit_test (xe_*_core, page_fault...)
...
common/xe_hpc_core/test_preemption_xe_hpc_core -> unit_test/xe_hpc_core
common/xe_hpg_core/excludes_xe_hpg_core -> unit_test/xe_hpg_core
common/xe_hpg_core/dg2/excludes_dg2 -> unit_test/xe_hpg_core/dg2
common/xe_hpg_core/test_preemption_xe_hpg_core -> unit_test/xe_hpg_core
unit_test/base_ult_config_listener.cpp -> common
unit_test/base_ult_config_listener.h -> common
unit_test/test_stats.h -> common
unit_test/test_configuration.h -> common
unit_test/page_fault_manager/cpu_page_fault_manager_tests.h -> common/fixtures
unit_test/page_fault_manager/mock_cpu_page_fault_manager.h -> common/mocks
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-17 16:17:00 +02:00
Kacper Nowak
497e5a4765
Zebin: Create mock zebin module for L0 common test module
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-08-17 15:12:49 +02:00
Rafal Maziejuk
d36a383a84
Delete redundant matchers and use common matchers instead
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-08-17 13:54:15 +02:00
Warchulski, Jaroslaw
d795182eae
Move files from shared/test/unit_test to /common (preamble, utilities)
...
unit_test/preamble/preamble_fixture.h -> common/fixtures
unit_test/source_level_debugger -> common/
unit_test/utilities/base_object_utils.h -> common/utilities
unit_test/utilities/destructor_counted.h -> common/utilities
unit_test/utilities/logger_tests.h -> common/utilities
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-17 11:24:58 +02:00
Mateusz Jablonski
649cd3441a
Rename TestBodyImpl->testBodyImpl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-17 10:47:05 +02:00
Zbigniew Zdanowicz
ceb9d81f87
Add struct argument for input/output in StateBaseAddressHelper
...
This refactor makes future interface changes easier
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-17 10:28:49 +02:00
Cetnerowski, Adam
9b1afe4067
Minor: Add missing override
...
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2022-08-17 10:00:02 +02:00
Mateusz Jablonski
bca852617c
Remove usage of TestLegacy from opencl tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-16 22:16:48 +02:00
Kacper Nowak
44d218e52e
Linker: Add support for relocation type PerThreadPayloadOffset
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-08-16 19:14:27 +02:00
Rafal Maziejuk
5e58104f5a
Add flag to control prefetcher disabling behaviour
...
Certain platforms might not require prefetcher to
be disabled in direct submission. This change
provides a way to control that behaviour.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-7218
2022-08-16 16:01:30 +02:00
Mateusz Jablonski
bfc0919999
Remove usage of TestLegacy from shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-16 14:36:33 +02:00
Patryk Wrobel
cb23a38aad
Do not copy arguments passed to FileLogger
...
Historically, FileLogger was intended to work with scalar types.
Therefore, its member functions utilized parameter packs, which
copied the arguments. However, some time ago std::strings had
started to be passed to this function. The recursion was performing
multiple copies of the same std::string, which could cause
unneeded memory allocations.
This change:
- replaces copying with const references
- applies std::move() operator if possible
- replaces std::unique_lock with std::lock_guard
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-16 14:04:52 +02:00
Mateusz Jablonski
5ffeac44c5
Correct shared fixture methods name to meet clang-tidy requirements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-16 12:52:49 +02:00
Mateusz Hoppe
2a5bca380d
L0Debug - tile debug session - initial changes
...
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-08-16 10:44:12 +02:00
Krystian Chmielewski
70ef88c0bb
feat(zebin): add sampler metadata support
...
This commit adds support for sampler's metadata in zebinary and
updates some image's metadata field names.
Resolves: NEO-7257
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-08-16 10:11:01 +02:00
Patryk Wrobel
44e1f1ba4b
Remove redundant copying of std::vectors
...
Usage of initializer list in for loop to iterate over heavy types
has bad consequences. std::initialize_list is only a view and its
data is silently created as T[N]. Therefore, if someone uses
std::vector with it, it will cause deep-copying of the elements.
This change introduces usage of pointers on std::initializer_list
to perform a shallow-copy of an addresses. Furthermore, it adds
const references in few places, where copy is not needed.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-16 09:27:16 +02:00
Patryk Wrobel
3778a371fd
Count parameter pack's elements via sizeof...(Ts)
...
This change removes redundant template functions, which
duplicated the functionality of sizeof...() operator.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-16 09:19:51 +02:00
Patryk Wrobel
05f351484c
Use proper version of delete operator in MockCsrHw2
...
This change removes undefined behavior related to usage
of delete operator on the memory allocated via new[].
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-16 09:09:03 +02:00
Mateusz Jablonski
6a46e8f0ca
Correct method names in device and module fixtures
...
correct naming in derived classes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-12 10:40:56 +02:00
Yates, Brandon
dbf955c1f2
L0 win debugger - implement read elf
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-08-11 16:16:21 +02:00
Zbigniew Zdanowicz
d79e67b4bd
Use new test macro for corrected naming style in gdi logging fixtures
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-11 14:34:55 +02:00
Dominik Dabek
0263ec0d84
Add test kernel for indirect allocations
...
Add kernel for testing indirect allocation
address getting passed by value.
Needed for future commit.
Related-To: NEO-6597
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-08-11 14:00:06 +02:00
Mateusz Jablonski
e6fc458d4b
Add a struct for test fixtures with correct method naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-11 12:55:52 +02:00
Warchulski, Jaroslaw
aed890a219
Move files between shared/test/unit_test and /common (fixtures, helpers, mocks)
...
unit_test/fixtures/mock_aub_center_fixture.h -> common/fixtures
unit_test/helpers/raii_hw_helper.h -> common/helpers
unit_test/helpers/static_size3.h -> common/helpers
unit_test/helpers/ult_limits.h -> common/helpers
unit_test/memory_manager/mock_prefetch_manager.h -> common/memory_manager
common/mocks/mock_aub_stream.h -> unit_test/mocks
common/mocks/mock_csr_simulated_common_hw.h -> unit_test/mocks
common/mocks/mock_direct_submission_diagnostic_collector.h -> unit_test/mocks
common/mocks/mock_lrca_helper.h -> unit_test/mocks
common/mocks/mock_tbx_stream.h -> unit_test/mocks
common/mocks/linux/mock_os_context_linux.h -> unit_test/mocks/linux
common/mocks/windows/mock_wddm_direct_submission.h -> unit_test/mocks/windows
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-11 12:53:19 +02:00
Zbigniew Zdanowicz
0ecc08337e
Add debug flag that overrides control of wddm evict flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-11 12:06:11 +02:00
Zbigniew Zdanowicz
7d6bd45604
Unify programming additional flags for front end command
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-11 10:57:32 +02:00
Krystian Chmielewski
9bd2c7da2b
refactor(zebin decoder): parsing enums
...
This commit simplifies parsing of enums in zebin decoder and removes
unnecessary tests.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-08-10 23:36:25 +02:00
Mateusz Jablonski
7b86c8da2e
Add support for limiting number of CCS engines
...
This commit adds support for ZEX_NUMBER_OF_CCS flag which can be used
for limiting number of CCS engines
Format is as follows:
ZEX_NUMBER_OF_CCS=RootDeviceIndex:NumberOfCCS;RootDeviceIndex:NumberOfCCS...
i.e. setting Root Device Index 0 to 4 CCS, and Root Device Index 1 To 1 CCS
ZEX_NUMBER_OF_CCS=0:4,1:1
Related-To: NEO-7195
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-10 19:38:03 +02:00
Kacper Nowak
f219617823
Zebin: Do not fail on parsing unrecognized intelGT note types
...
When an IntelGT note type is not recognized, skip it instead of
returning negative target device validating result.
Related-To: NEO-7190
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-08-10 17:04:22 +02:00
Zbigniew Zdanowicz
50a27bd48e
Add gdi system functions logging
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-10 16:32:19 +02:00
Warchulski, Jaroslaw
a6c1d9578e
Move files between shared/test/common/helpers and shared/test/unit_test/helpersi
...
unit_test/helpers/cmd_buffer_validator.h -> common/helpers
unit_test/helpers/gtest_helpers.h -> common/helpers
common/helpers/blit_commands_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests_pvc_and_later.inl -> unit_test/helpers
common/helpers/state_base_address_tests.h -> unit_test/helpers
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-10 15:23:12 +02:00
Warchulski, Jaroslaw
54dc2f2000
CMake: don't include shared/test/unit_test when shared tests are skipped 2/n
...
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-10 11:19:08 +02:00
Krystian Chmielewski
eecde9114a
feat(zebin): add image metadata support
...
This commit adds support of image metadata in zebin format.
Resolves: NEO-7251
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-08-10 00:06:51 +02:00
Kacper Nowak
f774deffa7
Zebin: ZEBinary ELF versioning in intelNoteGT section
...
This commit adds support for new ZEBinary ELF versioning mechanism.
- Add new IntelGTSecionType: ZebinVersion
- Add mechanism for retrieving zeInfo/elf version in intel.notegt
section
Related-To: NEO-7190
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-08-09 17:58:12 +02:00
Jitendra Sharma
900c9ffc42
L0 Debug Win: device Thread Id remapping for run control
...
Related-To: NEO-6971
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-08-09 15:15:50 +02:00
Mateusz Jablonski
c3d40c210f
ULT refactor: remove i915 header dependency from drm_mock.h/drm_query_mock.h
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-09 15:04:22 +02:00
Kamil Diedrich
b39be32e20
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-09 14:11:05 +02:00
Warchulski, Jaroslaw
e7cca25894
CMake: don't include shared/test/unit_test when shared tests are skipped 1/n
...
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-09 11:41:09 +02:00
Mateusz Jablonski
6450be2414
Remove redundant device and revision id members from Drm class
...
Drm should set these values directly to hw info in root device environment
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-09 10:13:32 +02:00
Mateusz Jablonski
762aebaea3
Make drm_neo.cpp independent on i915 headers
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-08 22:13:22 +02:00
Mateusz Jablonski
3b3d40252e
Revert "Limit number of CCS engines on PVC"
...
This reverts commit 8f8370be32
.
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-08 18:40:24 +02:00
Rafal Maziejuk
ed0c36117e
Apply heuristics when setting TG dispatch size on XE_HPC_CORE
...
The default TG dispatch size can be changed
to a better value based on number of threads in TG or
currently available amount of threads on GPU.
Decision on what TG dispatch size should be are based on
implemented heuristics.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6989
2022-08-08 16:43:10 +02:00
Lukasz Jobczyk
eb8cd33dc6
Do not flush tag update if already flushed
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-08-08 14:11:42 +02:00
Mateusz Jablonski
8f8370be32
Limit number of CCS engines on PVC
...
Expose only one CCS engine
Related-To: NEO-7195
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-08 14:05:35 +02:00
Lukasz Jobczyk
ba244634b3
Set the default value of the controller timeout divisor to 1
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-08-05 09:52:58 +02:00
Kamil Kopryk
8b5c567bea
Remove wait on user fence during cmdlist destroy/reset
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-7156
2022-08-05 09:24:04 +02:00
davidoli
d7c43d022a
Improve GtPin init error status reporting
...
Related-To: LOCI-1286
Signed-off-by: davidoli <david.olien@intel.com>
2022-08-05 04:18:07 +02:00
Cencelewska, Katarzyna
61510e9a92
Revert optimization of gpgpu csr's mutex lock in the enqueue blit
...
optimization available under flag
ForceCsrLockInBcsEnqueueOnlyForGpgpuSubmission
Related-To: NEO-7011
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2022-08-04 16:42:50 +02:00
Milczarek, Slawomir
601ace6a25
Add unit test for append memory prefetch for regular command list
...
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-08-04 10:32:08 +02:00
Compute-Runtime-Validation
3a31caf44a
Revert "Add member for handling additional adapterInfo fields"
...
This reverts commit aafbbf54db
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-04 09:36:36 +02:00
Dunajski, Bartosz
98d776867f
Add initial support for KernelArgsBuffer allocation
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-03 20:28:21 +02:00
Kamil Diedrich
aafbbf54db
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-03 16:14:46 +02:00
Milczarek, Slawomir
046f9d95fc
zeCommandListAppendMemoryPrefetch with memory prefetch manager
...
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-08-02 20:07:31 +02:00
Milczarek, Slawomir
9f36b20423
Bind buffer object before calling vm prefetch
...
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-08-01 15:03:21 +02:00
Dunajski, Bartosz
53a3cd2cdd
Add method to merge LSH pipelined state during cmd list execution
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-28 17:32:53 +02:00
Igor Venevtsev
4cb9ad5d55
Debugger L0 Win: implement module destroy event
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-28 15:55:40 +02:00
Zbigniew Zdanowicz
0c301e5e99
Limit preemption programming in level zero command queues
...
When multiple command queues use the same context and retain the same state
No preemption programming for copy command queues
Program preemption preamble only for mid thread preemption
Related-To: NEO-7187
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 10:05:10 +02:00
Compute-Runtime-Validation
b3078cfbae
Revert "Change DG2 l1 cache policy to WB"
...
This reverts commit 9a5e619c42
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-28 07:27:13 +02:00
Mateusz Jablonski
6bdc920d21
Add wrappers for I915 macros for struct definition
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-27 17:04:04 +02:00
Zbigniew Zdanowicz
469ab367b1
Limit number of pipeline select commands when using multiple command queues
...
Related-To: NEO-7187
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-27 12:44:03 +02:00
Kamil Kopryk
5a3746df76
Cleanup includes 2/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-27 12:01:36 +02:00
Mateusz Jablonski
7434a7503a
Change macro definition to constexpr definition
...
I915_CONTEXT_PRIVATE_PARAM_BOOST -> contextPrivateParamBoost
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-27 11:26:19 +02:00
Dominik Dabek
9a5e619c42
Change DG2 l1 cache policy to WB
...
With compiler LSC WAs this gives better performance.
Related-To: NEO-7003
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-07-27 10:20:36 +02:00
Mateusz Jablonski
416ca5938e
Create enum values for i915 context param values
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-27 09:53:02 +02:00
Mateusz Jablonski
db2d1a53b9
Cleanup includes in drm_memory_manager.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-26 20:53:21 +02:00
Michal Mrozek
c1ab4aa3e0
Always program blit src & dst to local.
...
This way we would avoid blitter throttling in case it is set.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-07-26 18:57:24 +02:00
Mateusz Jablonski
b2489a4c28
Add enum value for i915 mmap offset wb and wc
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-26 18:28:08 +02:00
Mateusz Jablonski
8424b27754
Rename core family names to meet naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-26 16:36:49 +02:00
Dunajski, Bartosz
c200c6e2dd
Pass LSH to EncodeDispatchKernel
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-26 15:37:28 +02:00
Mateusz Jablonski
17d2d6087a
Add enum value for drm query topology info
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-26 15:37:13 +02:00
Zbigniew Zdanowicz
4db5d7a6e7
Add flag for hardware support of eviction flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-26 13:21:43 +02:00
Dunajski, Bartosz
0378f2e8b3
Debug flag to override Images support
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-26 12:01:35 +02:00
Warchulski, Jaroslaw
1388818a0e
Move neo_shared_tests sources from /common to /unit_test
...
Resolves: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-07-26 10:47:38 +02:00
Kamil Kopryk
87371be7ba
Add missing override identifier
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-26 08:50:50 +02:00
Kacper Nowak
c046824c18
Linker: do not process relocations for symbols with unknown segment type
...
In decodeElfSymbolTableAndRelocations, when symbol's section is of
unknown type, then do not add it to linker's symbol table.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-07-25 20:11:31 +02:00
John Falkowski
17c5374d42
only check for 0 address
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-07-25 17:52:45 +02:00
Mateusz Jablonski
b49e2237c5
Pass drm to MemoryInfo ctor
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-25 15:44:10 +02:00
Daria Hinz
8afcc87dc5
Support for new names in Aub/Tbx mode
...
New acronyms that distinguish between configurations are supported.
This commit adds support for these names by reusing ProductFamilyOverride flag.
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-7112
2022-07-25 14:46:52 +02:00
Mateusz Jablonski
9683d23e2f
ULT: include vm destroy ioctls in expected ioctls on destroy
...
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-25 14:32:32 +02:00
Dunajski, Bartosz
a3903c385e
Remove HW types from synchronization interface
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-25 13:59:26 +02:00
Mateusz Jablonski
2d151ec0fe
Move Drm cleanup logic to separated method
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-25 12:23:37 +02:00
Mateusz Jablonski
07bb2e7b0b
Add missing cpp file extension in cmake file
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-25 10:12:53 +02:00
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +02:00
Compute-Runtime-Validation
ead3a95be3
Revert "Support for L0 to read Device LUID from the WDDM driver using ext Pro...
...
This reverts commit 8124bff387
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-23 08:01:24 +02:00
Spruit, Neil R
8124bff387
Support for L0 to read Device LUID from the WDDM driver using ext Properties
...
- Added Support for reading the Device LUID of the given device used in
Windows WDDM.
- Added inital support for passing back the NodeMask of 1.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-07-22 21:21:32 +02:00
Mateusz Hoppe
4da6f65d1a
L0Debug - Notify cmdQueue create for subdevices
...
- PROCESS ENTRY triggered for first cmdQ created
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-22 16:08:41 +02:00
Jim Snow
f4879f064f
Allocate per-tile RTDispatchGlobals, handle ray tracing patch tokens.
...
Related-to: NEO-6711
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2022-07-22 06:29:29 +02:00
Compute-Runtime-Validation
5199ea257d
Revert "L0Debug - Notify cmdQueue create for subdevices"
...
This reverts commit ebcb3faad2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-21 18:50:20 +02:00
Mateusz Hoppe
ebcb3faad2
L0Debug - Notify cmdQueue create for subdevices
...
- PROCESS ENTRY triggered for first cmdQ created
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-20 15:13:06 +02:00
Igor Venevtsev
547dd59272
Debugger L0 Win: Implement CREATE_DEBUG_DATA/MODULE_CREATE events handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-20 13:20:50 +02:00
Filip Hazubski
20d0541e57
Add ForceTheoreticalMaxWorkGroupCount debug toggle
...
New debug toggle disables limitation of work-group count for related queries.
Additionally OverrideMaxWorkGroupCount toggle was updated
to behave the same way, ignoring underlying engine type
when max-work group count is queried.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-07-20 12:53:57 +02:00
Kamil Diedrich
4d35a76931
Add proper handling decoding resource while import on WSL
...
- create resource info and handle when needed
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-07-20 12:03:06 +02:00
Kacper Nowak
0a4ab48e0b
Zebin: Remove actual_kernel_start_offset from execEnv
...
This change is needed to bump zeInfo version beyond 1.6
- Version 1.6: Remove actual_kernel_start_offset from execution environment.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-07-20 11:24:28 +02:00
Yates, Brandon
e55cd5961b
Add debug key to disable SBA tracking commands in single address space
...
DebuggerDisableSingleAddressSbaTracking defaults to false
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-07-20 08:34:48 +02:00
Daria Hinz
91a97dfaea
Restore old device id design in ocloc
...
This change removes some of the logic related to
passing device id as an argument in ocloc introduced in
"Setting default device id for acronym".
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-07-19 15:55:13 +02:00
Kamil Kopryk
aed26ec51d
Add DisableForceToStateless debug flag
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-19 14:08:28 +02:00
Mateusz Jablonski
a4e9ede440
Dont use global namespaces of i915 definitions
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-19 13:17:59 +02:00
Daniel Chabrowski
4ec546640f
Fix clang-tidy-14 NewDeleteLeaks warning
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-07-19 12:42:05 +02:00
Lukasz Jobczyk
4ac6e09117
Do not reuse mem obj's allocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-19 11:42:17 +02:00
Bartosz Dunajski
52b00a11b0
Remove LSH from CommandQueue
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-07-19 08:47:02 +02:00
Jaime Arteaga
db58e50564
Improve PrintUmdSharedMigration
...
Add size and timing data.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-07-18 19:47:13 +02:00
Zbigniew Zdanowicz
d19cab1fb3
Add new wddm eviction parameter
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-18 18:09:57 +02:00
Baj, Tomasz
b450d3c20b
Add cl_khr_device_uuid to extension list
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-07-18 12:28:04 +02:00
Mateusz Jablonski
78c96db2fa
Create wrappers for different version of i915 headers
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-18 10:15:44 +02:00
Mateusz Jablonski
5e70afac1a
Correct expectation in test
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-15 16:48:53 +02:00
Szymon Morek
9203f8787b
Add template structs for L1 cache policy helper
...
Related-To: NEO-7003
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-07-15 16:14:49 +02:00
Mateusz Jablonski
02e4ddbdfa
Get drm specific string from ioctl helper when available
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-15 12:31:54 +02:00
Daria Hinz
01af53b63c
Setting default device id for acronym
...
This PR includes:
- Move product config implementation from
ocloc arg helper to product config helper.
- Add default device id setting for each platform configuration.
- Add & move hw info config tests from opencl to shared
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-7112
2022-07-15 12:28:58 +02:00
Warchulski, Jaroslaw
4147f40970
DisableKernelRecompilation flag and binary kernel recompilation warning
...
Resolves: NEO-6513
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-07-14 18:22:49 +02:00
Dominik Dabek
5899fc6bfb
Enable taskcount from wait on multi gpu envs
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-07-14 15:28:48 +02:00
Mateusz Hoppe
ca4ecdfb06
L0Debug - map VM to tile based on context engines
...
- make ISAallocation aware of tileInstanced allocation
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-13 14:42:58 +02:00
Yates, Brandon
7ccde3fb20
L0 Win Debug - read StateSave and moduleDebug header
...
Related-to: NEO-7162
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-07-13 14:33:47 +02:00
Dominik Dabek
b225c63b9a
Fix: Disable timestamp from wait on multi gpu envs
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-07-13 13:33:29 +02:00
Zbigniew Zdanowicz
82a6f9e7b2
Use compute walker system fence for system memory or events in use
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-13 11:55:32 +02:00
Lukasz Jobczyk
e28015a844
Move ULLS resources to local memory on DG2
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-12 15:50:09 +02:00
Mateusz Hoppe
5a3a39a281
Experimental support for OCL debugging with L0
...
- initial changes
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-12 12:57:15 +02:00
Compute-Runtime-Validation
f53ae0a50e
Revert "Add debug flag for EOT WA"
...
This reverts commit cf3817e058
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-09 01:21:56 +02:00
Artur Harasimiuk
e51294b4c1
includes cleanup
...
use hw_test_base.h instead of hw_test.h.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-08 14:28:11 +02:00
Mateusz Jablonski
cf3817e058
Add debug flag for EOT WA
...
EOT WA requires allocating last 64KB of kernel heap and putting EOT
signature at the last 16 bytes of kernel heap
Related-To: NEO-7099
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-07 16:58:24 +02:00
Mateusz Hoppe
9a667308b9
Refactor: move DebuggerL0 initialization to RootDeviceEnvironment
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-07 16:36:53 +02:00
Katarzyna Cencelewska
25ce4d0c04
Clean unused code
...
remove parts with device queue
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-07-07 14:52:26 +02:00
Artur Harasimiuk
1f9960b305
hw_cmds.h for XE refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-07 12:17:53 +02:00
Daniel Chabrowski
d68dedba3b
Simplify ownership management of MockPerformanceCounters
...
Fixes clang-tidy warning about ignoring result of release()
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-07-07 10:42:29 +02:00
Artur Harasimiuk
e245523730
per gen/per sku TEST_F/TEST_P refactor
...
In gen/sku specific tests include only required files to reduce
dependency on not related HW scpecific headers and improve build
performance.
This is achieved by reduce in usage of hw_test.h and related collateral,
like shared/source/helpers/definitions/hw_cmds.h which can be replaced
by sku specific hw_cmds_<sku>.h
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-06 23:13:46 +02:00
Lukasz Jobczyk
4676f2f023
Move command buffer to local memory on XE_HPG
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-06 18:18:27 +02:00
Mateusz Hoppe
5956aea18d
Limit header includes from level_zero device.h
...
- remove including debugger_l0.h from device.h
- add getL0Debugger() to shared NEO Device
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-06 16:41:17 +02:00
Milczarek, Slawomir
e768d0ed5e
Add regkey to enable support for concurrent access in usm capabilities
...
The new regkey is EnableUsmConcurrentAccessSupport that takes a bitmask
with usm capabilities to enable concurrent access for (bit0: host, bit1: device,
bit2: shared single-device, bit3: shared cross-device, bit4: shared system)
Related-To: NEO-6733
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-07-06 13:58:10 +02:00
Lukasz Jobczyk
880464da77
Apply additional synchronization WA to DG2 ULLS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-06 13:37:56 +02:00
Mateusz Hoppe
3cd4114733
Move L0Debugger tests to shared
...
- change tests to non-parameterized when parameters are not needed
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-06 12:19:03 +02:00
Joshua Santosh Ranjan
e8494abbe8
Add support for ze_device_memory_ext_properties_t
...
Related-To: LOCI-3099
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-07-06 08:18:22 +02:00
Igor Venevtsev
9e0138f5a7
Debugger L0: expose FC register set
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-05 16:04:54 +02:00
Lukasz Jobczyk
0d2d41691c
Bind BCS2-8 statically
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-05 08:52:52 +02:00
Artur Harasimiuk
5327731f26
add missing include
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-05 08:39:20 +02:00
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-04 18:20:07 +02:00
Milczarek, Slawomir
6a9fcd38b1
Create KMD-migrated unified shared memory with multiple local memory regions
...
Remove the restriction on USM allocation created in a single local memory region
with latest KMD fix for cross tile migration thrashing b/t lmem (dii-3516)
Related-To: NEO-6909
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-07-04 13:33:23 +02:00
Kamil Kopryk
0b26ee3664
Add surface state programming for kernels with images and stateless buffers
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-04 12:24:11 +02:00
Szymon Morek
76e023b941
Link build option with L1 cache policy helper
...
Related-To: NEO-7003
Add L1CachePolicyHelper struct.
This struct is resposible for L1 cache policy
in build option, Surface State and stateless
caching. Currently default option for all
platforms is WBP (write by-pass)
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-07-04 11:49:55 +02:00
Bartosz Dunajski
76d905b1f2
Pass LogicalStateHelper to SBA helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-07-01 14:52:20 +02:00
Bartosz Dunajski
95d4ac7812
Capability to insert WA MMIO for BCS dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-07-01 11:53:53 +02:00
Lukasz Jobczyk
cdd2cd7ac3
Revert "Bind virtual copy engines in optimal sequence"
...
This reverts commit b55bbd41931d71ca774d4ae776f6860185e332c9.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-01 10:17:12 +02:00
Mateusz Jablonski
7e144d73f6
Dont patch implicit args relocation to zero
...
IGC should set the value to zero by default
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-30 20:26:04 +02:00
Katarzyna Cencelewska
0d42fdf38c
Fix setting flag Cacheable in gmm resource params base on resource usage
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-06-30 19:37:21 +02:00
Artur Harasimiuk
c648a941ec
includes cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 16:09:09 +02:00
Artur Harasimiuk
2b9827ad7d
hw_cmds.h for XE refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 11:52:27 +02:00
Mateusz Jablonski
e88bad79a6
Dont pass drm to ioctl helper methods - use Ioctl Helper's member instead
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-30 11:11:12 +02:00
Artur Harasimiuk
0e65d3e667
hw_cmds.h usage refactor
...
create header with include for DEFAULT_PLATFORM what can be used in some
places
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-29 18:03:21 +02:00
Compute-Runtime-Validation
70b41cf3ce
Revert "Move semaphore to local memory on XE_HPG"
...
This reverts commit 94f3e54261
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-06-29 17:06:58 +02:00
Mateusz Jablonski
c9e2b4bc32
Pass Drm to ioctl helper ctor
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-29 15:47:01 +02:00
Bartosz Dunajski
aff0ea99a8
Enable signed/unsigned mismatch warning for MSVC
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-29 14:12:10 +02:00
Milczarek, Slawomir
30071599df
Create buffer object with multiple lmem regions for kmd-migrated buffers
...
This commit enables cross-tile kmd migration for buffers in local memory
Related-To: NEO-6977
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-06-29 13:47:58 +02:00
Bartosz Dunajski
f2bbd63d37
Refactor SBA handling + fix unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-29 13:27:57 +02:00
Mateusz Jablonski
b72fcad1be
Drm: call ioctl using ioctl helper if possible
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-29 11:29:40 +02:00
Artur Harasimiuk
a8e2bd3f98
hw_cmds.h usage cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-29 11:15:45 +02:00
Mateusz Jablonski
fffd56d7a6
refactor: bind drm context within IoctlHelper::createDrmContext method
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-29 10:47:52 +02:00
Konstanty Misiak
4a2a9daf41
Add AIL for Wondershare Filmora 11 subprocesses
...
Related-To: NEO-6982
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2022-06-28 20:50:07 +02:00
Mateusz Jablonski
c90f3b3c93
Correct naming: SetUpImpl -> setUpImpl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-28 17:59:37 +02:00
Daniel Chabrowski
1083a0d0c4
Move more timestamp packet tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-28 15:04:54 +02:00
Mateusz Jablonski
84de510723
Add missing includes to unit_test_helper.inl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-28 12:05:15 +02:00
Compute-Runtime-Validation
b0d4215328
Revert "Use DualSubSliceCount to calculate workgroup size"
...
This reverts commit 8ea5bbd3b5
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-06-28 11:47:11 +02:00
Artur Harasimiuk
2cc2d05c37
remove unused include
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-28 10:59:30 +02:00
Artur Harasimiuk
09d160910d
remove unused includes
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 22:59:18 +02:00
Artur Harasimiuk
a701e28ca5
DrmMM fixtures refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 22:50:56 +02:00
Bartosz Dunajski
2d976098f5
Use LogicalStateHelper to program FrontEndState
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-27 19:42:54 +02:00
Artur Harasimiuk
3af3185e3c
includes simplification
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 17:44:14 +02:00
Milczarek, Slawomir
9bf32b73ec
Introduce debug regkey to enable kmd migration for buffers
...
The new regkey is aimed to test cross-tile migration for buffers,
esp. first touch policy on h/w with support for page faults.
Related-To: NEO-6977
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-06-27 16:18:36 +02:00
Sebastian Luzynski
8ea5bbd3b5
Use DualSubSliceCount to calculate workgroup size
...
Related-To: NEO-5719
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-06-27 15:41:47 +02:00
Bartosz Dunajski
2c853adac3
Use LogicalStateHelper to program ComputeMode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-27 15:25:55 +02:00
Artur Harasimiuk
4dff4e165c
includes simplification
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 15:08:46 +02:00
Szymon Morek
5236b34629
Set L1 policy globally
...
Related-To: NEO-7003
Add function to control l1 policy for both
stateless and surface state cache.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-06-27 14:57:31 +02:00
Zbigniew Zdanowicz
5bce1eceb1
Remove self cleanup section when using immediate command list
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-06-27 13:29:52 +02:00
Daniel Chabrowski
f31fef4417
Simplify ReferenceTrackedObject API
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-27 11:27:08 +02:00
Daria Hinz
48c2aa23db
Fix for conditionally enabled acronyms
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-06-27 11:00:36 +02:00