Commit Graph

307 Commits

Author SHA1 Message Date
Artur Harasimiuk 0c5f42c854 refactor ioctl tracking in DrmMock
- track all known ioctls
- fail when not tracked ioctl is invoked

Change-Id: Ic3f4771bc408b16071e8df144cd85240cedaf057
2018-03-13 11:39:23 +01:00
Mrozek, Michal 00ae077913 [14/n] Internal 4GB allocator
- call make resident on sip kernel allocation.

Change-Id: I9c9af5ed4cec3e8b05decac7228658358ef1562b
2018-03-13 10:29:50 +01:00
Artur Harasimiuk edfdf3c66a ult: catch&handle SIGABRT
Change-Id: Ifaeed398d0e8a462ab1c6560b775453bbb2328a2
2018-03-13 08:25:21 +01:00
Hoppe, Mateusz cc6fa3d1e1 Kernel source debugging support 1/n
- new patch token
- program debug compilation flag
- sip kernel new methods for querying bti and debug
surface size

Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
2018-03-13 08:01:29 +01:00
Artur Harasimiuk 0ef0d6fc52 includes cleanup
Change-Id: Ibd4f5bfc2816c538f846dd7baf2e90005f8790f0
2018-03-12 21:23:29 +01:00
Mrozek, Michal 2119d5db08 [13/n] Internal 4GB allocator.
- Add common function for all memory managers to obtain internal heap base.

Change-Id: Iacdaaf598e8786dad046b3f4550f9c80ce3f15d9
2018-03-12 16:19:24 +01:00
Kowalczuk, Jakub 78bf486bfb Turn on EnableDebugBreak by default and infrastructure update
Change-Id: Ie7e12a7e1509f0a7a5962e97042dca8fa714d132
2018-03-12 14:05:16 +01:00
Mrozek, Michal 8254d6a081 Ensure that submissions are flushed prior to csr destruction.
Change-Id: Ie04de561d3d295f40f55a19f01274d873d259abd
2018-03-12 12:54:47 +01:00
Mrozek, Michal 38c352d044 [12/n] Internal 4GB allocator
- allocate graphics allocation for sip.

Change-Id: I18f12251d3ce812d53cc1c8c78079a9ba3fd3b3d
2018-03-09 14:19:06 +01:00
Hoppe, Mateusz 3f5a56ac1c Adding "-internal_options" to cloc
- new parameter for passing internal options string
to compiler

Change-Id: I4eb75922a079eb5dcffbd3bf83141cf42a4d2830
2018-03-09 13:21:18 +01:00
Artur Harasimiuk 12b7c551d8 use ADAPTER_INFO in one method only
size of structure can vary. Create single point of conversion to extract
required data and store them in Neo specific structures.

Change-Id: I822ec633014aa7394cbd626ecbc275e32e61cf60
2018-03-09 12:30:05 +01:00
Mrozek, Michal 2bb64b2d11 [11/n] Allocate graphics allocations during processKernel.
- This ensures each kernel has ISH set up after it is created.
- refactor freeBlockPrivateSurfaces to freeBlockResources, this is to properly
clean allocations for blocks
- Add method cleanCurrentKernelInfo to avoid code duplication in KernelInfo
cleanup

Change-Id: I01f155d434579fe5ce2675bc4e89b04628ef8158
2018-03-09 11:13:08 +01:00
Hoppe, Mateusz 8d5e099aa3 Adding "output" option to cloc for output filename
- instead using input filename for output files,
use name passed as an option.

Change-Id: Ibfa35b1d48d1b92dcfa67c5d59d9ea6a3c2e7639
2018-03-09 09:35:02 +01:00
Mrozek, Michal 383ceb0010 Add an option to re throw on failure.
Change-Id: Ifa78c5a57f5252068b46516e04e36aa5df43239b
2018-03-09 09:03:50 +01:00
Dunajski, Bartosz 08c2379f6e Validate region and origin for all image API calls
Change-Id: I28782d8838cf8f5d800f76c922fcb59235f637a1
2018-03-09 08:24:25 +01:00
Mateusz Jablonski a8b5a66439 Cmake refactor part 12
igdrcl_tests: define os_interface sources in subdirectories

