Mateusz Jablonski
038c287656
fix: avoid double free when wddm initialization fails
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-05 13:03:49 +02:00
Lukasz Jobczyk
e9f199bcad
performance: Wait in busy loop with timeout before Gdi sync object
...
Resolves: NEO-8343
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-09-08 14:40:20 +02:00
Mateusz Jablonski
c0015b3b95
fix: correct cleanup path when set priority call fail in wddm path
...
improve mock gdi - return unique handle and host ptr when creating allocation
Related-To: NEO-7194
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-07-24 11:32:10 +02:00
Lukasz Jobczyk
c294ef48ce
fix: Make tlb flush os agnostic
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-06-30 14:12:59 +02:00
Mateusz Jablonski
c6404e6626
fix: don't submit to gpu when device state is invalid
...
Related-To: NEO-8049
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-06-28 12:08:49 +02:00
Cencelewska, Katarzyna
115d6de350
fix: add debug key to verify device state before submit
...
- new debug key EnableDeviceStateVerification to check device state not
ony in debug mode
Related-To: NEO-7669
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-05-31 14:31:23 +02:00
Maciej Plewka
4b6194cf0c
fix: Use Gmm to map virtual gpu addresses
...
Related-To: NEO-5842, NEO-7946
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-05-25 15:49:05 +02:00
Kulkarni, Ashwin Kumar
3213f96109
Disable context creation and HWS when NEO_L0_SYSMAN_NO_CONTEXT_MODE is set
...
Related-To: LOCI-4295
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2023-04-14 11:51:53 +02:00
Yates, Brandon
0f6140deb0
fix(l0debug): windows topology map should always be created
...
Topology map was only being created when ZET_ENABLE_PROGAM_DEBUGGING was
set. This was not correct. Now it is unconditionally created at init,
and debug attach will fail if it is not valid.
Related-to: LOCI-3937
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2023-03-27 16:24:57 +02:00
Fabian Zwolinski
65c73a690f
Introduce Online, Offline, Disabled DebuggingModes
...
This change allows to set DebuggingMode via
ZET_ENABLE_PROGRAM_DEBUGGING env var
0: Disabled
1: Online
2: Offline
Related-To: NEO-7630
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-17 09:31:17 +01:00
Kulkarni, Ashwin Kumar
ae566a42d8
Disable context creation when NEO_L0_SYSMAN_NO_CONTEXT_MODE is set
...
Related-To: LOCI-4031
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2023-03-16 19:14:46 +01:00
Filip Hazubski
0025cb25f4
test: Correct logic of disabling slices in gtSystemInfo
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-16 09:13:47 +01:00
Mateusz Hoppe
e62c5e25d5
refactor: change debugging enabled to debugging mode
...
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 13:41:41 +01:00
Kamil Kopryk
be855d7a47
refactor: don't use global ProductHelper getter 10/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-25 18:23:23 +01:00
Warchulski, Jaroslaw
bc13db734d
Cleanup includes 41
...
Cleaned up files:
shared/source/command_stream/aub_command_stream_receiver_hw.h
shared/source/helpers/common_types.h
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/hw_device_id.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-24 14:37:36 +01:00
Kamil Kopryk
64eb024ba2
refactor: don't use global ProductHelper getter 5/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-23 07:55:39 +01:00
Warchulski, Jaroslaw
bd81b5546d
Cleanup includes 25
...
Cleaned up files:
level_zero/core/source/device/device.h
opencl/source/helpers/dispatch_info.h
shared/source/os_interface/os_interface.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-10 12:54:45 +01:00
Kamil Kopryk
468d722efb
Move clGfxCoreHelper ownership to rootDeviceEnv
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-05 12:58:38 +01:00
Kamil Kopryk
6665f49593
Refactor: don't use global GfxCoreHelper getter in shared files 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-30 11:35:04 +01:00
Kamil Kopryk
232b886056
Rename HwInfoConfig to ProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-14 14:39:52 +01:00
Kamil Kopryk
03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-09 10:29:06 +01:00
Spruit, Neil R
4fce3ede9b
Enable NodeMask Generation thru L0 LUID Extension
...
Related-To: LOCI-3250
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-12-09 07:22:36 +01:00
Kamil Diedrich
db24428cd3
Add wddm ult for wsl build [3/n]
...
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-12-08 16:50:02 +01:00
Mateusz Jablonski
e1900c240e
Dont return success when peeking internal handle and no handle is returned
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-12-07 21:39:13 +01:00
Kamil Diedrich
6f14e8414e
Add wddm ult for Linux build [1/n]
...
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-11-25 12:01:42 +01:00
Mateusz Hoppe
f19abda0e2
Set root device index in OsContext
...
- correclty choose default engine context accounting for root device
index and subdevices bitfield
Related-To: NEO-7516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-16 23:02:19 +01:00
Kamil Diedrich
380e2dcc35
[WSL2] Avoid gdi calls while process exit
...
Related-To: NEO-7380
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-21 12:37:07 +02:00
Spruit, Neil R
33a587c704
L0 to read Device LUID from the WDDM driver given Debug Variable
...
- Added Support for reading the Device LUID of the given device used in
Windows WDDM given EnableL0ReadLUIDExtension=1.
- Added inital support for passing back the NodeMask of 1.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-10-14 02:46:40 +02:00
Spruit, Neil R
1995fd9d92
Revert "Support for L0 to read Device LUID from the WDDM driver using EXT Prop"
...
This reverts commit b5b9c3500f .
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-10-12 01:00:18 +02:00
Yates, Brandon
71bef6094d
Use max enabled slice in debugger thread mapping
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-10-03 18:11:50 +02:00
Spruit, Neil R
b5b9c3500f
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-09-27 08:18:50 +02:00
Compute-Runtime-Validation
d7eacc0280
Revert "Support for L0 to read Device LUID from the WDDM driver using EXT Pro...
...
This reverts commit af3dd2859b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-27 06:20:55 +02:00
Spruit, Neil R
af3dd2859b
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-09-26 19:05:05 +02:00
Yates, Brandon
7dc36ca422
L0 Win Debugger - fix slice mapping bug
...
Related-to: LOCI-3429
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-09-22 14:40:13 +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
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 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
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
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
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
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
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
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
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
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
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
Igor Venevtsev
8c165a6f41
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-27 16:25:56 +02:00
Yates, Brandon
adc51c1b47
Set context debuggable when debugging is enabled
...
Related-to: NEO-6896
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-05-24 16:45:32 +02:00
Kamil Diedrich
ddd8a08fac
Add mechanism to avoid calling gdi calls while process exit
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-05-20 11:11:52 +02:00