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
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
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
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
Krzysztof Gibala
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
Daniel Chabrowski
6fd7ae7142
Cleanup headers
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-26 17:55:44 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Bartosz Dunajski
c4fcd7ed9b
Capability to set low scheduling priority for Wddm context
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-10 16:44:25 +02:00
Krzysztof Gibala
1c366d1ec0
Refactor: Change canonize method accessing point
...
Accessing canonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-09 14:16:31 +02:00
Jaime Arteaga
3f26f45c10
Add support for IPC handles with implicit scaling
...
When using implicit scaling, device allocations may have
more than one internal allocation created internally. In that case,
a separate dma-buf handle per internal allocation needs to be
exported.
So introduced two driver experimental extensions to export and
import more than one IPC handle:
- zexMemGetIpcHandles
- zexMemOpenIpcHandles
Related-To: LOCI-2919
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-05-09 00:38:17 +02:00
Krzysztof Gibala
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 15:45:49 +02:00
Patryk Wrobel
18cafd3a52
Implement GPU hang detection on Windows
...
This change uses value of cpuAddress from monitored fence
to detect GPU hang.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-02-09 17:22:52 +01:00
Bartosz Dunajski
a95198521e
Initial implementation of CacheSettingsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 16:18:06 +01:00
Bartosz Dunajski
c88fce0def
Gmm construction cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 10:20:24 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-04 17:49:09 +01:00
Mateusz Jablonski
1671e0a1a7
Add new debug flags for filtering devices to open
...
FilterBdfPath is used only on Linux as a filter for BDF
when opening from /dev/dri/by-path
FilterDeviceId is used on both OSes as a filter for device id
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-03 14:34:01 +01:00
Fabian Zwolinski
d9bf1886c2
Remove GMock from GMockMemoryManagerFailFirstAllocation, GMockMemoryManager...
...
Removed GMock from
- GMockMemoryManagerFailFirstAllocation
- GMockMemoryManager
- TestEventCsr
- MockKmdNotifyCsr
- MockMemoryOperationsHandlerTests
- GmockGmmMemory
- MockMemoryManagerCommandQueueSBA
- TestCmdQueueCsr
Renamed:
- GMockMemoryManagerFailFirstAllocation -> MockMemoryManagerFailFirstAllocation
Moved class body:
- GMockMemoryManager to MockMemoryManager
- GmockGmmMemory to MockGmmMemoryBase
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-20 16:08:34 +01:00
Fabian Zwolinski
44ebe800df
Move MockWddm body to WddmMock
...
This commit cleans the code after previously removed GMock from the
MockWddm(GmockWddm) class by merging MockWddm class into WddmMock.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-12 16:08:46 +01:00
Spruit, Neil R
02f075c541
Power Saving Hint Support for Level Zero in Windows
...
- Added Functionality to pass ze_power_saving_hint_type_t to zeContextCreate
included in the pNext extensions in ze_context_desc_t.
- Enables handling a hint value 0-100 with 0 being no power savings
and 100 being maximum power savings.
- ZE_RESULT_ERROR_INVALID_ENUMERATION is returned given an invalid hint.
Related-To: LOCI-2567
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-01-06 23:56:59 +01:00
Fabian Zwolinski
1d48e97649
Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests...
...
GMock Removed from:
- MockAubCsr
- GmockAubFileStream
- AsyncEventsHandlerTests
- AsyncEventsHandlerTests::MyEvent
- MockGmmPageTableMngr
- GmockWddm
Additionally:
- GmockAubFileStream body moved to MockAubFileStream class
- Deleted unused GmockAubFileStream class
- Deleted NiceMocks from AsyncEventsHandlerTests
- Renamed GmockWddm to MockWddm
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-05 14:45:13 +01:00
Bartosz Dunajski
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 18:09:02 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Mateusz Jablonski
802a272c5f
Move mock_gmm_memory to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 13:46:46 +02:00
Filip Hazubski
28b37aea72
Correct handling unique_ptr in functions
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-21 18:17:14 +02:00
Mateusz Jablonski
271e0ee7fe
Move ult dxgi/dxcore factories to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-19 20:17:02 +02:00
Kamil Diedrich
465bec3d76
Add NTHandle sharing
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-10-19 14:17:25 +02:00
Mateusz Jablonski
6e64c24df3
Move mock gmm resource info to shared
...
Remove allocator_helper.cpp files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-12 12:19:35 +02:00
Artur Harasimiuk
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-05 16:22:38 +02:00
Mateusz Jablonski
4caa10f76e
Don't use Platform class in shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-20 18:23:07 +02:00
Dominik Dabek
65e00abea6
Enable new DriverProtection interface for MapGpuVa
...
Related-To: NEO-6096
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-08-17 18:02:26 +02:00
Dominik Dabek
bc6e174bc4
Fix typo in wddm fixture
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-08-06 15:13:06 +02:00
Piotr Obst
acf3e58a64
Move wddm_fixture.h and releted files from opencl to shared
...
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-07-07 12:30:12 +02:00
Mateusz Jablonski
294045071b
Improve driverstore compatibility checker
...
make checker case-insensitive
handle HostDriverStore scenarios
Related-To: NEO-5182, NEO-6025
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-02 12:52:13 +02:00
Mateusz Jablonski
7828a8ee6a
Correct adapter detection
...
don't break when first adapter is incompatible
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-06-18 05:50:25 +02:00
Jaime Arteaga
5e29dccddc
Add IPC events support
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-06-08 08:11:15 +02:00
Zbigniew Zdanowicz
2829226937
Improve query PCI info
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-01 19:26:22 +02:00
Jaroslaw Chodor
67aa1ad7ec
Refactoring HwDeviceId
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-24 21:38:20 +02:00
Jaroslaw Chodor
0e9aa45e46
Improving OS abstraction
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-23 21:40:37 +02:00
Suldin, Egor
2b3b47b495
Add cl_khr_pci_bus_info extension
...
Signed-off-by: Egor Suldin <egor.suldin@intel.com>
https://github.com/intel/compute-runtime/pull/374
2021-05-20 14:51:33 +02:00
Dominik Dabek
a5d38170ad
Move some shared tests to shared
...
Tests that are not specific to openCL or level zero
Related-To: NEO-5161
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-18 13:51:18 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Jaroslaw Chodor
3ae75b39fb
Changing win dev discovery to DXCoreAdapterFactory
...
Second try - keeping legacy path as fallback
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-13 22:31:48 +02:00
Compute-Runtime-Validation
5d90594d9d
Revert "Changing win dev discovery to DXCoreAdapterFactory"
...
This reverts commit 83143c4318
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-05-11 12:40:03 +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
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
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 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
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
f8f8b53d95
Improve OsHandle struct
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-02 18:42:16 +02:00
Milczarek, Slawomir
75f3b416ae
Gfx partition with 64KB and 2MB heap granularities
...
Related-To: NEO-5507
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-01 14:54:55 +02:00