Change-Id: Ibbf1754bf7a095f22ad152db709614f7e40ed2fb
2018-03-08 22:55:07 +01:00
Mateusz Jablonski 8c8b47026d Cmake refactor part 13
Cleanup offline_compiler/CMakeLists.txt
Cleanup unit_tests/offline_compiler/CMakeLists.txt

Change-Id: I1f4a2384ca64abd068b30a33ec643fa294ebaae3
2018-03-08 21:39:34 +01:00
Milczarek, Slawomir fcb9a591b0 Add AUB generation in parallel to execution on TBX
This commit adds support for AUB capturing with simultaneous execution on TBX

Change-Id: I046bac6b953708007c525050fbf9357120a310b6
2018-03-08 16:52:52 +01:00
Zdunowski, Piotr 003a277c3a Cloc cmake cleanup.
Change-Id: I6985beb60dbbd1feffb1000f7b8b951ebe15b8f5
2018-03-08 16:40:33 +01:00
Mateusz Jablonski 9d60c31dc8 Cmake refactor part 11
igdrcl_tests: define target sources in subdirectories H-M,P-U

Change-Id: I4539999c33ab5e5c3f5ec6909090c5c89daf7841
2018-03-08 13:23:27 +01:00
Dunajski, Bartosz 23c1c4fea6 clEnqueueMapImage origin and region usage fixes
- Return error on origin > 0 or region > 1 when its not allowed
- For 1Darray, array region and origin are stored on 2nd position.
  For 2Darray, its on 3rd postion
- Fix map offset for 1Darray image
- Fix CPU data transfer for 1Darray image

Change-Id: Id35ba5f54f117e7af318ca7e6e03c1fc942ce729
2018-03-08 08:54:48 +01:00
Mateusz Jablonski 6db6c67957 Cmake refactor part 9
igdrcl_tests: define sources in subdirectories D-G

Change-Id: Ie9adb3a1f78ce922f07a90c1e7268acb776df3a0
2018-03-07 19:42:51 +01:00
Zdunowski, Piotr d0011634d3 Fix for run_cloc_tests warnings.
Change-Id: I8cd554f9ec2028544810b29154cc9a4937450553
2018-03-07 19:25:03 +01:00
Mrozek, Michal 8b726368d5 [10/n] Internal 4GB allocator.
- Sip kernel now uses Program

Change-Id: Ibba11a5686502084a8b7fa99732f8bc2ee78dcc5
2018-03-07 19:21:16 +01:00
Artur Harasimiuk 354eb346fe use --gtest_catch_exceptions=1 when runinning ULTs
Change-Id: Ie0d02d9478f0335d08a2681cb709dccfb8bce557
2018-03-07 19:00:39 +01:00
Hoppe, Mateusz d9eeb663a2 Add "inputFileLlvm" option to cloc
- enables offline compilation of llvm text source

Change-Id: I72cba4a081ea76446f1c0d4e0bd9ee97e6c55db4
2018-03-07 18:31:46 +01:00
Dunajski, Bartosz 0659ee0896 Set valid origin on clEnqueueMapImage ULTs
Change-Id: I67853b7f7d7f7d4bc5475330715490e188a42b6d
2018-03-07 15:24:37 +01:00
Dunajski, Bartosz 7cbc35a45a Move AsyncEventsHandler cleanup to last executed asyncProcess
Change-Id: Icf31ea10a90bd8affc11640c0588cb996241927d
2018-03-07 11:02:25 +01:00
Artur Harasimiuk 3297cd8342 add function to properly load dependency
Change-Id: I0cec677ae19fa6525890c9b0abe0601a0c11e7df
2018-03-06 23:47:53 +01:00
Hoppe, Mateusz cfa9cd8040 Add new debug sip kernel types for kernel debugging support
- new internal options
- new builtins sip kernel generation

