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
Katarzyna Cencelewska
03c528382f
Calculate CS timestamp based on OA timestamp and frequencies ratio
...
Resolves: NEO-7346
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-10-13 17:41:49 +02:00
Yates, Brandon
44894c1fdf
L0 Debug- Create generic topologyMap interface
...
Move Linux DebugSession thread conversion functions up to
DebugSessionImp to allow reuse in windows implementation
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-10-13 15:12:05 +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
Lukasz Jobczyk
b21fef96cb
Wait for events from host
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-10-10 12:12:13 +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
Kamil Diedrich
5d3f82a8a5
Taking into account additionals heaps in gpu VA reservation in WSL
...
Related-To: NEO-7337
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-09-29 14:35:16 +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
Fabian Zwolinski
645600d141
Return error when there is no memory to evict
...
We want to return error code to the application instead of aborting when
we are not able to make more memory resident.
Related-To: NEO-7289
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-09-22 14:26:55 +02:00
Igor Venevtsev
43676ed02a
L0Debug Win: initialize device with empty submission
...
In case of debuggable context device should be additionally
initialized by early empty submission issue.
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-09-21 12:02:34 +02:00
Mateusz Jablonski
99d63facb5
Clarify meaning of ForceDeviceId debug flag
...
this flag can be used only to override device id in AUB/TBX mode
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-09-20 13:15:15 +02:00
Cencelewska, Katarzyna
9b19014cf1
Fix read of 64bit enviroment variables
...
change atoi to atoll
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2022-09-09 14:00:10 +02:00
Kamil Diedrich
0d5c27a75f
Add support for ADL-N for WSL
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-09-07 20:11:45 +02:00
Patryk Wrobel
53c127e64c
Remove superfluous const_casts
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-06 13:34:01 +02:00
Patryk Wrobel
90ba50bf52
Warn when RAII lock returned from function is discarded
...
Discarding RAII lock returned from function almost always
is a bug. This change introduces usage of [[no_discard]]
attribute from C++17 to prevent such misues.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-01 16:53:03 +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
Kamil Diedrich
edeaa968f5
Destroy resource handle when created
...
Do not create resource when cpuPtr is set
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-16 13:03:59 +02:00
Compute-Runtime-Validation
a5614a1c66
Revert "Destroy resource handle when created"
...
This reverts commit 011a0dd497
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-12 09:16:34 +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
50a27bd48e
Add gdi system functions logging
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-10 16:32:19 +02:00
Kamil Diedrich
011a0dd497
Destroy resource handle when created
...
Do not create resource when cpuPtr is set
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-10 12:35:49 +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
Compute-Runtime-Validation
00ff0dc337
Revert "Destroy resource handle when created"
...
This reverts commit 5a6a90aa0e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-02 11:04:10 +02:00
Zbigniew Zdanowicz
f17b46bc22
Reposition members of wddm classes
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 14:31:12 +02:00
Kamil Diedrich
5a6a90aa0e
Destroy resource handle when created
...
When allocation is created and createResource is set we need to
remove resourceHandle instead of allocation handle list otherwise
in long running application (a lot of allocations) we will observe
memory leak.
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-07-28 13:22:52 +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
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
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
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
Jitendra Sharma
4a8a93af96
Debugger L0 Win - Generate Proc Entry/Exit events
...
Related-To: NEO-7117
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-07-18 12:32:57 +02:00
Compute-Runtime-Validation
d5b2f03dc4
Revert "Enable eviction only when needed flag in wddm"
...
This reverts commit aced55243c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-18 11:56:52 +02:00
Zbigniew Zdanowicz
aced55243c
Enable eviction only when needed flag in wddm
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-15 12:38:53 +02:00
cameron
60c819bb72
Fix Memory leak in drm_memory_manager of OsHandleLinux
...
Add virtual deconstructor to OsHandle and deconstructor to OsHandleLinux
Add override keyword to destructor
Add overriding deconstructor to OsHandleWin
Add newline before private members
https://github.com/intel/compute-runtime/pull/550
Signed-off-by: Cameron S Murtagh <cameron.murtagh00@gmail.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-13 11:23:48 +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
6cb44ae0d9
includes refactor
...
use gen specific hw_cmds instead of all-in-one
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-08 17:02:19 +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
Igor Venevtsev
cb6db5672b
Debugger L0 Win - register allocations metadata in debugger
...
Related-To: NEO-6764
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-06-22 17:22:15 +02:00
Fabian Zwolinski
0966651a78
Create and implement WSL handle refreshing
...
Additionally rename createResourceInfo overload to decodeResourceInfo.
createResourceInfo(GMM_RESOURCE_INFO *, GMM_RESOURCE_INFO) does not
create a new ResourceInfo, but decodes one on the basis of the provided
existing gmmResourceInfo.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-06-14 08:43:35 +02:00
Maciej Plewka
213dc2fe24
Make CPU copy for read buffer when host ptr is write combined on DG2
...
With this commit on DG2 32bit driver will check if passed host ptr for
clEnqueueReadBuffer is write combined memory. If check will be true copy
will be make on CPU.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-06-13 21:23:21 +02:00
Krzysztof Gibala
c229ace4df
Adjust GmmHelper to be HW aware
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-13 18:33:06 +02:00
Maciej Plewka
5bee8ebd35
Revert "Allow cpu buffers copy on DG2 in 32bit"
...
This reverts commit 2055daf696
.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-06-08 11:26:00 +02:00
Krzysztof Gibala
81899c4477
Add canonized gpuAddress to GraphicsAllocation constructor
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-06 18:17:36 +02:00
Krzysztof Gibala
dc1fe7d59a
Change MemoryPool to enum class
...
Use enum class for MemoryPool in GraphicsAllocation
This change will ensure that GA is constructed in the proper way
- Rename namespace for isSystemMemoryPool method
- Add method getMemoryPoolString for logging actual pool which is in used
- Remove wrong pattern in GraphicsAllocation constructor
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-02 12:46:15 +02:00
Krzysztof Gibala
ae56d50b4f
Pass canonized gpuAddress to GraphicsAllocation
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-30 16:54:38 +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
Yates, Brandon
db6562c092
Add windows debugger feature check
...
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-20 08:42:59 +02:00
Compute-Runtime-Validation
9cf1fbd627
Revert "Add windows debugger feature check"
...
This reverts commit 65214e2e4c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-19 12:57:04 +02:00
Daniel Chabrowski
7463e1970b
Cleanup headers
...
Make TUs and headers self-contained, remove unused headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-18 11:42:06 +02:00
Yates, Brandon
65214e2e4c
Add windows debugger feature check
...
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-18 00:37:39 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Compute-Runtime-Validation
daf7829fa2
Revert "L0 Debugger Windows - implement debugger attach/detach"
...
This reverts commit f45431c173
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-17 19:02:11 +02:00
Igor Venevtsev
f45431c173
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-05-17 14:07:29 +02:00
Artur Harasimiuk
3897f43f8e
style: correct local variable naming
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 11:14:14 +02:00
Brandon Yates
b24635b0c0
Fix style in context_private_data
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2022-05-17 00:33:51 +02:00
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Krzysztof Gibala
2fcda0a528
Refactor: Change decanonize method accessing point
...
Accessing decanonize method as a member of GmmHelper class object
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-11 12:57:02 +02:00
Fabian Zwolinski
7bb3bcbc05
Read resource info from internal represenation for WSL
...
Related-To: LOCI-3037
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-05-11 11:57:23 +02:00
Mateusz Jablonski
d935815d74
Move residency data from WddmAllocation to GraphicsAllocation
...
Related-To: NEO-6848
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-10 18:16:42 +02:00
Bartosz Dunajski
c4fcd7ed9b
Capability to set low scheduling priority for Wddm context
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-10 16:44:25 +02:00
Mateusz Jablonski
943ad0e1eb
style: skip redundant unique_ptr::get function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-10 13:22:40 +02:00
Krzysztof Gibala
4f1e01d279
Create getGmmHelper function in MemoryManager
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-09 16:51:23 +02:00
Krzysztof Gibala
1c366d1ec0
Refactor: Change canonize method accessing point
...
Accessing canonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-09 14:16:31 +02:00
Jaime Arteaga
3f26f45c10
Add support for IPC handles with implicit scaling
...
When using implicit scaling, device allocations may have
more than one internal allocation created internally. In that case,
a separate dma-buf handle per internal allocation needs to be
exported.
So introduced two driver experimental extensions to export and
import more than one IPC handle:
- zexMemGetIpcHandles
- zexMemOpenIpcHandles
Related-To: LOCI-2919
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-05-09 00:38:17 +02:00
Mateusz Jablonski
ac01f74924
style: fix gcc12 compilation errors
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-28 18:07:15 +02:00
Krzysztof Gibala
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 15:45:49 +02:00
Filip Hazubski
88193cc242
Minor fixes
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-31 20:02:11 +02:00
Joshua Santosh Ranjan
05a150f49f
L0 Core Add Support For pci_speed_ext
...
This patch adds support for reading PCI bandwidth, generation
and linkwidth information from sysfs nodes for the linux
platform.
Related-To: LOCI-2969
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-03-16 22:47:59 +01:00
Jaime Arteaga
a010fb3634
Dont close shared handle on imported allocations
...
Related-To: LOCI-2272
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-03-06 04:35:47 +01:00
Baj, Tomasz
0d68c55198
Remove all TODOs
...
Related-To: NEO-6674
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-02-17 14:10:47 +01:00
Mateusz Hoppe
33f02ee2eb
Print debug message when GPU hang is detected
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-02-14 20:48:14 +01:00
Bartosz Dunajski
6a111e41ff
Improve submission logging
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-11 17:36:14 +01:00
Bartosz Dunajski
71f48c89c8
CacheSettingsHelper - timestamp allocations
...
Related-To: NEO-6664
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-09 19:32:39 +01:00
Patryk Wrobel
18cafd3a52
Implement GPU hang detection on Windows
...
This change uses value of cpuAddress from monitored fence
to detect GPU hang.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-02-09 17:22:52 +01:00
Bartosz Dunajski
a95198521e
Initial implementation of CacheSettingsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 16:18:06 +01:00
Bartosz Dunajski
c88fce0def
Gmm construction cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 10:20:24 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-04 17:49:09 +01:00
Kamil Diedrich
452de80d70
Add 2MB alignment for reserving address space for WSL
...
Fixes sporadic issues in configure address space for
some devices running in WSL mode
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-02-04 11:18:58 +01:00
Mateusz Jablonski
1671e0a1a7
Add new debug flags for filtering devices to open
...
FilterBdfPath is used only on Linux as a filter for BDF
when opening from /dev/dri/by-path
FilterDeviceId is used on both OSes as a filter for device id
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-03 14:34:01 +01:00
Patryk Wrobel
498cf5e871
Implement GPU hang detection
...
This change uses DRM_IOCTL_I915_GET_RESET_STATS to detect
GPU hangs. When such situation is encountered, then
zeCommandQueueSynchronize returns ZE_RESULT_ERROR_DEVICE_LOST.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-01-31 13:48:17 +01:00
Bartosz Dunajski
fef36e058d
Remove VEBOX related ftr flags
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-28 15:50:59 +01:00
Spruit, Neil R
ae77bd1bd2
Enable Device Memory to be shared in WSL-2 with L0
...
- Add getMemoryManagerType to check which memory manager has been init
to determine if Linux + WDDM memory manager is in use.
- Add isNTHandle to test and verify if a handle is an NT handle during
L0 Open IPC Handle.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-01-27 23:14:29 +01:00
Bartosz Dunajski
90d85bee55
Remove ftrGT flags support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-27 17:39:48 +01:00
Aravind Gopalakrishnan
e29a85ebb3
Use ImmediateDispatch mode for L0 command queues
...
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-01-21 00:23:04 +01:00
Kamil Diedrich
1b7949432f
Add shareable allocation on windows dGPUs
...
Add default initialization for object members
Related-To: LOCI-2665
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-19 19:03:18 +01:00
Raiyan Latif
394c0e90e1
Return error when failing on submission
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2022-01-12 16:42:30 +01:00
Spruit, Neil R
02f075c541
Power Saving Hint Support for Level Zero in Windows
...
- Added Functionality to pass ze_power_saving_hint_type_t to zeContextCreate
included in the pNext extensions in ze_context_desc_t.
- Enables handling a hint value 0-100 with 0 being no power savings
and 100 being maximum power savings.
- ZE_RESULT_ERROR_INVALID_ENUMERATION is returned given an invalid hint.
Related-To: LOCI-2567
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-01-06 23:56:59 +01:00
Zbigniew Zdanowicz
82096a5472
Add new KMD delay parameter for direct submission
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-17 21:09:37 +01:00
Mateusz Jablonski
7aebfc3293
Remove not needed arguments in init os interface functions
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-16 14:19:32 +01:00
Bartosz Dunajski
4dde9393ad
Extend engine checkers to support more engine types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 13:41:25 +01:00
Bartosz Dunajski
dfdd3c597a
Remove redundant BUFFER_COMPRESSED allocation type
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 13:35:49 +01:00
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
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
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
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
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
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
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
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
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
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
Filip Hazubski
28b37aea72
Correct handling unique_ptr in functions
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-21 18:17:14 +02:00
Kamil Diedrich
465bec3d76
Add NTHandle sharing
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-10-19 14:17:25 +02:00
Jitendra Sharma
f8c89fe984
Refactor memory manager so as to support device reset
...
Move out neoDevice dependent pieces of memory manager code into
separate methods. Those methods could be used for recreating a neoDevice
after a device reset is performed.
Related-To: LOCI-2615
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-10-19 07:16:29 +02:00
Michal Mrozek
c8e79b7447
Change shared allocations required alignment to 64KB.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-10-08 13:08:11 +02:00
Jaroslaw Chodor
45de13233a
WSL validate reserve_gpu_va args in ULTs
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-10-07 22:05:21 +02:00
Mateusz Jablonski
973317e473
Move kmd notify properties to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-07 18:12:19 +02:00
Mateusz Jablonski
b14da0aeb2
Move metrics library to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-06 21:46:22 +02:00
Zbigniew Zdanowicz
279181a384
Remove not needed include header
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-06 21:32:40 +02:00
Kamil Kopryk
cfc673b77c
Add compilerHwInfoConfig
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6237
2021-10-06 21:27:34 +02:00
Bartosz Dunajski
cd702af3a1
Fix windows wrappers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-06 09:01:36 +02:00
Katarzyna Cencelewska
30b3f5cdb0
Move PageTableManager from rootDeviceEnvironment to CommandStreamReceiver
...
Also add init of pageTable registers to blitter path
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-09-30 12:59:11 +02:00
Jaroslaw Chodor
996dd18b76
WSL - partition layout for 48-bit limited addressing
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-09-28 18:09:46 +02:00
Mateusz Jablonski
69390c7eca
Move performance counters to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-24 11:59:55 +02:00
Zbigniew Zdanowicz
3b35ba504f
Adapt command stream receiver to multiple active partitions
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-23 14:32:20 +02:00
Mateusz Jablonski
8b36473a9a
Move command stream receiver files to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 12:47:21 +02:00
Rafal Maziejuk
7c473d0a11
Move setCapabilityCoherencyFlag function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-09-23 11:45:34 +02:00
Kamil Kopryk
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
Maciej Plewka
03ee6bc2dd
Allways take cpu time from OSTime on WSL
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-09-10 11:56:23 +02:00
Kamil Kopryk
ae88789bce
Move isMidThreadPreemptionSupported helper to hwHelper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-09-07 20:28:55 +02:00
Kamil Kopryk
9794bafd91
Add isMidThreadPreemptionSupported helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-09-07 10:35:27 +02:00
Kamil Kopryk
a203cd2863
Add sip kernel as hexadecimal array header
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-5777
2021-09-03 17:16:58 +02:00
Mateusz Hoppe
f2eb7f3aea
Fix DirectSubmission residency handling
...
- allocations should be resident within OsContext
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-09-03 16:57:42 +02:00
Jaroslaw Chodor
37af6a64c1
WDDM Linux - allocate 32bit through KMD
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-09-01 00:06:30 +02:00
Kamil Diedrich
4390590831
Add shareable allocation for Windows
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-26 13:43:55 +02:00
Mateusz Hoppe
ac30102309
GPU Allocation created by KMD not mapped to cpuPtr
...
- do not map to locked cpuPtr on limited address space
platforms
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-08-24 15:18:31 +02:00
Jaroslaw Chodor
766d56e300
WSL - fixing allocation alignment
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-08-20 08:28:27 +02:00
Dominik Dabek
65e00abea6
Enable new DriverProtection interface for MapGpuVa
...
Related-To: NEO-6096
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-08-17 18:02:26 +02:00
Bartosz Dunajski
fb996a3d5b
Add EngineDescriptor helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-12 15:19:46 +02:00
Dominik Dabek
2a7757651a
Change percent of global memory returned
...
Related-To: NEO-5796
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-08-11 13:33:16 +02:00
Kamil Diedrich
2d5d071e66
Extended import device memory functionality
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-10 13:24:56 +02:00
Jaroslaw Chodor
2a4fa055b1
Fixing memleak during wddm init
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-08-05 19:35:58 +02:00
Jaroslaw Chodor
cfd3945b7e
WSL - fixing missing GPU VA reservation
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-08-03 20:30:49 +02:00
Kamil Diedrich
2afb785bba
Add AIL functionality
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-02 15:31:58 +02:00
Szymon Morek
74e6c74071
Disable shareable allocs with huge size
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-28 15:52:27 +02:00
Bartosz Dunajski
3c88492229
Revert "Extended import device memory"
...
This reverts commit ea6555e788c98314160a11898212c2d664999705.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-16 09:56:52 +02:00
Jaroslaw Chodor
78499ca48d
Mitigation for WDDM_LINUX allocation size limits
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-07-16 03:36:19 +02:00
Jaime Arteaga
058c30c9a8
Refactor ZE_ENABLE_PCI_ID_DEVICE_ORDER
...
- Make it avaialble also to OpenCL
- Use it before parsing affinity mask, so devices are masked also
following PCI order.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-07-16 01:27:49 +02:00