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
3b3d40252e
Revert "Limit number of CCS engines on PVC"
...
This reverts commit 8f8370be32
.
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-08 18:40:24 +02:00
Mateusz Jablonski
8f8370be32
Limit number of CCS engines on PVC
...
Expose only one CCS engine
Related-To: NEO-7195
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-08 14:05:35 +02:00
Philippe Lecluse
a931f1654e
Add new enum values to DrmIoctl
...
Signed-off-by: Philippe Lecluse <philippe.lecluse@intel.com>
2022-08-05 00:40:21 +02:00
Neil R Spruit
ada9b5d4a9
Handle if L0 Event Memory is Shareable
...
- Properly check for IPC event handle flag to determine if the event
pool memory is sharable between processes.
- Given Host Visible Event Pool, a check is done to determine if the
Host memory can be shared between the processes.
- Enabled handling if Event Host Memory is shareable for DRM
- If Event Pool Memory is Not shareable, then retrieving the IPC Event
Pool Handle returns unsupported.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-08-05 00:11:05 +02:00
Compute-Runtime-Validation
3a31caf44a
Revert "Add member for handling additional adapterInfo fields"
...
This reverts commit aafbbf54db
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-04 09:36:36 +02:00
Kamil Diedrich
aafbbf54db
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-03 16:14:46 +02:00
Compute-Runtime-Validation
00ff0dc337
Revert "Destroy resource handle when created"
...
This reverts commit 5a6a90aa0e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-02 11:04:10 +02:00
Milczarek, Slawomir
9f36b20423
Bind buffer object before calling vm prefetch
...
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-08-01 15:03:21 +02:00
Zbigniew Zdanowicz
f17b46bc22
Reposition members of wddm classes
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 14:31:12 +02:00
Mateusz Jablonski
50c0e07bec
Move drm wrappers checks to separated cpp
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-28 13:23:06 +02:00
Kamil Diedrich
5a6a90aa0e
Destroy resource handle when created
...
When allocation is created and createResource is set we need to
remove resourceHandle instead of allocation handle list otherwise
in long running application (a lot of allocations) we will observe
memory leak.
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-07-28 13:22:52 +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
Kamil Kopryk
5a3746df76
Cleanup includes 2/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-27 12:01:36 +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
c94b6581c2
Make drm memory manager independent on drm headers
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-26 20:46:22 +02:00
Mateusz Jablonski
b2489a4c28
Add enum value for i915 mmap offset wb and wc
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-26 18:28:08 +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
Zbigniew Zdanowicz
4db5d7a6e7
Add flag for hardware support of eviction flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-26 13:21:43 +02:00
Dunajski, Bartosz
0378f2e8b3
Debug flag to override Images support
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-26 12:01:35 +02:00
Mateusz Jablonski
3d1c990e37
Move set domain cpu logic to ioctl helper
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-25 16:16:34 +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
Daria Hinz
8afcc87dc5
Support for new names in Aub/Tbx mode
...
New acronyms that distinguish between configurations are supported.
This commit adds support for these names by reusing ProductFamilyOverride flag.
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-7112
2022-07-25 14:46:52 +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
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +02:00
Compute-Runtime-Validation
ead3a95be3
Revert "Support for L0 to read Device LUID from the WDDM driver using ext Pro...
...
This reverts commit 8124bff387
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-23 08:01:24 +02:00
Spruit, Neil R
8124bff387
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-07-22 21:21:32 +02:00
Mateusz Hoppe
4da6f65d1a
L0Debug - Notify cmdQueue create for subdevices
...
- PROCESS ENTRY triggered for first cmdQ created
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-22 16:08:41 +02:00
Compute-Runtime-Validation
5199ea257d
Revert "L0Debug - Notify cmdQueue create for subdevices"
...
This reverts commit ebcb3faad2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-21 18:50:20 +02:00
Mateusz Hoppe
ebcb3faad2
L0Debug - Notify cmdQueue create for subdevices
...
- PROCESS ENTRY triggered for first cmdQ created
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-20 15:13:06 +02:00
Igor Venevtsev
547dd59272
Debugger L0 Win: Implement CREATE_DEBUG_DATA/MODULE_CREATE events handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-20 13:20:50 +02:00
Mateusz Jablonski
a4e9ede440
Dont use global namespaces of i915 definitions
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-19 13:17:59 +02:00
Zbigniew Zdanowicz
d19cab1fb3
Add new wddm eviction parameter
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-18 18:09:57 +02:00
Jitendra Sharma
4a8a93af96
Debugger L0 Win - Generate Proc Entry/Exit events
...
Related-To: NEO-7117
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-07-18 12:32:57 +02:00
Baj, Tomasz
b450d3c20b
Add cl_khr_device_uuid to extension list
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-07-18 12:28:04 +02:00
Compute-Runtime-Validation
d5b2f03dc4
Revert "Enable eviction only when needed flag in wddm"
...
This reverts commit aced55243c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-18 11:56:52 +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
dbdae541c1
Simplify translation DG1 specific region info into internal struct
...
Don't translate to upstream version
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-15 16:49:27 +02:00
Zbigniew Zdanowicz
aced55243c
Enable eviction only when needed flag in wddm
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-15 12:38:53 +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
Daria Hinz
01af53b63c
Setting default device id for acronym
...
This PR includes:
- Move product config implementation from
ocloc arg helper to product config helper.
- Add default device id setting for each platform configuration.
- Add & move hw info config tests from opencl to shared
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-7112
2022-07-15 12:28:58 +02:00
Mateusz Hoppe
ca4ecdfb06
L0Debug - map VM to tile based on context engines
...
- make ISAallocation aware of tileInstanced allocation
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-13 14:42:58 +02:00
cameron
60c819bb72
Fix Memory leak in drm_memory_manager of OsHandleLinux
...
Add virtual deconstructor to OsHandle and deconstructor to OsHandleLinux
Add override keyword to destructor
Add overriding deconstructor to OsHandleWin
Add newline before private members
https://github.com/intel/compute-runtime/pull/550
Signed-off-by: Cameron S Murtagh <cameron.murtagh00@gmail.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-13 11:23:48 +02:00
Compute-Runtime-Validation
f53ae0a50e
Revert "Add debug flag for EOT WA"
...
This reverts commit cf3817e058
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-09 01:21:56 +02:00
Artur Harasimiuk
6cb44ae0d9
includes refactor
...
use gen specific hw_cmds instead of all-in-one
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-08 17:02:19 +02:00
Mateusz Jablonski
cf3817e058
Add debug flag for EOT WA
...
EOT WA requires allocating last 64KB of kernel heap and putting EOT
signature at the last 16 bytes of kernel heap
Related-To: NEO-7099
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-07 16:58:24 +02:00
Milczarek, Slawomir
e768d0ed5e
Add regkey to enable support for concurrent access in usm capabilities
...
The new regkey is EnableUsmConcurrentAccessSupport that takes a bitmask
with usm capabilities to enable concurrent access for (bit0: host, bit1: device,
bit2: shared single-device, bit3: shared cross-device, bit4: shared system)
Related-To: NEO-6733
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-07-06 13:58:10 +02:00