Filip Hazubski
2dc54f6fd9
Update isLinuxCompletionFenceSupported value for XE HPG CORE
...
Related-To: NEO-6575
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-01-24 14:58:17 +01:00
Zbigniew Zdanowicz
a7455b5767
Add tweaks and control flags to linux completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-21 13:41:23 +01:00
Zbigniew Zdanowicz
ec40b6562e
Add unit tests for completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-20 21:15:34 +01:00
Szymon Morek
5a3fd1dc94
Check i915 version at runtime
...
Related-To: NEO-6510
Check which prelim version is being used.
Select proper IoctlHelper based on that version.
If no version found, switch to upstream instead.
Source of prelim headers:
https://github.com/intel-gpu/drm-uapi-helper
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-10 12:22:00 +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
Milczarek, Slawomir
31b339b873
Use VM Bind immediate when page faults supported
...
Related-To: NEO-6355
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-22 18:11:18 +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
58ebebeec6
Move drm_memory_manager_tests.h and related fixtures to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 20:46:58 +02:00
Jaime Arteaga
9d49c56b75
Include domain when ordering with ZE_ENABLE_PCI_ID_DEVICE_ORDER
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-10-06 21:34:36 +02:00
Artur Harasimiuk
0b4bc865d3
move drm_mock to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-24 08:55:45 +02:00
Mateusz Hoppe
cf8e3269c7
Set context unrecoverable when debugging enabled
...
Related-To: NEO-6204
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-10 13:29:11 +02:00
Szymon Morek
d47751d3a7
Add getting gpu frequency for multitile devices
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-09-07 17:27:00 +02:00
Compute-Runtime-Validation
86f8150dc7
Revert "Stop using CONTEXT_SET_PARAM"
...
This reverts commit e9f56e7d96 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-09-03 18:12:38 +02:00
Piotr Obst
e9f56e7d96
Stop using CONTEXT_SET_PARAM
...
Related-To: NEO-5881
Signed-off-by: Piotr Obst <piotr.obst@intel.com >
2021-09-03 15:27:20 +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
Mateusz Hoppe
bbb27cdb8a
L0 Device slice id mapping
...
Related-To: NEO-5640
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-07 15:00:44 +02:00
Zbigniew Zdanowicz
d3ba02294f
Correct coding style in drm tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-25 17:22:53 +02:00
Zbigniew Zdanowicz
94154145c0
Improve drm ioctl debug prints
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-25 14:18:54 +02:00
Zbigniew Zdanowicz
2829226937
Improve query PCI info
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-01 19:26:22 +02:00
Jaroslaw Chodor
67aa1ad7ec
Refactoring HwDeviceId
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-24 21:38:20 +02:00
Jaroslaw Chodor
0e9aa45e46
Improving OS abstraction
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-23 21:40:37 +02:00
Lukasz Jobczyk
529020c72c
Disable low priority BCS direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-05-19 12:06:29 +02:00
Mateusz Hoppe
4407bf9c49
Set correct MaxSlicesSupported in gtSystemInfo
...
- calculate maxSubsliceCount in translateTopologyInfo
based on enabled bits
Related-To: LOCI-2080
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-05-18 01:50:57 +02:00
Mateusz Hoppe
21d93a33d2
Do not set Max values from topology in Drm::setupHardwareInfo
...
- max values set in device->setupHardwareInfo and
HwInfoConfig::configureHwInfo
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-05-17 21:15:45 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
Mateusz Hoppe
27c28d275e
Fix storing VmIds in OsContextLinux
...
Related-To: NEO-5801
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-29 17:52:32 +02:00
Mateusz Hoppe
2d07d6a3d7
Refactor Drm::queryTopology() to take struct
...
- set max values in SystemInfo based on topology
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-28 12:19:34 +02:00
Mateusz Jablonski
1823054e08
Linux: pass adapter BDF to GmmLib
...
Resolves: NEO-5785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-23 18:45:50 +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
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
Lukasz Jobczyk
0c8080ac26
Add debug flag for low priority ULLS BCS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-04-01 15:27:12 +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
07b651ccb8
Make direct submission bcs context low priority
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-12 11:52:41 +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
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-02-10 21:03:13 +01:00
Mateusz Hoppe
3ab932b101
Add initial support for context debug
...
Related-To: NEO-5478
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-01-27 12:50:26 +01:00
Adam Cetnerowski
0783e4a32b
ULT renaming: Linux Interface tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-12-30 15:45:23 +01:00
Matias Cabral
7ac97fd929
Use independent Elf UUID generation
...
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2020-12-24 01:56:51 +01:00
Mateusz Hoppe
8aacad1854
Create DebuggerL0 only when debugging is supported
...
Related-To: NEO-5239
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-23 18:28:45 +01:00
Mateusz Hoppe
ada57435b4
Remove platform() dependency from DrmMock
...
Change-Id: I58a21dede469da95593e241528459761322c0730
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-12 18:05:14 +02:00
Mateusz Hoppe
0e7ec82577
UUIDs generation
...
Related-To: NEO-4964
Change-Id: I0ef5912fb744788f713803f539551c7b0b134208
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-10 13:57:05 +02:00
Mateusz Hoppe
348ddf810a
Query VM ID at context create time
...
Related-To: NEO-4957
Change-Id: I765c461e1090446e54873c33de001255b7c114a7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-08-19 12:47:27 +02:00
Slawomir Milczarek
d7f196f62a
Create Drm context with VM ID if virtual memory supported
...
Change-Id: I0beae5941ad4ddd5281ae7e12c27e80914e4c128
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-08-04 11:35:41 +02:00
Lukasz Jobczyk
56a0eb7d0f
Set VM id correctly
...
Change-Id: I5e4396995dd2f68b9a1fa4646061d54c4a85d3fe
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-07-28 07:19:50 +02:00
Mateusz Hoppe
7aea294c85
Allow perContext VMs
...
Related-To: NEO-4637
Change-Id: I599aba9c1c06fd9414cfa14ebb2de3fc504d1cad
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-16 11:20:51 +02:00
Slawomir Milczarek
519e75e3d6
Add DRM capability to create a virtual memory address space on Linux
...
Related-To: NEO-4821
Change-Id: Iefc17d6c0a3649791b9a9b15791a6d263399873d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-07-10 12:16:09 +02:00
Slawomir Milczarek
52deab65e0
Moved unit test for getMaxGpuFrequency on Linux to shared code
...
Related-To: NEO-4544
Change-Id: I5319e9485bbaa973f73bc11dd07effa184f27e64
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-04-14 12:41:54 +02:00
Jablonski, Mateusz
719b22ee11
Read max frequency using pci path
...
Related-To: NEO-4359
Change-Id: I2dc106cc2d7bc9087fb3925051969fa2a245e6f5
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2020-04-09 18:31:13 +02:00
Mateusz Jablonski
441ff1fcdf
Don't use the entire std namespace
...
Change-Id: I2014117a154fb2c1a61af5c31baa228b4fb3dbc2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-27 19:57:11 +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