Commit Graph

642 Commits

Author SHA1 Message Date
Hoppe, Mateusz 87f0dcda36 Source Level Debugger - add MI_LOAD_REG debug cmds
- add 2 MI_LOAD_REGISTER_IMM cmds in preamble when debugger
is active

Change-Id: I4dd46a3c01fc95feadf8a12728ce801efe506e05
2018-04-16 13:33:12 +02:00
mplewka 079f94cd2d Refactor ult for preemption enabling
Refactoring in ULTs around preemption:
    -refactoring ULTS to not fail with default preemption mode
    -fixing ULT memory leaks observed after enabling preemption
    -mocking getSipKernel in ULTs (to minimize ULT execution time)

Change-Id: I194b56173d7cb23aae94eeeca60051759c817e10
2018-04-16 12:55:30 +02:00
Artur Harasimiuk 37b0d07f8a infrastructure update
- added libva

Change-Id: I9d090f8ad7b6fdf58a3ab7d53381622d9fd985eb
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-16 10:34:57 +02:00
Artur Harasimiuk a129fc62ba enqueueMapImage tests cleanup
- remove unsused fixture BuiltIns fixture
- sort includes

Change-Id: Ieb09f4188eb1f250e30248c58db1f372a6ba5aaf
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-16 09:53:13 +02:00
Artur Harasimiuk dff4cdc37c adding manifest for automation
Change-Id: I81e3cefe3a0cd85605a8c0ca130823a3af1e7585
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-13 16:08:12 +02:00
Artur Harasimiuk 13f855d314 infrastructure update
- remove obsolete variable

Change-Id: I4b1c001c370682a049c9c55f1a6ce6c5aef967c0
2018-04-13 14:59:51 +02:00
Hoppe, Mateusz e898b9e218 Source Level Debugger: SIP programming in preamble
- program SIP_STATE when either MidThread preemption is enabled
or kernel debugging is active
- device creates correct sip based on preemption mode and
active kernel debugging

Change-Id: I3e43b66ad00d24c2389fa4fc766dd47044b6af80
2018-04-13 14:40:08 +02:00
Zdanowicz, Zbigniew 2ebd20d29e Infra update
Change-Id: I1d1e444ea06ce4e70481fb88e45415165585d134
2018-04-13 13:35:06 +02:00
Koska, Andrzej b0a6d9131a Making DSH and IOH always resident
Change-Id: Ib114b92cb5ee153f213c15c935f8f1d1cfeb46eb
2018-04-13 12:35:15 +02:00
Chodor, Jaroslaw d516cd6edc Don't expose mipmaps on 1.2 devices
Change-Id: Id7949266f29ef06ae71c88725298822055ca7c13
2018-04-13 11:22:33 +02:00
Jacek Danecki 1504d89571 switch to libva 2.x
- support for libva 1.x has been dropped

Change-Id: Ie5361b98cdd36144c9cd2a413c5fc2871655f333
2018-04-13 11:16:33 +02:00
Mrozek, Michal c911e249f4 Update internal
Change-Id: I8f3ddadf54517d3a06eea6fe66a418f4f29b3d8c
2018-04-13 09:59:16 +02:00
Mrozek, Michal 2d7e551695 Fix cmake.
Change-Id: I28272db5309bbb84b312522d9c9b0e433eb4a183
2018-04-13 08:43:42 +02:00
Mrozek, Michal a6459b0496 Add test for GET_DEVICE_VERSION + clGetDeviceInfo.
Change-Id: I3894552237bb1c56efcd4da651c9b9be71980cc0
2018-04-13 07:06:59 +02:00
ocldev d8fa90a817 igc revision update
Change-Id: I82f438716eec7745aac524e52d69aedbabed6fa2
2018-04-12 21:39:56 +02:00
Dunajski, Bartosz f40dc29ea1 Dont change multisampled surface state storage for R32_FLOAT_X8X24 type
Change-Id: I5e386057e4368e0d80bed496f2ddc19b5ae271a5
2018-04-12 15:47:46 +02:00
Mrozek, Michal 9fa22e7fd2 Add missing test for createSharedBuffer.
Change-Id: I1aefac11ba078d1d6cebe3b76c3fcd7d36972199
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2018-04-12 15:28:07 +02:00
Dunajski, Bartosz bf799d99e0 Update manifest and add missing decalaration in cmake
Change-Id: If00bdc48e05ea2e00b871cca1f85722848f0378c
2018-04-12 14:28:36 +02:00
Artur Harasimiuk 97fb72a9a4 fix dependencies for elflib and tbx unit tests
these tests should be executed after unit_tests target is complete to
ensure everything is ready in environment and to avoid sporadic failures

