Commit Graph

4225 Commits

Author SHA1 Message Date
Compute-Runtime-Validation 1929e54e91 Revert "feature: temporarily enable scratch page on pvc"
This reverts commit e3b97e3716.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-12 09:55:25 +02:00
Fabian Zwoliński d469d551fb feature: enable bindless mode in L0 on dg2
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-11 17:33:10 +02:00
Mateusz Jablonski 3f65f75cc3 refactor: unify EngineInfo ctors
remove redundant constructor
create helper struct for numbers of engines
adjust test scopes

Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 17:08:15 +02:00
Mateusz Jablonski e2dcd8909c test: remove xe debugger from test that is executed without xe debugger
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 15:25:34 +02:00
Lukasz Jobczyk 7657498c53 fix: Override UC PAT to cacheable for shared images on BMG
Temporary WA for UC PAT index in GMM from shared image

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-11 14:45:32 +02:00
Mateusz Hoppe 0d5d960e30 refactor: use releaseHelper when checking global allocator enabled
Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-11 13:50:13 +02:00
Lukasz Jobczyk b0a5f2cced fix: Stop direct submission before signal GL event
Related-To: NEO-10556

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-11 13:45:42 +02:00
Brandon Yates df5588a633 feature: Allocate fifo for debugger
Related-to: NEO-7980

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-11 11:11:41 +02:00
Michal Mrozek 05eb4e7a0d performance: add debug flag to disable l1 flush
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-11 10:09:46 +02:00
Mateusz Jablonski 51a9aa792f refactor: pass engine capabilities to all EngineInfo ctors
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 09:29:17 +02:00
Mateusz Jablonski bba4a1d30c fix: disable wmtp on xe2 platforms
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-10 16:00:58 +02:00
Mateusz Hoppe 19b6f5a258 refactor: remove unused file
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-10 15:21:18 +02:00
Mateusz Jablonski b401d83110 test: add mechanism for detecting invalid test excludes
invalid test excludes are detected by default
cmake flag NEO_IGNORE_INVALID_TEST_EXCLUDES disables this validation

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-10 13:38:56 +02:00
Szymon Morek dbd96372be performance: adjust staging buffer usage
Related-To: NEO-11928

Don't copy through staging buffer if dst usm allocation
was not used before and transfer would be splitted.
Also, don't use staging buffers for mapped ocl buffers.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-10 10:19:18 +02:00
Maciej Bielski 005b273b1e test: stop abusing ctors in DrmMockCustom and derived types
Calling virtual functions from within constructors is incorrect, the
virtualization mechanism does not work until a constructor completes.
So, instead of performing many operations in constructors, make them
small and use static `create()` methods to construct the object properly
and only then perform additional setup.

Mocks are a prominent example how such practice degrades the code.
A function called from a constructor is basically unmockable. Despite
being overriden by derived type (to alter the execution path as per
needs of a given test-case) the parent versions are always called.

This was making test development more and more painful as at some point
there is no hack to compensate for the lack of standard mechanism.

Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-10 08:34:09 +02:00
Mateusz Hoppe 14a1bbfe12 feature: allow dynamic count of HP contexts in context group
- HP contexts may use up to half contexts in group

Related-To: NEO-7824

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-09 20:41:38 +02:00
Mateusz Jablonski 5d09dd8273 test: optimize test excludes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 19:30:12 +02:00
Mateusz Jablonski 0ddabd0b21 test: add missing test, remove not needed excludes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 16:42:39 +02:00
Mateusz Jablonski e39994f525 fix: setup slm size based on gt system info when not set in capability table
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 15:21:35 +02:00
Mateusz Hoppe c660784df2 fix: fallback path while creating drm context
- if create VM ioctl fails, fallback to query VM from created context
- in fallback path context's VM will not have flags applied

