Commit Graph

1632 Commits

Author SHA1 Message Date
Mateusz Jablonski
c8748b77a0 Simplify memory manager API [1/n]
pass struct with properties to allocate graphics memory methods:
for protected methods use AllocationData
for public methods use AllocationProperties

Change-Id: Ie1c3cb6b5e330bc4adac2ca8b0bf02d30ec76065
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-06 15:09:25 +01:00
Woloszyn, Wojciech
ace20aba5b Add slm size to capabilityTable
Change-Id: Ia8839b2268069ac3815ff21cf247deefbf3b5335
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com>
2018-12-06 13:43:39 +01:00
Dunajski, Bartosz
52fbf6473b Minor refactor of CommandQueue class
Change-Id: Iab64ad133fe96402d9577b64380472729f0190a8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-06 12:45:25 +01:00
Mrozek, Michal
a0f2723589 Fix MSVC warning.
Change-Id: Ib3a732670a046df324b3518e1359342dd57a2829
18.49.11968
2018-12-06 10:24:57 +01:00
Maciej Dziuban
43fd32b3ad Enable aggregating command buffers with multiple osContexts
- Store inspectionId for each osContext in GraphicsAllocation
- Pass osContextId to aggregateCommandBuffer and use it to select inspectionId

Change-Id: I2c377ad7577a8c882cc89c1205430cb581c2c0d5
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-12-06 10:11:07 +01:00
Dunajski, Bartosz
a35e3b792d Return valid TaskLevel for UserEvent and GlSyncEvent
Change-Id: Ic2bcb64e92e07b94c1af47b109af1274bf6c8c3e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-06 10:09:46 +01:00
Mrozek, Michal
2ca3e4c4e5 Ensure that allocations in 4GB heap have non 0 GPU address to patch.
- That address is used later to deduce that allocation is non null
- If we have address 0 it is incorrectly detected as null ptr on the GPU.

Change-Id: I45e1bb31f1788528327da35bfdcc13f3fa6beec2
2018-12-06 09:06:38 +01:00
Maciej Plewka
bb7f8d9b88 Disable compression when using hostPtr
Change-Id: Ifa066a3824f51b4ad5957de9fe8590853c620587
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2018-12-05 16:07:15 +01:00
Woloszyn, Wojciech
6a1a28c687 Add new CFL device IDs
Change-Id: I1846d4d76152467e257f684e68b5a8d12f7ac889
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com>
2018-12-05 16:05:53 +01:00
Katarzyna Cencelewska
a99939b08f Fix dumping of cl_cache
- change creatOsReader and constructor of RegistryReader
- move body of constructors of RegistryReader from .h to .cpp

Change-Id: I57cbf51a57cb1cb7f9cd2473af766a79cf2035d2
2018-12-05 15:02:04 +01:00
Pawel Wilma
fe228ea5f7 Use GPU address in calculateNewGSH()
Change-Id: I82add7aab4b26444f288a9c4dbce6328578a03d2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-12-05 10:33:35 +01:00
Hoppe, Mateusz
13f23dffdb Refactor UltCommandStreamReceiverTest test
- remove unnecessary dynamic allocations

Change-Id: I2580244c91fd3f6864c55807090823556b4c7906
2018-12-05 07:13:11 +01:00
Milczarek, Slawomir
1bf98c7f80 Added support for expectMemory call from aub stream
Change-Id: I8acf27eff8b2f38dcb8d9873e03c35bfab6f3298
2018-12-04 12:03:36 -08:00
Pawel Wilma
835aa09e9c Decanonize general state base address
Change-Id: I9c0bc92f5e11467d13c04fee4add85193e2a3c3f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-12-04 17:02:04 +01:00
Hoppe, Mateusz
e5a8616d26 Test Lrca initialization
- debug mode LRI must be present

Change-Id: Idd9f9a85b9610177cb7ca378e37178ce333aa8b2
2018-12-04 15:54:54 +01:00
Dunajski, Bartosz
b728526c4e Allow Device creating multiple CSRs [8/n]
Use OsContextId instead of DeviceIndex for residency

Change-Id: Ib2367b32b5b3e320252d8254f1042f1c3d497068
2018-12-04 15:36:59 +01:00
Dunajski, Bartosz
3dd13e08a6 Manifest update
Change-Id: I6f55e605c0e7b05e9a61a37c45ab59088913c8b3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-04 12:13:14 +01:00
Mrozek, Michal
44308ae69c Update test kernel.
Change-Id: If06f65fbd39b03e6bd6585fb02188618251ee8e7
2018-12-03 15:59:22 +01:00
Mateusz Jablonski
7747db13e1 Deferred deleter: move to next deletion if current deletion cannot be applied
Change-Id: I7067bc2bc74f92518a33ccb9f9dce9b57cc28637
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-03 15:24:35 +01:00
ocldev
12c586e1d1 dependencies update
Change-Id: I640a1a5c8206440eaec37d1007dc743b3bb5ad2b
2018-12-03 14:41:16 +01:00
Mrozek, Michal
38fb8cd9c3 Refactor mmio programming.
Change-Id: I2ec9294b800adcd537f03d69fd4ba4e015e8db7a
2018-12-03 14:40:00 +01:00
Artur Harasimiuk
91c4a952a7 infrastructure update
Change-Id: I6621410cfefe118b39ab6c19edf0e39b5e35e279
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-12-03 12:45:52 +01:00
Mrozek, Michal
09f3f4e856 Move heap32[0] to heap32[3].
Change-Id: Icea6eef5646894283725e29ce7ee930284af2673
2018-12-03 09:32:36 +01:00
Dunajski, Bartosz
1f7448425d Allow Device creating multiple CSRs [7/n]
Create and initialize all supported Engines

