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
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
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
af3dd2859b
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-26 19:05:05 +02:00
7dc36ca422
L0 Win Debugger - fix slice mapping bug
...
Related-to: LOCI-3429
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-09-22 14:40:13 +02:00
645600d141
Return error when there is no memory to evict
...
We want to return error code to the application instead of aborting when
we are not able to make more memory resident.
Related-To: NEO-7289
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-09-22 14:26:55 +02:00
43676ed02a
L0Debug Win: initialize device with empty submission
...
In case of debuggable context device should be additionally
initialized by early empty submission issue.
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-09-21 12:02:34 +02:00
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
9b19014cf1
Fix read of 64bit enviroment variables
...
change atoi to atoll
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-09-09 14:00:10 +02:00
0d5c27a75f
Add support for ADL-N for WSL
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-09-07 20:11:45 +02:00
53c127e64c
Remove superfluous const_casts
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-06 13:34:01 +02:00
90ba50bf52
Warn when RAII lock returned from function is discarded
...
Discarding RAII lock returned from function almost always
is a bug. This change introduces usage of [[no_discard]]
attribute from C++17 to prevent such misues.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-01 16:53:03 +02:00
315f6230bf
correct name of evict flag to match wddm
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-22 18:14:51 +02:00
edeaa968f5
Destroy resource handle when created
...
Do not create resource when cpuPtr is set
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-08-16 13:03:59 +02:00
a5614a1c66
Revert "Destroy resource handle when created"
...
This reverts commit 011a0dd497
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-12 09:16:34 +02:00
0ecc08337e
Add debug flag that overrides control of wddm evict flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-11 12:06:11 +02:00
50a27bd48e
Add gdi system functions logging
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-10 16:32:19 +02:00
011a0dd497
Destroy resource handle when created
...
Do not create resource when cpuPtr is set
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-08-10 12:35:49 +02:00
900c9ffc42
L0 Debug Win: device Thread Id remapping for run control
...
Related-To: NEO-6971
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2022-08-09 15:15:50 +02:00
b39be32e20
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-08-09 14:11:05 +02:00
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
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
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
f17b46bc22
Reposition members of wddm classes
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-28 14:31:12 +02:00
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
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
0378f2e8b3
Debug flag to override Images support
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-07-26 12:01:35 +02:00
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
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
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
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
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
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
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
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
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
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
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
cb6db5672b
Debugger L0 Win - register allocations metadata in debugger
...
Related-To: NEO-6764
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-06-22 17:22:15 +02:00
0966651a78
Create and implement WSL handle refreshing
...
Additionally rename createResourceInfo overload to decodeResourceInfo.
createResourceInfo(GMM_RESOURCE_INFO *, GMM_RESOURCE_INFO) does not
create a new ResourceInfo, but decodes one on the basis of the provided
existing gmmResourceInfo.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-06-14 08:43:35 +02:00
213dc2fe24
Make CPU copy for read buffer when host ptr is write combined on DG2
...
With this commit on DG2 32bit driver will check if passed host ptr for
clEnqueueReadBuffer is write combined memory. If check will be true copy
will be make on CPU.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-06-13 21:23:21 +02:00
c229ace4df
Adjust GmmHelper to be HW aware
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-13 18:33:06 +02:00
5bee8ebd35
Revert "Allow cpu buffers copy on DG2 in 32bit"
...
This reverts commit 2055daf696
.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-06-08 11:26:00 +02:00
81899c4477
Add canonized gpuAddress to GraphicsAllocation constructor
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-06 18:17:36 +02:00
dc1fe7d59a
Change MemoryPool to enum class
...
Use enum class for MemoryPool in GraphicsAllocation
This change will ensure that GA is constructed in the proper way
- Rename namespace for isSystemMemoryPool method
- Add method getMemoryPoolString for logging actual pool which is in used
- Remove wrong pattern in GraphicsAllocation constructor
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-02 12:46:15 +02:00
ae56d50b4f
Pass canonized gpuAddress to GraphicsAllocation
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-30 16:54:38 +02:00
8c165a6f41
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-27 16:25:56 +02:00
adc51c1b47
Set context debuggable when debugging is enabled
...
Related-to: NEO-6896
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-05-24 16:45:32 +02:00
ddd8a08fac
Add mechanism to avoid calling gdi calls while process exit
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-05-20 11:11:52 +02:00
db6562c092
Add windows debugger feature check
...
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-05-20 08:42:59 +02:00