Mateusz Jablonski
d45d62ef0e
Add debug flag to force nonblocking exec buffer calls when using prelim kernel
...
Related-To: NEO-7144
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-03 09:10:31 +01:00
Cencelewska, Katarzyna
a094a9bafe
Fix convert timestamp to use double values
...
to avoid division by 0
Resolves: HSD-18025033373
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-11-02 13:02:45 +01:00
Mateusz Jablonski
1131a6a4c1
Update i915 prelim headers to v2.0-rc15
...
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc15
Related-To: NEO-7457
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-02 11:30:54 +01:00
Mateusz Jablonski
9816f815f3
Propagate exec buffer error to L0 API level on Xe HPC
...
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-31 10:09:13 +01:00
Dunajski, Bartosz
a9ba581d97
Always use unrecoverable drm context
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-31 10:08:57 +01:00
Compute-Runtime-Validation
040d6693cd
Revert "Always use unrecoverable drm context"
...
This reverts commit 343371faad .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-29 19:28:04 +02:00
Compute-Runtime-Validation
33d9c5979a
Revert "Enable flush task for immediate command lists"
...
This reverts commit 95c3ef28fc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-29 15:48:44 +02:00
Aravind Gopalakrishnan
95c3ef28fc
Enable flush task for immediate command lists
...
Previously enabled for: DG2, PVC.
With this commit enabling for Gen9 onwards.
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-28 19:17:42 +02:00
Katarzyna Cencelewska
bbd75959d5
Calculate CS timestamp based on OA timestamp and frequencies ratio
...
Changes affect cores up to xe_hpg
Resolves: NEO-7346
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-10-28 16:26:53 +02:00
Dunajski, Bartosz
343371faad
Always use unrecoverable drm context
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-28 16:13:15 +02:00
Dunajski, Bartosz
7ff37cd5fd
Ftr/WA flags cleanup
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-26 12:11:31 +02:00
Jaime A Arteaga Molina
5446b9ca0d
Update Fabric Latency to Edge Properties (2)
...
- Only initialize vertexes when queried.
- Return also bandwidth when calling PRELIM_DRM_I915_QUERY_FABRIC_INFO.
Related-To: LOCI-3464
Signed-off-by: Jaime A Arteaga Molina <jaime.a.arteaga.molina@intel.com >
2022-10-26 08:15:35 +02:00
Dunajski, Bartosz
fad7f10b7b
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 16:24:43 +02:00
Dunajski, Bartosz
34eabf2960
Pass compression and cachable params to CachePolicyGetPATIndex query
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 10:41:17 +02:00
Joshua Santosh Ranjan
83b4edddf0
Update Fabric Latency to Edge Properties
...
Related-To: LOCI-3464
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-10-25 03:23:53 +02:00
Yates, Brandon
518016f20f
L0 Debug - Zero init debug surface in windows
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-10-21 18:36:14 +02:00
Kamil Diedrich
380e2dcc35
[WSL2] Avoid gdi calls while process exit
...
Related-To: NEO-7380
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-21 12:37:07 +02:00
Patryk Wrobel
9b26e96b11
Do not copy std::vector of OS handles when it is not needed
...
This change replaces unneeded copying of std::vectors
with usage of const references. Furthermore, it adds
reserve() call before filling the container via push_back().
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-10-21 10:28:58 +02:00
Compute-Runtime-Validation
40ddeeb3ba
Revert "Add support for USM shared in WSL for dGPU"
...
This reverts commit 1044a8aeee .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-21 05:59:34 +02:00
Kamil Diedrich
1044a8aeee
Add support for USM shared in WSL for dGPU
...
This patch force KMD allocation path for USM host allocation
and also for host part of USM shared allocation
Related-To: NEO-6913
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-20 11:26:24 +02:00
Mateusz Hoppe
5bd4b9eb48
Do not call DebuggerOpen ioctl again on EBUSY
...
Resolves: NEO-7429
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-19 10:26:35 +02:00
Compute-Runtime-Validation
e744116bbb
Revert "Add support for USM shared in WSL for dGPU"
...
This reverts commit 68d0523ccf .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-19 05:05:55 +02:00
Compute-Runtime-Validation
fb453f5190
Revert "Enable flush task for immediate command lists"
...
This reverts commit a4eb78d524 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-19 03:32:53 +02:00
Aravind Gopalakrishnan
a4eb78d524
Enable flush task for immediate command lists
...
Enabling for all platforms
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-18 17:17:05 +02:00
Kamil Diedrich
68d0523ccf
Add support for USM shared in WSL for dGPU
...
This patch force KMD allocation path for USM host allocation
and also for host part of USM shared allocation
Related-To: NEO-6913
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-18 14:00:14 +02:00
Mateusz Hoppe
0fdb308207
Use correct context for validateHostPtr
...
- with per context VMs, context with subdeviceBitfield must
be selected
Resolves: NEO-7426
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-18 13:10:28 +02:00
Compute-Runtime-Validation
5e36b1fcbf
Revert "Calculate CS timestamp based on OA timestamp and frequencies ratio"
...
This reverts commit 03c528382f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-16 11:14:46 +02:00
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
Milczarek, Slawomir
9bc7c48206
Enable kmd-migrated shared allocation with multiple BOs by default
...
Related-To: NEO-7395
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-10-14 09:51:14 +02:00
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
Compute-Runtime-Validation
5094b279f6
Revert "Return same fd handle on multiple calls to peekHandle"
...
This reverts commit 5c48e027b9 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-13 13:17:35 +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
Jaime Arteaga
5c48e027b9
Return same fd handle on multiple calls to peekHandle
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-10-12 17:17:10 +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
Milczarek, Slawomir
6edbfa04a0
Add regkey to create kmd-migrated shared allocation with multiple BOs
...
Related-To: NEO-7395
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-10-11 16:16:43 +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
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
Dunajski, Bartosz
caaf82bb83
Fix L3 size query
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-06 10:46:39 +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
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
Maciej Bielski
11eb0aa769
Do not bind command buffer separately
...
Improve performance by binding the command buffer together with other
allocations if VM_BIND feature is available. Remove the legacy
flag PassBoundBOToExec from DebugManager to simplify the logic.
Adapt unit tests and reuse handy macros to generate proxy mock-methods.
Related-To: NEO-7348
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2022-09-30 18:46:16 +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
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
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
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