Commit Graph

1984 Commits

Author SHA1 Message Date
Joshua Santosh Ranjan
2e5bf8d24d fix: remove perf open from the initialization path
Related-To: NEO-11975

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-07-15 10:17:53 +02:00
shubham kumar
e78c8edcf3 refactor: prework for adding eu stall support on windows
Related-To: NEO-9492

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-07-12 16:27:24 +02:00
Lukasz Jobczyk
d6076941a8 refactor: Add dc flush mitigation infrastructure
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-12 14:45:51 +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
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 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
Dominik Dabek
bf7d99847f refactor: split pool helper methods
should be enabled on xe hpg and disabled on xe hpc

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-07-09 17:07:25 +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
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
Bartosz Dunajski
9ea6b0322e refactor: add missing PrintBOCreateDestroyResult prints
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-08 15:35:11 +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
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
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
Maciej Bielski
bfaf2309e8 refactor: cleanup setupHardwareInfo
Use only `usDeviceID` and `usRevId` (known to be correct) instead of
declaring `hwInfo` pointer until the type of the latter is completely
initialized.

Put initialization of all `hwInfo` fields into `setupHardwareInfo()` for
consistency and make overrides explicit.

Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-04 08:54:57 +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
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
Maciej Bielski
5188ab8909 refactor: ioctlHelperXe::createDrmContext
Ease code reusability.

Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-03 10:52:00 +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
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
Filip Hazubski
6992cb8aeb fix: Add experimental debug toggle to force 2M local memory size alignment
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-06-27 15:21:35 +02:00
Mateusz Jablonski
116c3ef771 refactor: remove not needed check
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-26 16:56:05 +02:00
Mateusz Jablonski
43ca7c082e fix: query csr size in mb and slm size per dss from device blob
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-26 14:42:18 +02:00
Michal Mrozek
4527d72fde refactor: remove dead code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-06-26 10:44:45 +02:00
Wenbin Lu
e39d478acd fix: read max SS & EU/SS from GuC system info blob
Related-To: NEO-9489

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-06-26 09:30:57 +02:00
Compute-Runtime-Validation
2800282bdb Revert "fix: unblock xekmd recoverable pagefaults vmbind"
This reverts commit 5e144dae16.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-25 18:09:25 +02:00
Michal Mrozek
c817d15b59 fix: residency leak
- properly add needsMakeResidentBeforeLock in Wddm Allocation so while
destroying the allocation it is properly removed from wddm residency controller
- add cannot trim further flag after eviction
- fix debug variable

Related-To: NEO-11731
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-06-25 15:17:11 +02:00
Lukasz Jobczyk
1cba900ad9 refactor: Add dc flush mitigation infrastructure
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-06-25 14:53:24 +02:00
Naklicki, Mateusz
5e144dae16 fix: unblock xekmd recoverable pagefaults vmbind
Related-To: HSD-13011898606
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-06-25 13:23:48 +02:00
Compute-Runtime-Validation
d19f58019f Revert "feature: add Drm-specific memoryBanks computation logic"
This reverts commit 11f7166c5a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-25 12:31:26 +02:00
Filip Hazubski
230d3e903b fix: Move first submission programming to a separate function
Call the new function after debugger and sip kernel are initialized.

Related-To: HSD-18038645398, HSD-18038819112

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-06-25 10:10:02 +02:00
Jaroslaw Warchulski
0b513fba0d fix: do not open NT handle when number of allocations is zero
Resolves: NEO-11803
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-25 08:59:12 +02:00
Szymon Morek
29e3eb512c performance: non-usm copy through staging buffers
Related-To: NEO-11501

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-06-25 07:18:53 +02:00
Maciej Bielski
11f7166c5a feature: add Drm-specific memoryBanks computation logic
Related-To: NEO-9754

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-06-24 11:22:41 +02:00
Neil R. Spruit
5ddbab4c7c fix: Use Ioctl syscall due to ioctl helper infinite wait given ebusy
Related-to: NEO-11800

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-06-22 01:57:01 +02:00
Dominik Dabek
dc26b25169 Revert "fix: ulls controller sleep, windows"
This reverts commit 672cc0ebc7.

Resolves: HSD-18038912878, NEO-11770

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-06-21 14:10:43 +02:00
Mateusz Hoppe
cd3219d092 feature: add debug key to set vmBind userFence wait timeout
- VmBindWaitUserFenceTimeout

Related-To: NEO-11219

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-06-19 15:01:30 +02:00
Lukasz Jobczyk
5794ee8100 fix: Add printf surface to dc flush mitigation logic
Related-To: NEO-10556

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-06-19 10:45:36 +02:00
Compute-Runtime-Validation
33edd5f10e Revert "refactor: Add dc flush mitigation infrastructure"
This reverts commit bd46361e26.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-19 03:48:33 +02:00
Jaroslaw Warchulski
63da79798d refactor: reduce the number of GraphicsAllocation constructors and derivatives
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-18 21:31:37 +02:00
Jaroslaw Warchulski
daec249430 refactor: remove not needed createGraphicsAllocationFromNTHandle method
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-18 14:25:00 +02:00
Lukasz Jobczyk
bd46361e26 refactor: Add dc flush mitigation infrastructure
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-06-18 14:03:27 +02:00
Bartosz Dunajski
f910f94ef9 fix: change default wddm low priority context value
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-18 11:20:23 +02:00
Compute-Runtime-Validation
196f0a6eee Revert "fix: pass custom alignments for WSL2 device and shared memory allocat...
This reverts commit 1c98420518.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-18 07:58:28 +02:00
Dominik Dabek
672cc0ebc7 fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-06-18 06:28:15 +02:00
Mateusz Hoppe
b3d72ddd3d fix: write memory for resident allocations in simulation mode
- refactor and call proceesFlushResdiency() on memoryOperationsHandler
- call free() to remove allocation from resident allocations when
graphics allocation is released

Related-To: NEO-11719

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-06-14 18:49:01 +02:00