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
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
Artur Harasimiuk
6b648bca35
ULTs cleanup
...
remove redundant EXPECT_'s
Change-Id: Ibbb00504f3f84c16e3bd880ad00d2e814ce82d5c
2018-04-12 10:46:29 +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
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
Zdanowicz, Zbigniew
9bc11a7f48
Adjust PLATFORM values for a given Product Family
...
Change-Id: I4522df78060861b6f91ac5f125cf6b11023f1509
2018-04-05 10:07:38 +02:00
Mateusz Jablonski
79a0e3253e
Enable transforming image 3d to image 2d array
...
Change-Id: I8fdc6899780481bdebeaf858a330e9dea822bda3
2018-04-05 09:10:54 +02:00
Zdanowicz, Zbigniew
b6b92ae808
Create GpgpuWalkerHelper class
...
Change-Id: Ia9aa7b816356aff57234b46ea3509b6bd9b7f14b
2018-04-04 16:42:16 +02:00
Dunajski, Bartosz
d51f2cd1ec
Adjust KMD Notify delay on SKL
...
Change-Id: I2fb2b5bb79e786a0902747bef2720359f0a30da3
2018-04-04 08:49:24 +02:00
Dunajski, Bartosz
fbf00d38bb
Improve KMD Notify timeout on BXT, CFL, GLK
...
Change-Id: I80a2ef94cc989b7d6e1ee824ce091418336d9337
2018-04-03 12:29:49 +02:00
Jobczyk, Lukasz
9700c9bc42
Add missing devices IDs in master branch
...
Change-Id: Ie73cf42f1d7ef6bb414630016d85e27038fab03b
2018-03-30 14:41:51 +02:00
Artur Harasimiuk
cef24fdd4d
removing MMF from DeviceTest
...
Change-Id: I023108c137e21ec63bcd3a17ad69489282084591
2018-03-30 08:46:03 +02:00
Zdanowicz, Zbigniew
50ef7c0000
Adjust default engine type in Linux
...
Change-Id: I2cc7e4078e830f0844d6dc6fe7b4bfcdf92b0095
2018-03-29 22:56:34 +02:00
Mrozek, Michal
296c527a0b
[23/n] Internal 4GB allocator.
...
- Align SIP kernel & STATE_SIP programming.
- on Linux address may be non 0
- on Windows address is expected to be always 0
Change-Id: I385ed59ef652382f3f17d1afe55f6050d07ed1f4
2018-03-29 12:21:46 +02:00
Dunajski, Bartosz
f2b96fa508
Adjust KMD Notify timeout for KBL
...
Change-Id: I8415bbe491bab793e8da57958c0cd198aa91fe2f
2018-03-28 16:16:09 +02:00
Dunajski, Bartosz
dcce788ace
Enable KMD Notify mechanism on Linux for BXT,CFL,GLK,KBL
...
Change-Id: I361237055a11037aac5c0b0c07b83be4884de8f4
2018-03-26 15:43:28 +02:00
Dunajski, Bartosz
0e41bc7f71
Enable KMD notify on Linux for BDW and SKL
...
Change-Id: I465c7610cb03860a28a7246e376ea8183d2aee9b
2018-03-22 22:11:29 +01:00
Dunajski, Bartosz
9486dba6dd
Kmd notify improvements [2/n]: Use QuickKmdSleep for sporadic waits
...
- 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
2018-03-22 17:09:16 +01:00
Dunajski, Bartosz
516082e7c5
Kmd notify improvements [1/n]: Quick KMD sleep optimization
...
- 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
2018-03-21 20:41:33 +01:00
Hoppe, Mateusz
5df8697100
Kernel Source Level debugger support 3/n
...
- debug kernel tests
- removed bti and debug sip surface size from sip kernel
Change-Id: I25b8668df0e29e70a5b8d21828dc36ab3ba4fded
2018-03-20 13:50:26 +01:00
Mateusz Jablonski
e21e220540
Cmake refactor part 16
...
igdrcl_tests: define gen specific sources in subdirectories
libult: append gen specific sources needed to link hw tests
Change-Id: I72505729f1ff27439cd43904688de9c2cfbe080f
2018-03-16 14:07:37 +01:00
Hoppe, Mateusz
2fb9bc2e2e
Temporarily disabling sip kernel generation for ULTs
...
- disabled two tests
- added new tests for SipKernel
Change-Id: I89ca37c561a04e9ab10469ae708aee5a05f0da33
2018-03-13 16:55:41 +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
Zdanowicz, Zbigniew
533afe472a
Program preemption mode in Interface Descriptor Data
...
Change-Id: I7fce731d71dd0b6dc8505ebfe45d24c65898a08b
2018-03-05 09:36:53 +01:00
Dunajski, Bartosz
ace8fb78d7
Improve CFL device ID ULTs
...
Change-Id: Iae13c3e7e9b3bd106cda1b22508acb8871468ec6
2018-02-27 17:57:18 +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
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
a891b23830
Fix profiling in device enqueue scenarios.
...
- Remove high part define as well.
Change-Id: Ie57b8e682507e4b620ad96de2b969dd0163315e0
2018-02-23 13:21:04 +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
Dunajski, Bartosz
1292c3d533
Improve thread arbitration policy programming
...
Change-Id: Ibd764352e14d1a5112034b1c5a1fc6d6d67ebac0
2018-02-20 11:05:54 +01:00
Dunajski, Bartosz
87ed3d4fff
Improve page table manager initialization
...
Change-Id: Ifdd74bf93a93fcdecaae5b1276c0fa83a9664987
2018-02-15 13:31:50 +01:00
Dunajski, Bartosz
3a305018ba
GLK device ID support
...
Change-Id: I6cceb83739b39b6e97fa3c2d938739b204e23f22
2018-02-08 08:45:34 +01:00
Dunajski, Bartosz
dbe3bdb8a3
Append LRI params for Translation Table callbacks
...
Change-Id: I8f0f81f9c49edf83f76b38cf886143ac018ec400
2018-02-07 13:04:20 +01:00
Dunajski, Bartosz
bdee42ca16
devices.m separation for Linux
...
Change-Id: Ia8e430db4dfcefc1b19e23e9cd7113bf87f0a7af
2018-02-06 15:24:20 +01:00
Zdunowski, Piotr
6ef0581a02
Device caps fixes.
...
Change-Id: I07cfd98f525ce2b87bc5f96060ed31fb9fc48783
2018-02-06 14:24:16 +01:00
Jacek Danecki
73e2e72d07
waSamplerCacheFlushBetweenRedescribedSurfaceReads fix
...
Change-Id: Id322f58ce6997c8710ed2d8faf4f3c3f3d2ef0c3
2018-02-01 15:37:18 +01:00
Mateusz Jablonski
285ecbd9cb
Add method to append gen specific surface state params
...
Add method to check if image format has alpha channel
Change-Id: I138f766c17654917b0357b1ec2250a8489738bef
2018-01-31 17:18:41 +01:00
Mateusz Jablonski
4aaa726758
Add method to add gen specific sampler state params
...
Change-Id: I6ea3747deabc9bc2aca38dce1ddfcca5158b9f41
2018-01-31 08:44:00 +01:00
Mateusz Jablonski
9477f03f34
Program media sampler
...
Remove not needed includes in unit_tests/libult/genX.cpp files
Change-Id: Iac9957d0b148f80ba9432cabb881c3560d77702f
2018-01-24 15:57:51 +01:00
Mrozek, Michal
0066daf495
Add support for deletion of allocations that may be in use by GPU.
...
- fix deletion of constant program surface
- fix deletion of global program surface
- move program_data tests to shared code
- make program_data tests SKU agnostic
Change-Id: Icf3e9fd035416072699336c4f86e49703ef48cc5
2018-01-19 12:34:49 +01:00
Mateusz Jablonski
13ac81f465
Change pipeline select programing
...
- Program one PS with gpgpu selection and media sampler
- Program PS only when media sampler requirement changed
or when preamble was not sent
Change-Id: I85ba3f74087733e79d048e120aeb8b4b04796e00
2018-01-18 14:39:47 +01:00
Zdanowicz, Zbigniew
602474f868
Command streamers should use device default engine type
...
Change-Id: I7286f15ba78001729ea489a43576d96f109d44f0
2018-01-16 22:37:44 +01:00
Mateusz Jablonski
be6f211910
Add pipeline select mask bits getter in preamble helper
...
Change-Id: I783c911ad69916a979e58256a8705d22a86f6a41
2018-01-16 16:51:17 +01:00
Zdanowicz, Zbigniew
474b6a2a23
Enable Mid-Thread preemption for Gen9
...
Change-Id: Iacec1c8fa899d4fbf0cbb9cc292990546871ca6a
2018-01-16 12:55:35 +01:00
Chodor, Jaroslaw
d290955a57
Preemption - SIP command programming
...
Change-Id: I4c7c805a77a9decb8f13d39055bfb2590209ca3e
2018-01-10 16:43:29 +01:00
Zdanowicz, Zbigniew
8efafc1efb
Adjust default engine type according to feature availability
...
Change-Id: I1645dfabe69a7697c1e17950c4d82e77f98984bf
2018-01-10 13:53:15 +01:00
Wojciech Woloszyn
8ece8ab420
Enable CFL
...
Change-Id: I268a6d86fe69859064698d7de0c4c9949fda29a4
2018-01-10 00:56:44 +01:00
Chodor, Jaroslaw
f235ba015e
Refactoring preemption tests
...
Change-Id: I7e34f12e7d974e24cc63aaaad77d293b744d1c74
2018-01-09 09:50:00 +01:00