compute-runtime/shared/source/os_interface/linux
Jaime Arteaga 37ed03a15c feature: Propagate error from makeResident to caller
Have makeResident return error to the caller, instead of always
SUCCESS. This will allow interfaces like zeContextMakeMemoryResident
to fail properly.

Additionally, change the parsing of MemoryOperationsStatus from
ZE_RESULT_ERROR_OUT_OF_HOST_MEMORY to
ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY, since when making resources
resident, it is the device running out of memory, instead of the
host.

Related-To: LOCI-4443

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-05-24 21:08:27 +02:00
..
local refactor: correct ioctl and related functions to return signed int 2023-01-19 22:04:27 +01:00
wddm_linux
xe Revert "fix: initialize ipVersion in linux paths" 2023-05-20 07:32:36 +02:00
CMakeLists.txt refactor: rename product helper wddm and drm files 2023-03-09 17:51:01 +01:00
allocator_helper.h
cache_info.cpp
cache_info.h
clos_cache.cpp Cleanup includes 40 2023-01-23 16:19:35 +01:00
clos_cache.h
device_command_stream.inl
device_time_drm.cpp refactor: Rename member variables to camelCase 2/n 2023-04-27 20:39:22 +02:00
device_time_drm.h Cleanup includes 46 2023-01-27 14:31:05 +01:00
driver_info_linux.cpp Cleanup includes 46 2023-01-27 14:31:05 +01:00
driver_info_linux.h Add member for handling additional adapterInfo fields 2022-08-09 14:11:05 +02:00
drm_allocation.cpp refactor: Unify getters to check platform support for KMD migration 2023-05-17 15:45:42 +02:00
drm_allocation.h feature: Add Support for zeMemPutIpcHandle & zeMemGet IPC Handle converters 2023-04-27 03:53:52 +02:00
drm_buffer_object.cpp fix: store registered engines per root device 2023-04-27 10:54:07 +02:00
drm_buffer_object.h fix: store registered engines per root device 2023-04-27 10:54:07 +02:00
drm_command_stream.h Use dedicated using type for TaskCount 2022-11-28 16:44:44 +01:00
drm_command_stream.inl Debug flag to force early exit 2023-04-25 09:44:44 +02:00
drm_command_stream_bdw_and_later.inl Use dedicated using type for TaskCount 2022-11-28 16:44:44 +01:00
drm_command_stream_xehp_and_later.inl Cleanup includes 18 2023-01-02 13:28:29 +01:00
drm_debug.cpp Cleanup includes 40 2023-01-23 16:19:35 +01:00
drm_debug.h Attach UUID to SbaAllocations 2023-04-11 12:53:03 +02:00
drm_engine_mapper.cpp refactor: use Drm::queryGttSize in DrmMemoryManager 2022-06-28 17:08:45 +02:00
drm_engine_mapper.h Refactor aubstream include interface 2022-11-23 10:30:13 +01:00
drm_gem_close_worker.cpp
drm_gem_close_worker.h
drm_memory_manager.cpp feature: Get Peer Allocation with specified base Pointer 2023-05-24 20:41:20 +02:00
drm_memory_manager.h feature: Get Peer Allocation with specified base Pointer 2023-05-24 20:41:20 +02:00
drm_memory_manager_create_multi_host_allocation.cpp Attach UUID to SbaAllocations 2023-04-11 12:53:03 +02:00
drm_memory_operations_handler.h Moving rootDeviceIndex from DrmMemoryOperationsHandlerBind to base class 2022-12-30 12:27:29 +01:00
drm_memory_operations_handler_bind.cpp feature: Propagate error from makeResident to caller 2023-05-24 21:08:27 +02:00
drm_memory_operations_handler_bind.h Cleanup includes 42 2023-01-25 09:16:39 +01:00
drm_memory_operations_handler_create.cpp Moving rootDeviceIndex from DrmMemoryOperationsHandlerBind to base class 2022-12-30 12:27:29 +01:00
drm_memory_operations_handler_default.cpp Moving rootDeviceIndex from DrmMemoryOperationsHandlerBind to base class 2022-12-30 12:27:29 +01:00
drm_memory_operations_handler_default.h Moving rootDeviceIndex from DrmMemoryOperationsHandlerBind to base class 2022-12-30 12:27:29 +01:00
drm_neo.cpp fix(debugger): use per-context fences for vm_bind operations 2023-05-24 15:17:31 +02:00
drm_neo.h refactor: Unify getters to check platform support for KMD migration 2023-05-17 15:45:42 +02:00
drm_null_device.h Add enum values for memory classes 2022-06-21 17:05:13 +02:00
drm_version.cpp
drm_wrappers.cpp Do not call DebuggerOpen ioctl again on EBUSY 2022-10-19 10:26:35 +02:00
drm_wrappers.h Do not call DebuggerOpen ioctl again on EBUSY 2022-10-19 10:26:35 +02:00
drm_wrappers_checks.cpp Move drm wrappers checks to separated cpp 2022-07-28 13:23:06 +02:00
engine_info.cpp fix: don't create fake distance info in xe ioctl helper 2023-05-04 08:21:28 +02:00
engine_info.h fix: don't create fake distance info in xe ioctl helper 2023-05-04 08:21:28 +02:00
gmm_interface_linux.cpp
hw_device_id.h [Sysman] Add support to control lifetime of file descriptor 2023-03-06 17:55:13 +01:00
hw_device_id_linux.cpp [Sysman] Add support to control lifetime of file descriptor 2023-03-06 17:55:13 +01:00
i915.h Add missing pragmas once 2022-08-25 09:46:44 +02:00
i915_prelim.h Store hardware IP version in hardware info 2022-11-03 09:57:08 +01:00
i915_upstream.h Add missing pragmas once 2022-08-25 09:46:44 +02:00
ioctl_helper.cpp feature: Add debug flag for setting hw ip version 2023-05-23 15:32:46 +02:00
ioctl_helper.h refactor: remove not needed forward declaration 2023-05-23 16:06:16 +02:00
ioctl_helper_getter.cpp refactor: rename IoctlHelper::get to IoctlHelper::getI915Helper 2023-01-09 12:32:45 +01:00
ioctl_helper_getter_upstream.cpp refactor: rename IoctlHelper::get to IoctlHelper::getI915Helper 2023-01-09 12:32:45 +01:00
ioctl_helper_prelim.cpp fix: setup ipVersion in linux paths 2023-05-23 09:27:15 +02:00
ioctl_helper_upstream.cpp build: update i915 headers 2023-05-22 10:25:00 +02:00
kmd_notify_properties_linux.cpp
linux_inc.cpp
memory_info.cpp refactor: rename hw_helper files to gfx_core_helper files 2023-02-01 19:37:51 +01:00
memory_info.h refactor: correct ioctl and related functions to return signed int 2023-01-19 22:04:27 +01:00
os_context_linux.cpp fix(debugger): use per-context fences for vm_bind operations 2023-05-24 15:17:31 +02:00
os_context_linux.h fix(debugger): use per-context fences for vm_bind operations 2023-05-24 15:17:31 +02:00
os_inc.h
os_interface_linux.cpp refactor: rename product helper files n/n 2023-03-10 13:24:38 +01:00
os_interface_linux.h
os_library_helper.cpp
os_library_linux.cpp
os_library_linux.h
os_memory_linux.cpp feature usm: reserve heap extended in 57 bit address space 2023-03-28 11:06:03 +02:00
os_memory_linux.h
os_metrics_library.cpp
os_socket.h
os_thread_linux.cpp
os_thread_linux.h
os_time_linux.cpp
os_time_linux.h Cleanup includes 46 2023-01-27 14:31:05 +01:00
page_table_manager_functions.cpp Cleanup includes 2/n 2022-07-27 12:01:36 +02:00
pci_path.cpp Include cstdint to fix GCC 13 build 2023-02-22 08:02:49 +01:00
pci_path.h
performance_counters_linux.cpp refactor: rename hw_helper files to gfx_core_helper files 2023-02-01 19:37:51 +01:00
performance_counters_linux.h
pmt_util.cpp Include cstdint to fix GCC 13 build 2023-02-22 08:02:49 +01:00
pmt_util.h Include cstdint to fix GCC 13 build 2023-02-22 08:02:49 +01:00
print.cpp feature: add AssertHandler 2023-03-08 17:55:23 +01:00
product_helper_drm.cpp refactor: rename product helper files n/n 2023-03-10 13:24:38 +01:00
product_helper_mtl_and_later.inl refactor: rename product helper files for mtl and later platforms 2023-03-07 20:16:58 +01:00
product_helper_uuid_xehp_and_later.inl refactor: rename product helper uuid files 2023-03-08 17:25:57 +01:00
product_helper_wddm_stub.cpp refactor: rename product helper files n/n 2023-03-10 13:24:38 +01:00
product_helper_xe_hpc_and_later.inl refactor: rename product helper files for xehpc and later 2023-03-08 16:28:59 +01:00
settings_reader_create.cpp
sys_calls.h feature: Add new environment variables for compiler cache 2023-05-12 10:21:27 +02:00
sys_calls_linux.cpp feature: Add new environment variables for compiler cache 2023-05-12 10:21:27 +02:00
system_info.cpp Add fallback path to query L3 size 2022-09-02 15:32:16 +02:00
system_info.h Add fallback path to query L3 size 2022-09-02 15:32:16 +02:00
system_info_extended.cpp