Change-Id: I132c4612f1ae58516f0573e636f9362b961bb427
2018-03-06 21:05:20 +01:00
Mateusz Jablonski 0afd7a9ec1 Cmake refactor part 8
igdrcl_tests: define sources in subdirectories A-C

Change-Id: Iad8e4e866c4b0b8ccf679313e46ef6f0e5deac50
2018-03-06 20:53:43 +01:00
Mateusz Jablonski 2466f9363f Cmake refactor part 7
generate project source tree in all projects with sources
source tree is based on real paths

Change-Id: Ie10a6bffedb8020f25ebcb24a2f797086d8accbb
2018-03-06 14:26:05 +01:00
Mrozek, Michal 8f0789bd3e [9/n] Internal 4GB allocator
- Add new function to compute offset from the heap base.

Change-Id: I1eda6e989675b767e17979181446c62444c12f9b
2018-03-06 12:45:29 +01:00
Pawel Wilma c4c35955d1 Debug option to flatten main and chained batch buffer in AUB dump.
New debug option FlattenBatchBufferForAUBDump has been added. When set it
modifies AUB dump in such way that commands from main and chained batch
buffer are dumped as single allocation. Commands from chained batch buffer are
dumped directly after commands from main batch buffer without
MI_BATCH_BUFFER_START. This feature also requires ImmediateDispatch mode which
can be forced using debug option CsrDispatchMode = 1.

Change-Id: I730760791693a748e7f4e1463ce8e7af94287b93
2018-03-06 12:26:50 +01:00
Mrozek, Michal 4f06b59c1d Do not disable memory leak detection in drm tests.
Change-Id: I08d5751acd773ebe4aaef1b46e740bed2e0a80aa
2018-03-06 10:19:11 +01:00
Artur Harasimiuk 8781bd518e remove some redunant casts in setAdapterInfo
Change-Id: I96bc52e6870346d35209b345362d4ddd951f90b4
2018-03-06 09:09:04 +01:00
Artur Harasimiuk a78111c892 cmake cleanup
- remove unused cmake code
- small cleanup around scheduler compilaiton
- remove misleading message related to compiler copying
  message is generated before copy_if_different operation and may be
  incorrect when such copy doesn't happen

Change-Id: Ia419d1ea26e9149b4282dc4883ddda0232ffd3f4
2018-03-06 08:04:40 +01:00
Artur Harasimiuk e56be64cd2 add more VariableBackup constructors
Change-Id: I5d857c0403f0378a7d4776e2afc88cea4194fcc4
2018-03-06 08:03:26 +01:00
Mrozek, Michal 1602fa5a88 [7/n] Internal 4GB allocator
- rename getBase to getCpuBase
- change some test names accordingly.

Change-Id: I6fb2e4714298250147ea7766a916d7f5d62edc54
2018-03-05 22:16:14 +01:00
Mrozek, Michal cfe1f72dcb Remove unnecessary code.
- There is not need to capture stream anymore.
- This may hide potential problems.

Change-Id: I0fdb3752ef7684a95aaf8e29b2c4394722ff0aa3
2018-03-05 21:52:16 +01:00
Mrozek, Michal 8f96c54945 [8/n] Internal 4GB allocator
- Add getGpuBase function to linear stream

