Cetnerowski, Adam
891f5c6177
ULT refactoring: get device info tests
...
- split out special cases
- unify naming convention
Change-Id: I28615c05068db04bc3929e427bc8f2ed77052593
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2019-03-12 20:27:16 +01:00
Piotr Fusik
2c524f94a4
Const correctness.
...
Change-Id: I68be05e6c1c3c9c0dc33ba8252a0a5bbeefc06a4
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 18:11:35 +01:00
Mateusz Hoppe
568b6c839e
Move DrmMemoryManager fixtures to header
...
Change-Id: I9e8a9f9cb6e27a7b28a4a50a4bd42640bd6ca628
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-12 16:10:18 +01:00
Piotr Fusik
ec72787b98
Remove MemoryManager::allocateGraphicsMemoryForHostPtr.
...
Change-Id: I629f2299a183fc135135dbaff89216b966554a95
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 15:51:32 +01:00
Milczarek, Slawomir
5fabd6e822
Fixed unlock resource in CSR HW with AUB dump mode
...
Change-Id: I186eb06a3a7ed50c8a18a4d08f3b5d2e991d7fcd
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-12 12:46:48 +01:00
Mateusz Jablonski
c0325b5d19
Don't copy memory to allocation if allocation has no storage
...
Change-Id: I3238bec02e5c1ec5877537318bb563e3d0f3799d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-12 09:44:17 +01:00
Venevtsev, Igor
74f1896c03
Expose GfxPartition to shared MemoryManager
...
Change-Id: I039e463f90e88c0ed8e9505cc770c373420ff567
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-03-12 09:25:50 +01:00
Zbigniew Zdanowicz
de212138b7
Use GPU address of SVM allocations in kernel functions
...
Change-Id: I65fb22df2e005468956af1369b0b822cdaeaedf1
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-03-12 09:24:44 +01:00
Stefanowski, Adam
341fcfc091
[1/n] Move Hardware Info to Execution Environment
...
- remove gmm_environment_fixture
- remove hwInfo parameter from ExecutionEnvironment methods
Change-Id: Ieb0f9b5b89191fbbaf7676685c77644d42d69c26
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-12 08:39:26 +01:00
Pawel Wilma
a1bfbcf293
Fix typo for DeviceBitfield
...
Change-Id: I21718950f3d1b17ad507af76762153aefb090615
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-03-12 08:21:14 +01:00
Maciej Dziuban
79d0878e64
Wait for resource not being used in freeGraphicsMemory
...
Change-Id: I201d914569fc0cf6f9eb616d456a670b0b8741ab
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-11 12:18:38 +01:00
Mateusz Jablonski
3f690e1758
Dont unlock/evict wddm allocations during releasing memory
...
Change-Id: Ib934867886a883a22fde2f0c03e16338dc215e65
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-11 10:20:09 +01:00
Jobczyk, Lukasz
4386d10e40
Reverse logic of creating Memory Manager - part 2
...
-remove MM initialization from Device::CreateEngines method
Change-Id: Iaee268b002cb0f0a4edd07907c12da6dd6076b3a
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-08 14:52:55 +01:00
Piotr Fusik
5c60db1706
Remove dead code.
...
Change-Id: If6c35affea9bfa563ce7ab4e324a2e1d994e83bc
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-08 12:15:13 +01:00
Jobczyk, Lukasz
878fd43a1a
Reverse logic of creating Memory Manager - part 1
...
-remove CSR::createMemoryManager method
-create MM from platform before creating devices
Change-Id: I0e7f091c53b0e60ae7101e82a305253af626330e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-08 09:47:29 +01:00
Mateusz Jablonski
5b22a50b28
Allow to create WddmAllocation with multiple handles
...
Change-Id: Iac9df91b08a6ce610b985586dfb6b5f63dc668cb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-07 13:29:00 +01:00
Filip Hazubski
880e891040
Move getDevices to a separate file
...
Change-Id: Ia5ea548ce233d332a040fd3a50592da294d3d612
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-06 17:59:25 +01:00
Piotr Fusik
a2c05a241d
Set allocationType in constructors.
...
Change-Id: I66738be1239acdaf282f813aed46066bc5023112
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-06 16:07:28 +01:00
Mrozek, Michal
06a7d8c32e
Decouple Buffer Object and Exec Objects Storage.
...
Change-Id: Id47c071372959d43ccf3034917f2a5c39b707b38
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-03-06 13:18:13 +01:00
Dunajski, Bartosz
f24b428cf7
Improve HardwareContextController creation
...
Change-Id: Iba929a2b4fcd993b38dd674be578aad0a481e8de
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-06 12:31:20 +01:00
Mateusz Jablonski
e721f7c08c
Cleanup Wddm interface 3/3
...
don't pass the entire WddmAllocation when only handle is needed
Change-Id: I208a64c81767589a2ac8aba0e717d54426209ecd
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-06 10:03:38 +01:00
Mateusz Jablonski
4605a48170
Cleanup Wddm interface 2/n
...
don't pass the entire WddmAllocation to createAllocation methods
Change-Id: Ibd4c684a362edbe3b2c520b73b71246fed5a9399
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-06 09:30:14 +01:00
Cetnerowski, Adam
fe07ede28d
ULT renaming: get device id tests
...
Change-Id: Ied671060d99649d4915ca0acd9cea28aedc8e8d7
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2019-03-06 08:10:16 +01:00
Mateusz Jablonski
03527f496d
Cleanup Wddm interface 1/n
...
pass const D3DKMT_HANDLE * to makeResident/evict/destroyAllocation calls
remove gpuPtr from WddmAllocation
Change-Id: Ia5ca162946a2d893d4f56c37f8027eab02af90b0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-05 17:28:29 +01:00
Mrozek, Michal
28279bddd5
Decouple residency from Buffer Object.
...
Change-Id: I0c3413d9c53aecd814e84d588bdea15e34b7320d
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-03-05 15:14:43 +01:00
Cetnerowski, Adam
ee7eeba67d
ULT renaming: get device and host timer
...
Change-Id: I11d3291b1e043ce75aa4e1aa59968dab9bbbbd8b
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2019-03-05 14:32:45 +01:00
Mateusz Hoppe
54b0ac2f5c
Fix parsing in settings file reader
...
- parse stringstream after "=" to the end
Change-Id: Idfc7d9770630d6bd044508a1d0d1bc1fc1cdc7af
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-04 15:56:48 +01:00
Mateusz Jablonski
7e3b6d2d90
Move definition of maxOsContextCount to engine_node.h
...
Change-Id: I1ed252e9bbf382b449c7751061f9df42ded8b797
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-04 15:34:05 +01:00
Maciej Plewka
e53a8e8709
Add postSyncAddress to flush after walker
...
Change-Id: I7fdfaf8e0acc365998cc74306ab715ea3d9c7d72
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-04 14:47:53 +01:00
Mateusz Jablonski
00184c4e2e
Rename fastLeakDetectionMode -> fastLeakDetectionEnabled
...
Change-Id: I5a35b2bb9a3ccea9b8e52660f3713b925fe5f607
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-04 11:51:06 +01:00
Mateusz Jablonski
24cb171d2a
Rename DevicesBitfield -> StorageInfo
...
Change-Id: I2f763be185350de7b76838c9f101a1f8026f42c9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-04 11:44:04 +01:00
Milczarek, Slawomir
0a927f8cdc
Fixed CSR HW with AUB dump in AubStream mode
...
Change-Id: I7ec8b9e681ec9727fd3a0d974bed4f65ee49f192
2019-03-04 10:01:37 +01:00
Maciej Dziuban
fb78677d8d
Add function for ensuring command buffer has allocation with given size
...
CommandStreamReceiver::ensureCommandBufferAllocation
Change-Id: Icb48c9beff4f087addda75e97b90d86e8481e7ff
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-04 09:39:00 +01:00
Mateusz Jablonski
5b2d13765a
Move logic of copying ISA to separated method
...
Change-Id: I2c5fd3004fa41ed1bf1cf3d54741756f546f6941
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-04 09:21:15 +01:00
Dunajski, Bartosz
0939743874
Pass OsContextWin object during Wddm context creation
...
Change-Id: Iba8d801bb6af4e9d28681caddb9c487500a42c8c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-04 09:11:59 +01:00
Cetnerowski, Adam
5c05d44735
ULT renaming: Get Context Info tests
...
Change-Id: Id5a62ae2b5a121f1df467903c3f645224de53d5c
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2019-03-04 08:40:16 +01:00
Dunajski, Bartosz
86dabbf6d5
Improve OsContext construction
...
Change-Id: Ibf9293344cc5c0ae1b2cc011e87d9e3626f3a066
2019-03-01 08:35:38 +01:00
Zbigniew Zdanowicz
10a25e405a
Remove debug flag ForceMultiEngineQueue
...
Change-Id: Iabf38999a03be3422c25c12978808731df77a899
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-02-28 16:06:36 +01:00
Piotr Fusik
426a7b6efe
Pass by const reference.
...
Change-Id: I68dc9d2a77da8cc7f81759c4e72d32e2e7f71a1d
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-28 14:12:13 +01:00
Mateusz Jablonski
6fb28dd828
Refactor GraphicsAllocation class
...
move most of members to protected section
merge related members into structs
Change-Id: Ief2e092aa5e61ca6f13308f9d9b1937ea6c913b4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-02-28 14:09:11 +01:00
Piotr Fusik
33a9d3160b
Simplify code.
...
Change-Id: If730d02312da01515ae53b5faaeb5d33419ec4ba
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-28 13:09:52 +01:00
Piotr Fusik
e11b7675d5
WddmAllocation constructor accepts allocationType.
...
Change-Id: I1e561b11e78dd942e04f3b029739921d0929ceed
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-28 11:59:16 +01:00
Mrozek, Michal
6cb4732abe
Move isl3Capable outside of Graphics Allocation.
...
Change-Id: If9949f0d6d3405dcdeb221cbee1ce30307166c21
2019-02-28 10:48:27 +01:00
Piotr Fusik
8febabfbd6
DrmAllocation constructor accepts allocationType.
...
Change-Id: I6a6457948ada7eb59537d17b966278d114f802c6
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-27 16:58:22 +01:00
Filip Hazubski
612121d5fe
Fix typo in fixture name
...
Change-Id: Id0ac28416a1ff32a8dca9503c30d918a2b2f80d7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 15:46:29 +01:00
Mrozek, Michal
fca7b4e044
Remove Drm32Bit allocator.
...
- not used anymore.
Change-Id: Ibb7da1758feb67224ac0b172c72f45c2f1c229d9
2019-02-27 14:28:16 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Mrozek, Michal
3eb10d0cc2
Add logging of EXTERNAL_HOST_PTR AllocationType.
...
Change-Id: I247a9e969b6cb0ba337018d324549e39217e54e6
2019-02-27 11:46:37 +01:00
Mrozek, Michal
73456d66b3
Add proper type for host ptr allocations.
...
Change-Id: I324b54b415626043cc801ceb7f73547b96018fe0
2019-02-27 10:25:32 +01:00
Mateusz Hoppe
d5d177dd58
Override AllocateGraphicsMemoryInDevicePool in DrmMemoryManager
...
Change-Id: I54da682ecb055e71af0968872ddb0ec7726c3adc
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-02-27 10:05:46 +01:00