Fabian Zwolinski
fd971f7a61
Generate Offline Dump Context ID
...
On linux OfflineDumpContextId consists of
32b processId in bits 63:32
32b drmContestId in bits 31:0
Also cache linux implementation of getProcessId since
the value is constant.
Related-To: NEO-7630
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-04 15:58:56 +02:00
Aravind Gopalakrishnan
d75c4d3ec7
fix: Skip adding device to list if context creation fails
...
Propogate error codes from ioctl failure properly up the layers
so that we skip exposing bad root devices.
Related-To: NEO-7709
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-02-16 11:40:54 +01:00
Warchulski, Jaroslaw
1fa5710dff
Cleanup includes 10
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-12-05 12:39:33 +01:00
Mateusz Jablonski
bb308c04ed
Refactor aubstream include interface
...
set include path to third_party/aub_stream
rename third_party/aub_stream/headers -> third_party/aub_stream/aubstream
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-23 10:30:13 +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
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
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +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
Lukasz Jobczyk
9330f737d4
Revert "Check if direct submission available once"
...
This reverts commit 7ab6d2801a
.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-01-25 10:01:15 +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
Lukasz Jobczyk
7ab6d2801a
Check if direct submission available once
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-31 11:53:29 +01:00
Lukasz Jobczyk
b5ffad2fec
Revert "Check if direct submission available once"
...
This reverts commit 70a7840da3
.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-30 10:31:00 +01:00
Lukasz Jobczyk
70a7840da3
Check if direct submission available once
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-23 18:00:46 +01:00
Filip Hazubski
fe08216102
Refactor: Update Drm::createDrmContext
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-01 17:04:09 +01:00
Bartosz Dunajski
2661962ac3
Pass engine instanced parameter during OsContext creation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-13 11:14:29 +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
Maciej Dziuban
7979dcb757
Improve PrintDeviceAndEngineIdOnSubmission flag
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-06-24 20:14:27 +02:00
Jaroslaw Chodor
3b4ec5b3fa
Refactor of global factories
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-28 19:09:24 +02:00
Bartosz Dunajski
085a2af2d6
Add EngineInstanced param to OsContext
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-12 10:57:12 +02:00
Maciej Dziuban
5318ff1872
Defer OsContext initialization
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-04-19 11:54:34 +02:00
Maciej Dziuban
fd9fb3e46b
Remove isInitialized() method from OsContext
...
We can fail early, instead of constructing an invalid object
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 14:12:20 +02:00
Lukasz Jobczyk
1921bfb3dc
Add infrastructure to enable direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-07 14:23:58 +02:00
Maciej Dziuban
264f20ea00
Pass EngineTypeUsage to OsContext creation
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-03-16 10:21:18 +01:00
Lukasz Jobczyk
7c99739b89
Check if direct submission enable in OsContext
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-11 09:05:50 +01:00
Lukasz Jobczyk
574cd634b9
Refactor bo pinning
...
Change-Id: I451fa5225096829ea7131d159eb59f906817b2cd
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 12:55:57 +02:00
Zbigniew Zdanowicz
11f76befda
Limit direct submission to default context by default
...
Change-Id: I274d402eead87afca634d3b876fe500777910f96
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-09 13:02:07 +01:00
Zbigniew Zdanowicz
ad4925aef9
Do not use direct submission in internal and low priority contexts
...
Change-Id: Ifac52dd36737151ea4d84bec95750e1716cafa9a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-04 13:12:37 +01:00
Mateusz Jablonski
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00
kamdiedrich
e072275ae6
Reorganization directory structure [3/n]
...
Change-Id: If3dfa3f6007f8810a6a1ae1a4f0c7da38544648d
2020-02-23 23:48:28 +01:00