Change-Id: I566ba929927a95399002e0f234e6e1919775ffba
2018-03-05 14:58:32 +01:00
Dunajski, Bartosz f6a8cb3279 Improve GraphicsAllocation reuse management
Change-Id: Iee14b4641712231c801676b758546be76deef636
2018-03-05 10:56:34 +01:00
Dunajski, Bartosz 1fce275542 Remove forced DC flush and disabled out of order execution for shared objects
Change-Id: I0de86c3d5af488a347e83858f5dddbac2ef53c17
2018-03-05 09:45:18 +01:00
Zdanowicz, Zbigniew 533afe472a Program preemption mode in Interface Descriptor Data
Change-Id: I7fce731d71dd0b6dc8505ebfe45d24c65898a08b
2018-03-05 09:36:53 +01:00
Mrozek, Michal bee295415f Add debug flag to print driver diagnostics to cout.
- New registry flags can be used for applications that wants to dump driver
diagnostics without using any additional tools
- When flag is on , context is being created with driver diagnostics and
hint level is being set to debug variable
- If application is already using driver diagnostics the hint level is
overwritten

Change-Id: I9912c0a7e8f23adb8372997144e5b75f9cc05b1d
2018-03-05 09:18:10 +01:00
Dunajski, Bartosz e579578bc8 Reuse GraphicsAllocation mechanism for shared resources
Change-Id: I4bfd2d3387ae0fc10d461ebc1ada94614ab7f6b5
2018-03-02 16:51:28 +01:00
Artur Harasimiuk f1f9fba509 use ADAPTER_INFO in Wddm only
do all transform and conversion in enumAdapters and return HardwareInfo.
the ADAPTER_INFO structure may vary and SkuInfoTransfer is responsible
to copy/deduce required flags, it can be done as a part of enumAdapter.

Change-Id: Iad6fd5f7094f591a0175025c9ec33a96e55ebdc9
2018-03-02 09:45:03 +01:00
Milczarek, Slawomir bb58c9fc2f AUB CSR flush to process residency in standalone mode only
This commit eliminates redundancy in calling processResidency() for AUB CSR
twice in the HW CSR with AUB dump configuration.

Change-Id: Ib49c80fa9d81a495dfb7261ff76e0b9b1422e42d
2018-03-01 21:51:18 +01:00
Mrozek, Michal b2f964dcf2 [6/n] Internal 4GB allocator
-Use GPU address to program command buffer in WDMM.

Change-Id: Iea6e423ccb18a09b4969a10cf2bd44d7a6af6629
2018-03-01 21:50:14 +01:00
Woloszyn, Wojciech 5c8cd51fc8 Use allocateGraphicsMemoryForImage for mipmaps
Change-Id: I0cd740ca4c8286fb73f766b74abc50ed53cfc9d0
2018-03-01 20:39:15 +01:00
Mrozek, Michal 3e3c6c28c7 Change default value of UseNoRingFlushesKmdMode to true.
Change-Id: I7c7246aeebb2815262cb2cd4731aabb2d74a3002
2018-03-01 17:25:38 +01:00
Stefanowski, Adam 95bd4a3d3a fix parsing in debug file reader
Change-Id: I6812a2ea0336152a9f5d1bc9d95f30a91392cf79
2018-03-01 17:24:32 +01:00
Slawomir Milczarek f217c9198c Add support for resource lock / unlock on Linux OS
This commit fixes the issue with image contents writes
in the configuration of CSR HW with AUB dump.

Change-Id: Id0c4f36d4f9eee5175267384d42cb75bf41062f3
2018-03-01 15:01:49 +01:00
Mateusz Jablonski bf5170dbeb Rename TestDebugVariables.def to TestDebugVariables.inl
Change-Id: I0997b99955e360d7ed54ecfaa91fc11e4a48bf77
2018-03-01 14:28:04 +01:00
Dunajski, Bartosz d9dd68a8ef Remove copy constructor for GraphicsAllocation
Change-Id: If547a004b6f9e5cadb1f6ba0a0f44c3ac0d1ff0d
2018-03-01 14:00:24 +01:00
Mrozek, Michal eea76094a1 [5/n] Internal 4GB allocator.
- Refactor drm memory manager tests.
- use dbg state restore
- use unique_ptr

