Joshua Santosh Ranjan
b2c80be6f9
Fix typo and error check when retrieving pci information
...
Fix
1. typo PhysialDevicePciSpeedInfo to PhysicalDevicePciSpeedInfo
2. error check to verify open() call
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-10-14 14:57:07 +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
Compute-Runtime-Validation
71149b29c5
Revert "Propagate exec buffer error to L0 API level"
...
This reverts commit 9a95f3c62d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-13 06:21:31 +02:00
Mateusz Jablonski
9a95f3c62d
Propagate exec buffer error to L0 API level
...
This change makes that drm file is opened in nonblocking mode for prelim
kernels. In such case when calling exec buffer ioctl and get
EAGAIN (aka EWOULDBLOCK) we may return error to API level
Related-To: NEO-7144
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-10-12 17:34:35 +02:00
Dunajski, Bartosz
eb79500c60
Debug flag to print completion fence usage.
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-11 14:58:57 +02:00
Dunajski, Bartosz
caaf82bb83
Fix L3 size query
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-06 10:46:39 +02:00
Compute-Runtime-Validation
95434f446f
Revert "Retry in loop when exec or bind fails with ENXIO"
...
This reverts commit ec13b185a3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-01 12:13:35 +02:00
Jaime Arteaga
aab24e6552
Add support for PRELIM_I915_PARAM_SET_PAIR (2)
...
Fix query for SET_PAIR.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-09-30 21:20:00 +02:00
Jaime Arteaga
a3b3f3e86e
Add support for PRELIM_I915_PARAM_SET_PAIR
...
This extension allows pairing two buffer objects so they can be
exported using a single dma-buf handle. When imported, a single
buffer object is created with a total size of the two buffer
objects.
Related-To: LOCI-3355
Sync to
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc15
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-09-29 23:41:39 +02:00
Maciej Plewka
ec13b185a3
Retry in loop when exec or bind fails with ENXIO
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-09-29 06:23:41 +02:00
Compute-Runtime-Validation
f5575a1370
Revert "Remove fallback path for PAT index programming"
...
This reverts commit faf8d51f6d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-23 20:46:31 +02:00
Naklicki, Mateusz
ec3668fc18
Add initialization method to ioctl helpers
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-09-22 11:55:59 +02:00
Mateusz Jablonski
9bde277184
Read frequency from file system based on drm version
...
Related-To: NEO-7300
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-21 13:28:18 +02:00
Dunajski, Bartosz
faf8d51f6d
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-21 10:46:43 +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
Patryk Wrobel
53c127e64c
Remove superfluous const_casts
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-06 13:34:01 +02:00
Dunajski, Bartosz
3c8c09634f
Add fallback path to query L3 size
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-02 15:32:16 +02:00
Dunajski, Bartosz
2102117e12
Fix data race for TLB flush check
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-08-31 12:27:48 +02:00
Mateusz Jablonski
f42e012bd8
Retry calling ioctl when getting -EBUSY from ioctl call
...
Related-To: NEO-7195
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-31 11:55:36 +02:00
Mateusz Jablonski
6450be2414
Remove redundant device and revision id members from Drm class
...
Drm should set these values directly to hw info in root device environment
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-09 10:13:32 +02:00
Mateusz Jablonski
762aebaea3
Make drm_neo.cpp independent on i915 headers
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-08 22:13:22 +02:00
Mateusz Jablonski
6bdc920d21
Add wrappers for I915 macros for struct definition
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-27 17:04:04 +02:00
Mateusz Jablonski
7434a7503a
Change macro definition to constexpr definition
...
I915_CONTEXT_PRIVATE_PARAM_BOOST -> contextPrivateParamBoost
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-27 11:26:19 +02:00
Mateusz Jablonski
416ca5938e
Create enum values for i915 context param values
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-27 09:53:02 +02:00
Mateusz Jablonski
db2d1a53b9
Cleanup includes in drm_memory_manager.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-26 20:53:21 +02:00
Mateusz Jablonski
17d2d6087a
Add enum value for drm query topology info
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-26 15:37:13 +02:00
Mateusz Jablonski
b49e2237c5
Pass drm to MemoryInfo ctor
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-25 15:44:10 +02:00
Mateusz Jablonski
2d151ec0fe
Move Drm cleanup logic to separated method
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-25 12:23:37 +02:00
Mateusz Jablonski
78c96db2fa
Create wrappers for different version of i915 headers
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-18 10:15:44 +02:00
Mateusz Jablonski
02e4ddbdfa
Get drm specific string from ioctl helper when available
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-15 12:31:54 +02:00
Joshua Santosh Ranjan
e8494abbe8
Add support for ze_device_memory_ext_properties_t
...
Related-To: LOCI-3099
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-07-06 08:18:22 +02:00
Lukasz Jobczyk
0d2d41691c
Bind BCS2-8 statically
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-05 08:52:52 +02:00
Lukasz Jobczyk
cdd2cd7ac3
Revert "Bind virtual copy engines in optimal sequence"
...
This reverts commit b55bbd41931d71ca774d4ae776f6860185e332c9.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-01 10:17:12 +02:00
Mateusz Jablonski
e88bad79a6
Dont pass drm to ioctl helper methods - use Ioctl Helper's member instead
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-30 11:11:12 +02:00
Mateusz Jablonski
c9e2b4bc32
Pass Drm to ioctl helper ctor
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-29 15:47:01 +02:00
Mateusz Jablonski
b72fcad1be
Drm: call ioctl using ioctl helper if possible
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-29 11:29:40 +02:00
Compute-Runtime-Validation
1bfe42350a
Revert "Disable tlb flush WA on PVC and later"
...
This reverts commit e0c87435e1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-06-22 20:09:28 +02:00
Lukasz Jobczyk
e0c87435e1
Disable tlb flush WA on PVC and later
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-06-22 13:09:42 +02:00
Lukasz Jobczyk
5ea86b712f
Bind virtual copy engines in optimal sequence
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-06-22 10:31:02 +02:00
Mateusz Jablonski
64029eee20
Add enum values for memory classes
...
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-21 17:05:13 +02:00
Mateusz Jablonski
e67307b724
Add DrmParam enum values for I915_EXEC values
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-15 08:39:39 +02:00
Mateusz Jablonski
ffe77d06e3
Ensure that ioctl helper is initialized only once
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-08 17:54:21 +02:00
Mateusz Jablonski
4d6169ee8b
Extract querying device id and revision to a dedicated method
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-08 14:04:46 +02:00
Mateusz Jablonski
70cf43fd6e
Remove redundant query for device id and revision
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-08 12:21:33 +02:00
Mateusz Jablonski
695958bd10
Move I915_PARAM values to DrmParam enum class
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-06 18:46:04 +02:00
Mateusz Jablonski
09c68a6bb1
Move query compute slices and query memory regions to DrmParam enum
...
Related-To: NEO-6852, NEO-6999, NEO-7028
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-01 19:38:34 +02:00
Mateusz Jablonski
c4bb209f91
Move query hwconfig table and engine info to DrmParam enum
...
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-01 18:49:49 +02:00
Mateusz Jablonski
0420df780d
Create enum wrapper for drm engine class values
...
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-01 14:39:29 +02:00
Compute-Runtime-Validation
ce7de9d66e
Revert "Unify query ioctls"
...
This reverts commit 571199d048 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-31 20:40:00 +02:00
Bartosz Dunajski
571199d048
Unify query ioctls
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-31 15:28:23 +02:00