- limit the amount of atomic reads
- change debug callback code to not test atomic
- change logic of seeing if we are within limits.
Change-Id: I67e6cf0558f2db60a50bf3ecdf7287d345bf50ae
-This is to make sure those functions are not called when gtpin is not used
-This preserves CPU instruction cache pollution.
-Our enqueue path needs to be as thin as possible, even with this small change
there is visible gain in ULT execution time.
Change-Id: I44cc2144754cda95ca1fe058184cd8a151b8d35c
- Dont check if resource is shared
- Check only gmm allocation capability
- Add missing support for 3d textures
Change-Id: I989533549087db74d5c238d639055462d5fea604
- Extract hw_info_config.h from Linux directory
- Extract enabling HwInfoConfig from Linux directory
- Create dummy implementations for HwInfoConfig on Windows
Change-Id: Ic9c7525ba9d9b654f238fb661cdbb3eecc421e29
- Measure time between wait calls. If delay is exeeded use QuickKmdSleep
- Kmd Notify helper functions
- Refactor overriding from debug variables
- Refactor Kmd Notify tests
Change-Id: I123c31f492d98fd304184f99ee0bf7d733d06f04
- simplify os agnostic memory manager
- remove pointer map
- move cpuPtr allocate logic to graphics allocation
- do not release tag allocation while injecting memory manager
- remove not needed ref count from Memory Allocation
Change-Id: I6ad81ee919c9cde939bc754a9dfc2db7568397d2
- KmdNotifyProperties struct for CapabilityTable that can be extended by
incoming KmdNotify related optimizations
- Quick KMD sleep optimization that is called from async events handler
- Optimization makes a taskCount check in busy loop with much smaller
delay than basic version of KMD Notify optimization
Change-Id: I60c851c59895f0cf9de1e1f21e755a8b4c2fe900
- when pinning fails with EFAULT due to read-only memory
used for allocation (BO), mark the allocated fragments
to be freed, as cpu copy will be used.
- prevent possible leaks
Change-Id: I200ba276da5e3a8557df28fe2e411ef30d69a86a
- generation temporarily disabled for gen8 platforms only
- unit tests using the pregenerated kernel modified accordingly
Change-Id: I304a796836c823d222e60c44a78fc7f4b03b8a73
- Previously only taskCount was updated
- This improves KMD notify usage for Events handled asynchronously
Change-Id: I283982890579254033557de0e1cef2239c0035e2
- adding kernel debug option to build program
- program tests refactor
- pregenerated debug kernel for ULTs
Change-Id: I00152639148fd48c4f709dc7cd9c46392df567c8
igdrcl_tests: define gen specific sources in subdirectories
libult: append gen specific sources needed to link hw tests
Change-Id: I72505729f1ff27439cd43904688de9c2cfbe080f
- Also refactor debug manager tests , they now check for default value
in igdrcl.config file
- There is no need to write dedicated tests now , so I remove them.
Change-Id: Ib338ca05b6059302c29469c673239e7886dc4b9b
This commit introduces a software controlled HW Tag
in the configuration of AUB CSR in standalone mode
(i.e. with no execution on real HW).
Change-Id: Ic470957d58e6568b13dda3d61cb230498d8f2691
- when fragment is already allocated, allcoating is
skipped and index is incremented,
separate index must be used for allocated bos array
Change-Id: I856a99ba4ebdad5375829a43d721c7e1490b18d3
Cleanup unit_tests/CMakeLists.txt
Move shared sources to libult
define linux test projects in linux subdirectory
Change-Id: I0da18c79e6581412a04ddfb3795750db862ad95c
- read only memory cannot be used for allocation,
Oses cannot create graphics alocation for such memory
- if memory allocation fails for host_ptr passed
to enqueueWrite calls, then try doing new allocation
and copy host_ptr on cpu
Change-Id: I415a4673ae1319ea8f77e53bd8fba7489fe85218
cleanup unit_tests/aub_tests/CMakeLists.txt
cleanup unit_tests/elflib/CMakeLists.txt
cleanup unit_tests/libult/CMakeLists.txt
cleanup unit_tests/tbx/CMakeLists.txt
partially cleanup unit_tests/CMakeLists.txt
solution source tree changes:
- make test projects folder as variable
- make platform specific targets folder as variable
- move platform specific targets to \"test platforms\" folder
Change-Id: Iff7da009e13c3ac9e5af76325be32e5056e8cd7b