Change-Id: Idaf831334f01ce2a20f2fec23ef146b6070c2172
2018-03-01 13:56:22 +01:00
Mrozek, Michal 0b8234117b Add support for createInternalGraphicsAllocation in DRM
Change-Id: I84090dfc4774506dee993e9c0c78c336367c43fd
2018-03-01 11:30:38 +01:00
Mrozek, Michal 7f7daef49c Avoid default parameter to program constructor.
Change-Id: I75e9a619131f7d8721416cf18d87418568d04f25
2018-02-28 16:56:07 +01:00
Mrozek, Michal 0b6acb4d7a [3/n] Internal 4GB allocator.
-Do not create allocator 32 bit with every DRM memory manager
-This is not needed for apps that do not use this.
-Add allocation of allocator to setForce32BitAddressing

Change-Id: I836b60f6b74eecf678cc9d56851797d0db176107
2018-02-28 16:54:49 +01:00
Mateusz Jablonski cb37fb97a3 Rename DebugVariables.def to DebugVariables.inl
Append this file to project source tree

Change-Id: I1d1f8538f6d28abd053a3106f9ffe4b955530416
2018-02-28 14:18:14 +01:00
mplewka 8ace8f8256 Provide smaller surface size for tests
Change-Id: I3f08b85c17ee89f710a449dea3d71c9ecba5b44e
2018-02-28 14:04:23 +01:00
Mrozek, Michal 0e3f2bf361 [4/n] Internal 4GB allocator
-Allocate internal 4GB allocator when DRM memory manager is created.

Change-Id: I072e81de219415a6c02ab1fd1b41b6a8338ee67c
2018-02-28 12:52:31 +01:00
Artur Harasimiuk c1683691c0 enable perf counters for events
added CL_PROFILING_COMMAND_PERFCOUNTERS_INTEL to cl_ext_private.h header
to expose this query

Change-Id: I8881456c54d391a66c2ce619a1a47ad1219c4376
2018-02-28 12:09:55 +01:00
Mrozek, Michal 52cdb7e57d [2/n] Internal 4GB allocator
- Add test for new parameter to mapGpuVirtualAddress

Change-Id: Ie374981fb58892e974efb80ba944419564422d98
2018-02-28 10:04:53 +01:00
Artur Harasimiuk 5c83a077ff refactored Event::getEventProfilingInfo
- depending on argument different parameter size may be returned. we
  shouldn't check this at the beginning of file but after checking
  parameter name.
- check retVal in profiling ULTs

Change-Id: I18a80545111d6efffd0a176340b3c3234f53af08
2018-02-28 09:43:47 +01:00
Dunajski, Bartosz ace8fb78d7 Improve CFL device ID ULTs
Change-Id: Iae13c3e7e9b3bd106cda1b22508acb8871468ec6
2018-02-27 17:57:18 +01:00
Mrozek, Michal 19c68a608f [1/n] Internal 4GB allocator
- Add new entry point in memory manager for internal allocations.
- Route to allocate32BitGraphicsMemory
- Add new enum to control memory region
- Change mm to memoryManager

Change-Id: I2ee069aa9baf7f69f652022e026569ec4fdb9d77
2018-02-27 16:35:12 +01:00
Dunajski, Bartosz b055265549 Missing device IDs: 10x BDW, 6x BXT, 2x CFL
Change-Id: I223006c9ca65e44cfd4042e6d933f331a156d278
2018-02-27 11:35:48 +01:00
Mrozek, Michal cd747b7b8c Change notify delay to use microseconds.
- Microseconds offer better precision.
- Some workloads require threshold less then 1 millisecond to work
efficiently.

Change-Id: I1a565049340fb6eeebe5c0a61ededae9959daca8
2018-02-27 09:10:49 +01:00
Mrozek, Michal 3da9df23a9 Flush DC in case shared objects are used.
- Due to use cases where one shared buffer may be mapped to multiple CL
buffers we need to flush DC between enqueues.

Change-Id: I05d7f844afe31d52a0004f5e2e5efa776f9dadbe
2018-02-26 15:51:06 +01:00
Mrozek, Michal 7255b17d6b Move register definition to common header file.
- It is not gen9 specific.
- Remove now obsolete header.

