Milczarek, Slawomir
370b4b94c8
Minor fix for linux ULTs
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-01-14 16:06:07 +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
Szymon Morek
2647d563c7
Remove i915 structs from MemoryInfo
...
Use structs defined in ioctl_helper.h instead of
i915 dependent ones to avoid conflicts between
different kernels
Related-To: NEO-6149
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-22 12:46:59 +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
Szymon Morek
e368e6c20b
Move free function to DrmMemoryManager
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-11-30 14:55:18 +01:00
Szymon Morek
12777bd758
Move MemoryInfoImpl logic to MemoryInfo
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-11-29 13:13:11 +01:00
Szymon Morek
23f7a908d7
Add query system info on linux
...
Source location of DRM_I915_QUERY_HWCONFIG_TABLE
and modified intel_hwconfig_types.h:
https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/tree/intel/IGTPW_6061/
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-11-24 17:38:15 +01:00
Artur Harasimiuk
7eb5b6aa42
mock dlopen in tests to block unwanted interactions
...
- explicitly specify files allowed to dlopen()
- use underscore to prefix fake library name that we want dlopen to
return nullptr
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-23 12:55:48 +01:00
Milczarek, Slawomir
bc4c64b095
Add unit test for query page fault support
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-15 10:33: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
Artur Harasimiuk
83b099a48c
improve pci path search to use regex to make it more flexible
...
Related-To: NEO-6364
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-26 07:49:22 +02:00
Compute-Runtime-Validation
ee942190ab
Revert "improve pci path search to use regex to make it more flexible"
...
This reverts commit dbffbbd193 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-10-25 22:15:31 +02:00
Artur Harasimiuk
dbffbbd193
improve pci path search to use regex to make it more flexible
...
Related-To: NEO-6364
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-25 15:20:04 +02:00
Mateusz Jablonski
ef3f93a178
Create neo_libult target
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-22 16:55:07 +02:00
Mateusz Jablonski
58ebebeec6
Move drm_memory_manager_tests.h and related fixtures to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 20:46:58 +02:00
Mateusz Jablonski
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 21:46:53 +02:00