Commit Graph

325 Commits

Author SHA1 Message Date
Mateusz Hoppe
73616b173c Cast argument to printf to match format specifier
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-10 10:56:43 +02:00
Jaroslaw Chodor
70f8fe1c01 UM-KM data refactor for Windows
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-09 13:42:18 +02:00
Bartosz Dunajski
99212b1aa5 Remove unused method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-07 21:57:01 +02:00
Jaroslaw Chodor
75e427f2e8 Moving to D3DDDI_ALLOCATIONINFO v2
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-01 23:14:13 +02:00
Mateusz Hoppe
6a43b6b609 Preserve MaxEuPerSubSlice in configureHwInfo
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-30 17:00:17 +02:00
Jaroslaw Chodor
83143c4318 Changing win dev discovery to DXCoreAdapterFactory
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-30 15:57:35 +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
Maciej Dziuban
2d1ef04100 Allow aligning allocations VA to 2MBt pu
Currently under a debug flag

Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-26 11:00:49 +02:00
Compute-Runtime-Validation
6bb76c82e3 Revert "Refactor Drm::queryTopology() to take struct"
This reverts commit f83b51e628.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-26 00:56:06 +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
Mateusz Hoppe
f83b51e628 Refactor Drm::queryTopology() to take struct
Related-To: NEO-5640

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-23 13:34:44 +02:00
Lukasz Jobczyk
3521d89106 Add debug flag to print called ioctls
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-22 16:50:07 +02:00
Jaroslaw Chodor
8deb4bcdba Adding helper for QUERYREGISTRY_DRIVERSTOREPATH
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-22 16:31:20 +02:00
Mateusz Jablonski
52301e6a40 Initialize all members in Gdi class
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-22 15:46:35 +02:00
Lukasz Jobczyk
1b513b5ddb Add utility to print ioctl times
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-22 10:54:33 +02:00
Konstanty Misiak
62d52ba2e9 Fix DG1 tests fail
Related-To: NEO-5679

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-04-21 18:47:22 +02:00
Mateusz Jablonski
c5546a5cfb add method for setting allocation priority
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 15:06:20 +02:00
Mateusz Jablonski
9a22d06efe Store default engine index per root device
Resolves: NEO-5768
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 14:55:13 +02:00
Mateusz Hoppe
0d85f6ccc7 Add yield() method to Thread
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-20 13:32:14 +02:00
Maciej Dziuban
a367476558 Disable deferred OsContext creation by default
Related-To: NEO-5610
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-20 10:50:54 +02:00
Jitendra Sharma
8a6247d82d Implement ze_device_memory_properties_t.maxClockRate
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-19 22:36:26 +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
Compute-Runtime-Validation
b5545c2a50 Revert "Implement ze_device_memory_properties_t.maxClockRate"
This reverts commit c3b63bd8a2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-17 10:21:25 +02:00
Jitendra Sharma
c3b63bd8a2 Implement ze_device_memory_properties_t.maxClockRate
Current implementation of ze_device_memory_properties_t.maxClockRate
is providing max dynamic frequency of GPU not the max memory frequency.
This change fixes that issue.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-16 09:12:29 +02:00
Lukasz Jobczyk
83a1a52bdc Flush tlb only when new resource is bound
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-15 12:11:13 +02:00
Bartosz Dunajski
45b005161a Dont create VM IDs if not supported
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-14 10:51:56 +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
Maciej Dziuban
5f9dbef401 Pass alignment to Gmm
Related-To: NEO-5750

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 13:40:43 +02:00
Bartosz Dunajski
8e2e9595a2 Always query memory info
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-12 12:52:15 +02:00
Piotr Maciejewski
08210f8be5 Fix for Metric Api test that attempts OS (fstat) function.
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com>
2021-04-09 17:29:23 +02:00
Bartosz Dunajski
d182d77a41 Remove unused methods
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-09 13:39:02 +02:00
Lukasz Jobczyk
cfebccdd3f Unbind BO before unmap
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-09 12:22:42 +02:00
Mateusz Hoppe
223a42c3c7 Refactor DebugSession creation
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-07 14:40:02 +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
Mateusz Jablonski
aff7b7cdd1 Pass hardware info to adjustSamplerState method
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-07 10:58:04 +02:00
Bartosz Dunajski
f8f8b53d95 Improve OsHandle struct
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-02 18:42:16 +02:00
Spruit, Neil R
7a3095c273 Report failure given Compiler Library Load failed for L0
- Return ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE given the Compiler
  cannot be loaded.
- Print dlopen and LoadLibrary error strings given Debug Print Messages
  are enabled.

Related-To: LOCI-1313

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-04-01 23:01:38 +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
Jaime Arteaga
d6496f959a Add support for floating point atomics properties extension
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-31 20:32:55 +02:00
Kamil Diedrich
7d64d8e00e Unify reading pci paths
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-03-29 15:59:09 +02:00
John Falkowski
218387dd47 Apply timerResolution mod for L0 V1.1
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-03-27 11:43:03 +01:00
Mateusz Hoppe
86a234ead6 Allocate debug area together with isa
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-26 09:31:44 +01:00
Artur Harasimiuk
330ee3d227 AubMemDump refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-03-24 18:26:00 +01:00
Jitendra Sharma
82eb4c936a Default enumerate discrete devices first
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-03-23 19:30:53 +01:00
Slawomir Milczarek
693f2ff384 Ensure shared handle be closed once on Linux
Related-To: NEO-5644

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-18 18:38:01 +01:00
Zbigniew Zdanowicz
d223508cad Move Drm function
Related-To: NEO-5570

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-18 10:02:14 +01: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
fb47944aff Fix BCS detection in direct submission
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-15 12:42:14 +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