Change-Id: I03e7631c60e4263bcc52dca9f9df19fdba1ed702
2018-02-26 08:33:46 +01:00
Mrozek, Michal 2dedaf1521 ULT execution time improvements.
- Do not open file twice, loadDataFromFile checks if file is successfully
opened and returns 0 if not.

Change-Id: I8ca73b281ea13033746f8203f482d9af7a2739b7
2018-02-26 08:32:48 +01:00
Mrozek, Michal 52044281d1 Optimize binary caching ULT.
- after the change test if faster 5 times

Change-Id: Ib6fdc6853e8b431d152ab943052112c3425031d4
2018-02-26 07:02:44 +01:00
Milczarek, Slawomir 103b560655 User space AUBs to store GPU address in non-canonical form
This commit ensures that GPU address be stored to AUB file in decanonized form

Change-Id: I6deb98e59d8c23d47d945a84c57ce81c0c5e2ba4
2018-02-23 17:46:05 +01:00
Zdunowski, Piotr e3268f8a9c Revert "Allow custom props settings."
This reverts commit f43a04d3b2.

Change-Id: Ib4cd854c19fe96b0ea9d5e3782d1247c265927c9
2018-02-23 16:01:31 +01:00
Mrozek, Michal a891b23830 Fix profiling in device enqueue scenarios.
- Remove high part define as well.

Change-Id: Ie57b8e682507e4b620ad96de2b969dd0163315e0
2018-02-23 13:21:04 +01:00
Dunajski, Bartosz dd44a87d5f Map/unmap enqueue fixes [6/n]: Support multiple map operations
- Dont make cpu/gpu writes on read-only unmap
- Read/Write on limited map range only
- Overlaps checks for non read-only maps
- Fixed cmd type on returned event

Change-Id: I98ca542e8d369d2426a87279f86cadb0bf3db299
2018-02-23 10:45:06 +01:00
Mrozek, Michal 42baecd2d4 Make HW Helper abstract class.
- removes unnecessary dummy methods.
- removes unnecessary dummy methods tests.

Change-Id: I6179484ca9a5471637cb466ebe86f258b1e05e5e
2018-02-23 10:30:52 +01:00
Mrozek, Michal 0825c009cf Fix incorrect profiling handling.
- For context specific timestamps driver needs to use only low part

Change-Id: I579a68d8b3c1c4d5a8b40bf3a526963bea84fd11
2018-02-23 10:04:31 +01:00
Mrozek, Michal f90ebac12a Clean obsolete code.
Change-Id: I9551f7217924c7ea8f44a3322fc3096252c4d6f7
2018-02-23 08:10:12 +01:00
Artur Harasimiuk e7a43c55f2 ult: don't use mocks sources in projects
we should use library igdrcl_mocks to obtain any required mock

Change-Id: I2f813f0dc6a2a79e4cdd4eee0e24e1fef83610da
2018-02-22 18:08:02 +01:00
Mrozek, Michal 3c230f6302 Align createContext & createDevice DisableGpuTimeout flags.
- Make sure we program the same value for both calls.

Change-Id: I11b26fb56e60fff8f379827f6f6424a387b005d3
2018-02-22 15:55:30 +01:00
Artur Harasimiuk feb7d00e22 use mocks from igdrcl_mocks only
igdrcl_mocks should be single source for any Neo mock. Because this is
static library, only required compilation uint will be included in
resulting binary

Change-Id: I53019bf8cd86072ccb2be40e82c5136bd50ee15f
2018-02-22 14:32:59 +01:00
Milczarek, Slawomir 28a1eec925 AUB patch to move physical addresses to a lower region
Ensured canonical addresses not to go beyond acceptable physical addresses.

