Bartosz Dunajski
72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-26 18:06:38 +01:00
Aravind Gopalakrishnan
e29a85ebb3
Use ImmediateDispatch mode for L0 command queues
...
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-01-21 00:23:04 +01:00
Zbigniew Zdanowicz
03366f11d2
move aub test suite to shared tests executable
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-17 12:24:03 +01:00
Kamil Diedrich
7604a15abd
Enable local memory for images for DG2 + WSL
...
Change GMM resource info params, so that buffers
remain in system memory while images are being
routed to local memory additionally, fixes single
sku builds
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-11 20:06:53 +01:00
Joshua Santosh Ranjan
54d377d025
Fix clang-tidy issue
...
Fix clang-tidy issues about adding override keyword for MockClasses
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-01-10 10:56:25 +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
Kamil Diedrich
8ec74558ea
Temporarily disabling local memory for DG2 in WSL
...
Forcing system memory pool for all allocations in WSL for DG2
while local memory support is being implemented
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-06 11:15:25 +01:00
Joshua Santosh Ranjan
7fc9b2c3dc
Implement UUID using pcie bdf
...
This patch implements the fallback method for Device UUID
using the BDF of the device for all product families.
Related-To: LOCI-2827
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-01-05 23:31:00 +01:00
Zbigniew Zdanowicz
0cbc320e57
Move memory fixtures to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-03 16:47:02 +01:00
Szymon Morek
e07b27c0e2
Allow to query memory info with prelim ioctl
...
If prelims are supported, query memory info with
specific ioctl.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-29 10:21:23 +01:00
Szymon Morek
d9f6757378
Change return type from unique_ptr to vector
...
In some of the drm functions there is a pattern
to store array in unique_ptr and pass it's length
as an argument. This commit simplifies this.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-28 10:33:53 +01:00
Mateusz Jablonski
527806b3ed
Use full path to include test.h 2/n
...
fix files in shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 13:09:50 +01:00
Joshua Santosh Ranjan
06be26fd1e
Add uuid support using inband information
...
Added chipset specific uuid retrieving functionality
This is used by zeDeviceGetProperties
Related-To: LOCI-2636
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2021-12-10 08:02:33 +01:00
Bartosz Dunajski
2b1aa8b331
Compilation fix: Add missing LrcaHelper types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 13:19:36 +01:00
Szymon Morek
ce5f9c2214
Rename LocalMemoryHelper to IoctlHelper
...
Related-To: NEO-6472
This helper class is not used only for local memory.
IoctlHelper is more appropriate.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-01 14:34:21 +01:00
Kamil Diedrich
3218b784e8
Add override for gfxPartitionLayout in WSL DG1 path
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-01 10:29:27 +01:00
Joshua Santosh Ranjan
152ee4a627
Sysman Fix Multithread Access for zesMemoryGetState
...
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
Related-To: LOCI-2727
2021-11-27 02:35:46 +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
Jaroslaw Chodor
c4e802f01b
WSL - fixing resource cleanup on process shutdown
...
Resolves issues with coexistance of NEO L0 and NEO OCL libraries
within a single process running in WSL and using WDDM GPU PV
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-11-20 21:51:51 +01:00
Milczarek, Slawomir
ca4af1dde1
Add helpers for page fault support
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-03 13:39:38 +01:00
Jaroslaw Chodor
4b7811d061
WSL - fixing alignment for 32bit path
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-10-26 21:04:55 +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
53d77bb801
Minor: cleanup gmm_helper includes
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 11:14:15 +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
7b57e87ad1
Move some mocks to shared
...
- MockAllocationProperties
- MockBuiltinsLib
- MockWddmMemoryManager
- MockAubCsr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-15 09:59:47 +02:00
Mateusz Jablonski
8f81f2ae8d
Cleanup MockGmm
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-14 21:56:53 +02:00
Daria Hinz
25c44bd6d3
ResourceTag refactor
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-6099
2021-10-12 12:35:35 +02:00
Jaroslaw Chodor
45de13233a
WSL validate reserve_gpu_va args in ULTs
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-10-07 22:05:21 +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
Jaroslaw Chodor
996dd18b76
WSL - partition layout for 48-bit limited addressing
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-09-28 18:09:46 +02:00
Artur Harasimiuk
0b4bc865d3
move drm_mock to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-24 08:55:45 +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
Kamil Kopryk
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
Rafal Maziejuk
be41b726d7
Delete unnecessary HwInfoConfig tests for IGFX_UNKNOWN specializations
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-09-14 14:22:30 +02:00
Young Jin Yoon
4234a19b69
Add support for ze_scheduling_hint_exp_properties
...
Related-To: LOCI-2319
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-09-14 09:30:03 +02:00
Rafal Maziejuk
09ac89339e
Move local memory access mode getters from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-13 13:10:14 +02:00
Maciej Plewka
03ee6bc2dd
Allways take cpu time from OSTime on WSL
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-09-10 11:56:23 +02:00
Rafal Maziejuk
bbfbf19a02
Move allowStatelessCompression from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-09 11:37:47 +02:00
Rafal Maziejuk
6b062a62b8
Move allowRenderCompression function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-08 11:59:29 +02:00
Kamil Kopryk
ae88789bce
Move isMidThreadPreemptionSupported helper to hwHelper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-09-07 20:28:55 +02:00
Szymon Morek
d47751d3a7
Add getting gpu frequency for multitile devices
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-09-07 17:27:00 +02:00
Rafal Maziejuk
824102dc6c
Move isDisableOverdispatchAvailable function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-07 14:12:48 +02:00
Kamil Kopryk
9794bafd91
Add isMidThreadPreemptionSupported helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-09-07 10:35:27 +02:00
Kamil Kopryk
4f15365dae
Correct getDeviceMemoryName
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6112
2021-09-07 09:23:31 +02:00
Rafal Maziejuk
6b5a5d481e
Add default engine type adjustment check
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-02 13:33:30 +02:00
Rafal Maziejuk
4862fee089
Move setAdditionalPipelineSelectFields to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-01 18:03:24 +02:00
Kamil Kopryk
c656866b74
Remove not needed comment
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-09-01 10:52:33 +02:00
Jaroslaw Chodor
37af6a64c1
WDDM Linux - allocate 32bit through KMD
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-09-01 00:06:30 +02:00
Rafal Maziejuk
e96f1afa6f
Move HwInfoConfig tests to common file
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-08-31 11:49:15 +02:00