Related-To: NEO-7813

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-09 14:10:51 +02:00
Mateusz Jablonski 778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +02:00
Szymon Morek 457cb005de performance: iterate over indirect allocations once
Related-To: NEO-11921

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-09 09:31:52 +02:00
Compute-Runtime-Validation 991640f558 Revert "fix: update slm size in capability table based on gt system info"
This reverts commit 47e064a686.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-09 03:31:42 +02:00
Mateusz Jablonski 4f7866f9ac test: correct test scope to avoid exclude
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 17:48:50 +02:00
Mateusz Jablonski 47e064a686 fix: update slm size in capability table based on gt system info
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 09:35:25 +02:00
Compute-Runtime-Validation 216c11643a Revert "fix: Make debug area resident for subdevices"
This reverts commit ac1ba09911.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-06 08:24:29 +02:00
Compute-Runtime-Validation c679e7df30 Revert "fix: update slm size in capability table based on gt system info"
This reverts commit e624a4b0ab.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-06 03:40:49 +02:00
Mateusz Jablonski a14d5c52cb fix: Extend scope of OverrideSlmSize debug key - apply key during initialization
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 18:03:45 +02:00
Mateusz Jablonski e624a4b0ab fix: update slm size in capability table based on gt system info
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 14:25:33 +02:00
Jemale Lockett ac1ba09911 fix: Make debug area resident for subdevices
Resolves: NEO-9455

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-07-05 13:09:58 +02:00
Filip Hazubski 922286633b fix: Correct debugger and SIP init logic
Initialize debugger and SIP kernel explicitly once during root-device init.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-07-05 12:04:13 +02:00
Mateusz Jablonski c207e3aadc test: remove not needed test excludes
correct namespace of excluded tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 10:27:14 +02:00
Mateusz Jablonski 4f4b8fed15 refactor: remove not needed code related to deprecated device ip version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 09:54:48 +02:00
Mateusz Jablonski 30fac27508 fix: setup slm size in hw info based on device blob
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-04 15:25:13 +02:00
Szymon Morek e8ee91a694 fix: iterate over each indirect allocation
Related-To: GSD-9450

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-04 12:01:46 +02:00
Compute-Runtime-Validation 38872b7e1b Revert "refactor: Add dc flush mitigation infrastructure"
This reverts commit 1cba900ad9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-04 08:20:18 +02:00
Lukasz Jobczyk a96f2ea13a performance: disable blit enqueue on LNL
Resolves: NEO-11471

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-04 05:41:31 +02:00
Mateusz Jablonski 0db66bb708 feature: add new flag to StateComputeModeProperties
Related-To: NEO-8188, NEO-10774

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-03 14:05:02 +02:00
Mateusz Jablonski f171a22c0a refactor: include reg_configs_common using full path
add missing register offset value

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-03 13:30:46 +02:00
Bartosz Dunajski bb21d25ed0 feature: initial support for creating media context
Related-To: NEO-11386

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-03 12:23:31 +02:00
Mateusz Jablonski a9a183fd7a test: add missing preamble test for xe hpg
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-03 10:24:04 +02:00
Maciej Bielski f99846a108 feature: add Drm-specific memoryBanks computation logic
Related-To: NEO-9754

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-03 10:01:39 +02:00
Jitendra Sharma 9c8aacb1d6 test: minor fixes in ULTs related to debug surface programming
Related-To: NEO-7986
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-07-02 15:34:58 +02:00
Morek, Szymon aed96cede4 fix: flush barrier when profiling enabled
Related-To: NEO-10615

Signed-off-by: Morek, Szymon <szymon.morek@intel.com>
2024-07-02 13:25:07 +02:00
Brandon Yates a432bdecc1 refactor: Reorganize xe debugger includes
Related-to: NEO-11365

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-02 12:28:11 +02:00
Young Jin Yoon e3b97e3716 feature: temporarily enable scratch page on pvc
Enabled scratch page by default on PVC by setting
isDisableScratchPagesSupported to false for PVC.

Related-To: GSD-7742
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-07-01 21:50:16 +02:00
Jitendra Sharma 51fc9059c2 feature: program debug surface address
Related-To: NEO-7986
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-07-01 16:30:14 +02:00
Bartosz Dunajski eca2e643ba feature: BCS low priority contexts support
Related-To: NEO-7824

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-01 11:51:11 +02:00
Mateusz Jablonski 9aaf235e32 fix: transfer missing ftr flags to gmmlib
FtrXe2Compression
FtrXe2PlusTiling
FtrPml5Support
FtrL3TransientDataFlush

Related-To: NEO-8188, NEO-10774

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-28 15:34:45 +02:00
Brandon Yates ab92499b56 feature: Add support for V3 state save header
Related-to: NEO-8396

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-06-27 18:46:03 +02:00