Change-Id: I4af3b7bd3d43ee86aabfdbddd0a21bc937986d43
2018-02-22 09:52:48 +01:00
Artur Harasimiuk 006e86d7a6 move mocks to igdrcl_mocks target
Change-Id: I6d9f87fc415ff70261344105e8808c6e91a960bd
2018-02-21 23:36:31 +01:00
Chodor, Jaroslaw bad0ba8ac8 Fixing backup/restore of asynch handler in ULTS
Change-Id: If2cbbaa30968ecec3c1bc0361ff86aa523122f21
2018-02-21 20:35:08 +01:00
Zdunowski, Piotr 46f3efd79c Allow cloc tests to be run from default location.
Change-Id: Ic5f8e34ff261b45100c98a6065b1aeaab3c4d665
2018-02-21 20:13:52 +01:00
Dunajski, Bartosz b4f79e036f Map/unmap enqueue fixes [5/n]: Unify offset calculation
Change-Id: I53eafe89532d43c5cf5139ed3fac0a87619dc7a3
2018-02-21 20:12:52 +01:00
Artur Harasimiuk c457088faf small cleanup in performance counters
- don't cast when not needed
- make sure initial state is always the same

Change-Id: Ib5b9a37884a928248a5400aff547615fd2fc819b
2018-02-21 15:59:31 +01:00
Hoppe, Mateusz 1207da92a3 Change max image3d dimensions for gen8
- gen8 has lower max image 3d height and width

Change-Id: Ibe94a24cba488a5ebf582992a5f7a4d5bad801f8
2018-02-21 13:17:03 +01:00
Zdunowski, Piotr f43a04d3b2 Allow custom props settings.
Change-Id: Idd442f429e8f413cde67781995e0c1b1c010bcee
2018-02-21 12:16:35 +01:00
Mrozek, Michal 60a8aa1b17 Add missing device caps.
Change-Id: I53958f185e7365872d6161b29cc5b62a0f8d8398
2018-02-21 09:00:29 +01:00
Artur Harasimiuk 8d8f8d33e1 enable clang 4.0.1
Change-Id: I431eeaeb08a1d48f178bfdef65446ca0ebd15299
2018-02-20 17:44:34 +01:00
Dunajski, Bartosz 5c7e50df48 Thread arbitration policy adjustments
Change-Id: I4bc5f421a68f564ac42a83019efce7a9c992636c
2018-02-20 16:35:26 +01:00
Dunajski, Bartosz f6825252fc Map/unmap enqueue fixes [4/n]: Return slice/row pitch
When queue is blocked on non-blocking call, map operation is added to
waitlist dependencies. Returning slice/row pitch for map image was skipped

Change-Id: I46f97590315e7aee7fbbfbdb615f383cdb666307
2018-02-20 14:30:35 +01:00
Artur Harasimiuk f805bd9741 perfCounters: querySize now depends on gfx core
Change-Id: I7ad493f87debd1c2c642f695f0e836f010c2aa0c
2018-02-20 13:04:54 +01:00
Dunajski, Bartosz 1292c3d533 Improve thread arbitration policy programming
Change-Id: Ibd764352e14d1a5112034b1c5a1fc6d6d67ebac0
2018-02-20 11:05:54 +01:00
Artur Harasimiuk 67c8d7a9ca properly link with instrumentation_umd
Linking is required for igdrcl_dll target only. Not needed for static
library. This reduces scope of targets where library is required.

Change-Id: Ie48ce1f299ef9d4e484081fe87254869c72ca042
2018-02-19 20:37:20 +01:00
Artur Harasimiuk 261a2ee865 Extract mocks into separate library
Change-Id: I37204fd192f7a74f29cfbe79632c975fc98f20ea
2018-02-19 19:42:42 +01:00
Milczarek, Slawomir c135bd4c42 CSR HW with AUB dump to accept images with no host ptr
This commit enables AUB dumps in scenarios with images with no host ptr
when resource lock is required to get CPU address and dump image contents.

Change-Id: I996efc5f520d0ac7b470870f7b4eeb9d2ef7b25b
2018-02-19 19:09:35 +01:00