Change-Id: If0adf1a06b5005ef2698cebc6f1aaa6eacf562ec
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-30 15:48:44 +01:00
Venevtsev, Igor
54269d9791 Turn on Windows OS support for Local Memory
Change-Id: I83ff6d787d18a621d6213fbe32166d00d3e31ea9
2018-11-30 15:29:39 +01:00
Dunajski, Bartosz
38416a2d83 Manifest update
Change-Id: Ibe9707f16868fadf48824a31c4b8dae7c3364142
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-30 12:43:02 +01:00
Mrozek, Michal
3474b9df7c Update infrastructure.
Change-Id: I2fa4b80be576f257355d657db0ec11561ce4b86f
2018-11-30 12:02:28 +01:00
Mrozek, Michal
8fdb79819e Update kernel source.
Change-Id: I2985f35eefc799d9c322ebd96dd1ace4ef9aee72
2018-11-30 09:09:14 +01:00
Zdanowicz, Zbigniew
323f765659 Fix correct number of subslices in ULT when no subslices argument is given
Change-Id: I09090c328c8966106bc42e37aa1869c56254a263
2018-11-30 08:42:22 +01:00
Milczarek, Slawomir
80fa9d0260 Decouple aub stream memoryFree from makeNonResident
Change-Id: Ic4614441aff131356ce3ec03330d7dc42b5b0ecb
18.48.11934
2018-11-29 08:28:21 -08:00
Dunajski, Bartosz
0131e66a70 Allow Device creating multiple CSRs [6/n]
- Introduce default Engine query
- Improve Deferred Deleter usage
- Remove Tag Allocation from Device

Change-Id: Iaa88d8dc0166325acf9a157dcd2217ea408ee285
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-29 16:20:13 +01:00
Katarzyna Cencelewska
3e800d55e6 Add support for dumping cl_cache to specified directory
Change-Id: I782ff17d0d4b17d3d26db543eb7ae222f75ff8a1
2018-11-29 13:59:26 +01:00
Zdanowicz, Zbigniew
7dbd0ea4f3 Move Scratch Space functionality to dedicated class
Change-Id: Ic7655c4b971513961aba6823478a139ffc943466
2018-11-29 11:55:56 +01:00
Artur Harasimiuk
a9d3575919 infrastructure update
Change-Id: I55644be5e63aa3484203dd401a9443966a4ebb04
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-29 10:04:39 +01:00
Artur Harasimiuk
4284217dea on Linux detect gmmlib using pkg-config only
Change-Id: If2c4350ff9e92ec5dd6b9588a00906aecae62575
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-29 09:24:52 +01:00
Maciej Dziuban
1cd59e927a Store residency status for each osContext separately
Change-Id: I2f17f68dcef6db7b596a69579a435b7ccd24e44b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-11-29 08:08:25 +01:00
Mateusz Jablonski
6be8aee45d Restore deferrable allocation deletion
Change-Id: Ie5e87fa6551b7ee33579fcd9487c7e9c3bd4ab95
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-29 07:48:19 +01:00
Dunajski, Bartosz
d39309adf2 Use const values instead of constexpr from std::array::size()
Change-Id: I705888b77801cd32487c4d53fc320cf839ec9079
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-28 22:57:33 +01:00
Milczarek, Slawomir
42ba6c10fc AUB CSR with an option to create and operate on hardware context
Change-Id: If8e060ef184d6c077e09741144ef870c96360645
2018-11-28 09:24:18 -08:00
Artur Harasimiuk
3cfb5ef2e2 fix dependencies update
Change-Id: I2c383987da8b60ea2905dceb2ec436ffbce87a4e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-28 14:48:11 +01:00
Dunajski, Bartosz
3e7fa3754c Replicate OsContext to CommandStreamReceiverWithAUBDump
Change-Id: If2f83d01d58891209c6cf82f47e5634f8d348de4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-28 13:11:52 +01:00
Cetnerowski, Adam
d54e8c84ad ULT renaming: clCreateSubDevice tests
Change-Id: I185edf0d7d12bdbd29e1b0a253e8f6197014f21f
2018-11-28 12:00:23 +01:00
Maciej Dziuban
ef33c57245 Initialize SipKernel after all devices are created
Change-Id: Iec5de27fd1e5106c78de0bc5c1861a894162b274
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-11-28 11:36:54 +01:00
Artur Harasimiuk
76f5420700 infrastructure update
Change-Id: Ib980f8ed20e241fc23b7eb303acd3ac8683f155f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-28 11:14:50 +01:00
ocldev
5a2e59459a dependencies update
Change-Id: Iec8f95f2ceb74131429b0d035b4533ad5d130885
2018-11-28 09:12:07 +01:00
ocldev
0c13f6dbe9 igc revision update
Change-Id: I577d485d7c09dd4ed25837d953b125c64a0da360
2018-11-27 17:33:04 +01:00
Mateusz Jablonski
5df48bf33a CMake: set preferred platform only when that platform is supported
Change-Id: I33a426f001422c3f82ac7d3b3d37ec5e65c41129
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-27 17:18:47 +01:00
Dunajski, Bartosz
b0de2a11d2 Set OsContext as reference
Change-Id: I3b682fabde9c2ddb2c33a95aef77bf6ce400a21f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-27 15:32:14 +01:00
Cetnerowski, Adam
72689fb165 ULT renaming: clCreateSamplerWithProperties
Change-Id: I8648b4c65986680942e0f4824dd736d5265b3499
2018-11-27 15:09:57 +01:00
Piotr Fusik
87bb6afa56 Move stamps allocators from memory manager to CSR.
Change-Id: Ib399e462cdddad89fcc470df4c4f0f5e4591a6b2
2018-11-27 14:52:06 +01:00