Change-Id: Ib9f9fdb9f4135441d17761c8dbee0868f1be404b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-12 12:51:12 +02:00
Jacek Danecki e43c345e07 sharing: add context tests
Change-Id: I1dc504f6931ab0ae5645e9460ae0c0284704404c
2018-04-12 11:26:58 +02:00
Artur Harasimiuk 6b648bca35 ULTs cleanup
remove redundant EXPECT_'s

Change-Id: Ibbb00504f3f84c16e3bd880ad00d2e814ce82d5c
2018-04-12 10:46:29 +02:00
ocldev e913882169 dependencies update
Change-Id: I3232904e8dae7c8248991b46f13494442c33ad49
2018-04-12 10:41:56 +02:00
Mrozek, Michal fbad57e843 Add tests for not tested functions.
Change-Id: I02f14d8176fc53eb12b90d5b6145672ef01ccdb0
2018-04-12 10:32:54 +02:00
Dunajski, Bartosz acf97999f3 Force Kmd Notify timeout for Windows machines running on battery
- This is to improve battery usage while waiting in busy loop on CPU
- New Kmd Notify helper to maintain dynamic parameters
- Ask OS about battery status on longer waits
- Pick different timeout when using battery and optimization is disabled

Change-Id: I5f9c8c5a9c635652aac27c707f2b55933947a7fb
2018-04-12 10:03:10 +02:00
Jacek Danecki 5fdd853506 fix test for validateObjects
Change-Id: I5aa4dd47b6c406b62807d671a8b40676c21d4127
2018-04-11 21:29:52 +02:00
Mrozek, Michal 73b733440d Update infra.
Change-Id: I2961fc458500122631ad0511baaee1bca670dcbb
2018-04-11 16:01:24 +02:00
Mateusz Jablonski 936f42c21a Initialize all variables used in test that fails sporadically
Change-Id: Ifd59c4111390a7855a45ae956a5b4ce3015f2401
2018-04-11 15:13:57 +02:00
Mrozek, Michal cae66f7781 Optimize HelloWorldFixture setUp.
- Do not memset memory.

Change-Id: Id031cad3a265d1a79d6772ca3396265b510e6148
2018-04-11 13:45:24 +02:00
Mateusz Jablonski 881895bd2a Stop querying gpu frequency during each profiling data calculation
change type of profiling timer resolution in device info to double

Change-Id: I41a67ecf61cd3bdc5a997b1f083b9998063f4f7f
2018-04-11 12:00:41 +02:00
ocldev a3b782ffc7 gmmlib revision update
Change-Id: I977b66fbef8b44520b422f7d3a9dadaad33bf185
2018-04-11 11:13:10 +02:00
Artur Harasimiuk 5fb22eeae1 stop using ld.so.conf in postinst scripts
Change-Id: I84ef7407fdc9bef7d4f193728fa41105fe3d9a9a
2018-04-11 10:49:24 +02:00
Artur Harasimiuk 857d0293e1 don't zero-initialization of bitifieds
there is problem with Clang 4.0 and Debug builds when bit field
initialization is used. depending on structure size we may get some bits
still set.
this bitfield comes from external component, so we don't have full
control over them. use of memset to clear structure is workaround

Change-Id: I35062517107fde37e503f1bf8909db856d566254
2018-04-10 23:26:25 +02:00
Chodor, Jaroslaw 1c3ff8a15b Adding mipmap support in sampler
* sampler mipmap lod/filtering programming
* sampler queries
* clCreateSamplerWithProperties
* fixed point numeric type (e.g. U4.8)

Change-Id: I6b496e6f067f6232bab464ab3ee74af8b00904d3
2018-04-10 22:15:09 +02:00
Artur Harasimiuk c408bb5d8d Revert "package: remove obsolete scripts"
This reverts commit 049b202c6c.

Change-Id: I51ea65dcd086347745ffcf4a97366b3db1646817
2018-04-10 17:45:51 +02:00
Cetnerowski, Adam b39749937a Documentation - clarification on linking applications
Change-Id: I3997ec56b6b825a08d4e4b6e8c2e3aeff051822a
2018-04-10 16:46:20 +02:00
Zdanowicz, Zbigniew e51cb6bd0b Separate struct EnqueueOperation declaration and implementation
Change-Id: I537660867a1c98f957280237c14b7a1554fce3db
2018-04-10 16:36:48 +02:00
Jacek Danecki 2374b27bf5 add test for setting kernel arg with shared image
Change-Id: I7928cb9f981a74b72ddfa0ad92a719fcca19f814
2018-04-10 16:00:55 +02:00
Mrozek, Michal 86e000f67a Do not use simplified Mocs Table on gen8 devices.
- On gen8 devices we are not using index to control caching, but we program
caches directly
- In such case we need to rely on values reported from GMM instead of using
Kernel Mocs indexes.

Change-Id: I6c030847509d8f39f63ac98ebd3ebd0b0907e625
2018-04-10 15:43:40 +02:00
Mateusz Jablonski 5d296f15e3 Validate image 2d sizes unless parent image is nv12
when any check in Image::validate method failed then early return

Change-Id: Ib28110ac493f5930ffa99fa7463443e9e7fc8fcf
2018-04-10 11:41:00 +02:00
Mateusz Jablonski 1843b23692 Fix image 2d validation
check image sizes only for image without parent mem object

Change-Id: I73189f1c73653f609c6e4d7dcb7a85d06a2f858a
2018-04-10 09:39:52 +02:00
Artur Harasimiuk a9b0a4868c Infrastructure update
Change-Id: I70659a32aa6cacba0793cd578815e007f8a05217
2018-04-10 09:26:33 +02:00
Cetnerowski, Adam dd34f7b349 FAQ.md - add information on hiring
Change-Id: I6336c519d5f03a22de4ca4420592a327f93b0879
2018-04-10 09:14:53 +02:00
Dunajski, Bartosz 87f8f735f9 Move KMD Notify logic from CSR to specialized helper
- Decission about timeout enabling and value moved out of CSR
- Timeout multiplier is no longer Linux specific

Change-Id: I6858fe2f811ef13802b95e0470e310210a9dea8b
2018-04-10 08:16:11 +02:00
Chodor, Jaroslaw 10ada58bd6 Fix for context lifetime management
Don't destroy context if any related memobject is alive

Change-Id: I7d4776b6bb16373adb367d2ab4e249c62353afbe
2018-04-09 17:23:29 +01:00
Hoppe, Mateusz 9a86f86a24 Source Level Debugger device debugger active flag
- device flag indicating if debugger is active
- when active, proper sip kernels must be used

Change-Id: I678367cdf8fab5d4b5770e3f471246ff6d6bd112
2018-04-09 14:02:45 +02:00
Chodor, Jaroslaw 6bf4135def Fix for externally synchronized events
When inheriting task count from parent events,
don't take into account externally synchronized events

Change-Id: I52d861e482669a18e2aca499c813716bb4951b74
2018-04-09 12:12:58 +02:00
Mateusz Jablonski ac45ff74ec Fix creating image from image
- allow creating image 2d from non NV12 image 2d
- validate image descriptor and format when create image from image

Change-Id: Ie7887e75f1450fc723dc1d1ae9ff5639d88835fc
2018-04-09 11:29:11 +02:00
Cetnerowski, Adam a858ff5077 LIMITATIONS.md - mipmap extensions are now enabled
Change-Id: I0c6b08ca541f79b1438de4ac534b38d4ec329403
2018-04-09 11:19:58 +02:00
Mrozek, Michal ffa9b097f5 [26/n] Internal 4GB allocator.
- change the way we handle blocked commands.
- instead of allocating CPU pointer and populating it with commands, create
real IndirectHeap that may be later submitted to the GPU
- that removes a lot of copy operations that were happening on submit time
- for device enqueue, this requires dsh & shh to be passed directly to the
underlying commands, in that scenario device queue buffers are not used

Change-Id: I1124a8edbb46777ea7f7d3a5946f302e7fdf9665
2018-04-09 10:47:37 +02:00
Jacek Danecki 100f559daa sharing: add context tests with MockSharingBuilder
Change-Id: I1418bc81b06b73013699204365eaab129f86665c
2018-04-09 01:08:10 +02:00