b051528258
Add getter for handle to AUB dump allocations
...
Change-Id: I30251145775e9d81e307c983236bd2cc0568a74d
2018-10-30 12:06:17 -07:00
ead2e2ea6d
Move createAllocationForHostPtr method to command stream receiver
...
Remove not needed includes from command_queue.h
Change-Id: I45963bf005471bd7716d55471474299a15e27b62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-30 17:49:08 +01:00
baa9ce74a7
Remove obtainReusableAllocation method from memory manager
...
Change-Id: I629044d109822f02cfddc6418f025010e62ab65b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-26 09:06:20 +00:00
d5c9816428
Remove store allocation methods from memory manager
...
Move setGPUAddress method to WddmAllocation
Change-Id: I91d877c3791e9eff69276e4258e3ce9c3111ca45
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-26 10:53:43 +02:00
cd8f08b94b
AUB CSR functions to operate on engine instance
...
Change-Id: I928cf5f7c25980fdfb2da825cbe062b5497c328a
2018-10-24 16:33:11 -07:00
a531751001
Remove ULT code from runtime
...
Change-Id: I2faf52070f980d031788fc6946df8534d96c639b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-24 17:45:08 +02:00
9be4850213
AUB capture with a capability to get engine instance
...
Change-Id: I52c47505476053d6e692fc9d89cca25a6e122a63
2018-10-23 11:58:13 +02:00
ef65e6433e
Improve EnableTimestampPacket debug variable usage
...
Change-Id: I864f0dc756a7fe17a08d1bcca2d91e9b78fb730a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-10-18 14:25:46 +02:00
9c06e1dc5b
ULT: Don't override memory manager if not needed
...
Change-Id: I63cb7dc642bdf620437ea7d264af1913027c788a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-16 17:26:23 +02:00
4f028d13a1
Command stream receiver: use memory manager from execution environment
...
Change-Id: I236218a73bd7dac6e5744e3596f146b77b5ca1c8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-16 12:14:55 +02:00
7543c1fb2a
Flush AUB before HW or TBX.
...
Change-Id: Ia997c6c05b2a1cb5c1968113b94ca66fbf1efe89
2018-10-13 10:52:19 +02:00
8a9d0a81df
Move temporary and reusable allocation lists to command stream receiver
...
Change-Id: I40df6fe39b367e243e3710c5fdeaab3c85198d9d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-11 15:32:12 +02:00
a05f832f80
Fix for batch buffer flattening
...
Change-Id: Ib13ec6573b985cf03876bd7e37a31606b230a790
2018-10-09 12:28:40 +02:00
130a7ac8b8
Delete TypeSelector helper
...
Change-Id: Iff5fe62d31fa7b07658cfcf81ebd2c12d47e2b3b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-08 13:18:36 +02:00
bc4700a193
Add OsContext argument to MemoryManager::makeNonResidentEvictionAllocations
...
OsContext has to propagate through following calls first:
- WddmCommandStreamReceiver<GfxFamily>::processEviction
- CommandStreamReceiver::makeSurfacePackNonResident
Change-Id: I7559c7406b2860c51905c9961cec251fac231b08
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-05 01:28:31 +02:00
61000c0dd4
CSR AUB + HW mode - flush to poll MMIO for completion
...
Ensures that each submit of LRCA be serialized through the simulator
like it is for AUBs captured in the standalone mode.
Change-Id: I1e3ad500012dce960d0e64b56af1cb60142772da
2018-10-04 10:32:08 +02:00
b602cd2bb8
Pass execution environment to memory manager
...
Change-Id: If43cf9d1353b4cbc02ea269fb9105c01cc4e0876
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-03 22:12:26 +02:00
ec48ccecdb
AUB CSRs to use a shared address mapper (CPU VA to GTT VA)
...
This commit moves address mapper from CSR to execution environment
in order to generate unique GTT VA for LRCA, HWSP and ring buffer
between different CSRs.
Additionally, moved the rest of AUB file stream tests to separate module.
Change-Id: I02ae44202c0255277a7ac17532485419e0c403ab
2018-10-03 12:50:25 +02:00
9a1adc3095
Remove scenarios with memory manager with null csr
...
Change-Id: Ie151bf3d16c5d994f154c8f9ac3db43702a4798c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-02 21:43:21 +02:00
c75dc23b6e
Change HWCMDTEST_F() tests to HWTEST_F() where possible
...
Change-Id: Ibfe147a12b53f832723f83809770e1b203159f8f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2018-10-02 17:29:46 +02:00
2227386eb7
CSR with AUB dump to call makeNonResident on AUB CSR
...
AUB CSR can implement additional actions to be taken on makeNonResident
such as dumping buffer and image resources.
Change-Id: Iab76081116011e0882de3c902db74a5dc4dd0b36
2018-09-29 00:23:40 +02:00
41e8d70363
Change makeSurfacePackNonResident argument to a reference
...
Change-Id: Ic95ad2406184e91a78c152fad3fe6f0f4ebb24ae
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-28 18:08:18 +02:00
7ddf1d554b
Move getAddressSpace from AUB & TBX CSRs to CSRSimulatedHw
...
Change-Id: Iaa6164445f55efba3681fc41e2ec614f999e1362
2018-09-27 10:43:00 -07:00
efdbde245a
AUB CSRs to use a shared physical address allocator
...
This commit introduces AUB-specific control class to execution environment.
Change-Id: I525c9c93a4f10f769dbedb7d097674c35693f0b1
2018-09-26 20:31:56 +02:00
95e4dc4152
Delete unneeded residency/eviction allocations mutators
...
Change-Id: Ic73ea4c4e3ebf422f935a440a1b4789fe1c15494
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-26 13:02:19 +02:00
dfd4e767e0
Introducing AubFixture with minimum required initialization
...
- fixture is creating AUBCsr or TBXWithAubCsr only and sets
executionEnvironment used by Device
- this sequence ensures correct initialization without redundant
objects creation
- adding new AUB test: AubWriteCopyReadBufferTest
Change-Id: I678410585c91c008fc53a44b13e885e970fd315b
2018-09-25 23:03:21 +02:00
f48b90ffee
Change CommandStreamReceiver::flush() argument to a reference
...
Change-Id: Ic933a297d4c4e243138d0d62323ba82a8b91240f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-25 17:28:44 +02:00
ee797c2f14
Multiple AUB CSRs to operate on a single file stream
...
This commit introduces AUB stream provider class to produce
a single file stream in multi device scenarios with multiple AUB CSRs.
Change-Id: Id70e0d680459d34f4291b9e56aa39d960f025ac6
2018-09-23 05:41:00 +02:00
91aaa92fb6
Refactor PhysicalAddressAllocator
...
- create allocator dynamically in AUB & TBX CSRs
Change-Id: I3b01a3fc2f4824b552ef27cbda5bdcc140e92e53
2018-09-21 21:48:57 +02:00
a470aa2072
Get AddressSpace to expectMemory from page table entry bits
...
Change-Id: I1aacdf98f436261b523765e0ca591e8d8333274e
2018-09-21 16:44:55 +02:00
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-09-20 18:02:35 +02:00
78f828fcd1
Make residency in graphics allocation OsContext dependent.
...
- Graphics Allocation now holds residency control per OsContext.
Change-Id: Ie0a0d3aa9fdaf542fdd42dee3aba236a5af635c7
2018-09-20 16:44:04 +02:00
4af432ae10
Store page entry bits in PageTable entries
...
- set Present bit when entry is allocated regardless entry bits passed.
Change-Id: Ib1393927f66c4ed0b577a4df58d2760fbff86df7
2018-09-20 09:25:34 +02:00
65dc5fb7de
Generate multiple devices in AUB and TBX CSR modes
...
This commit adds a capability for a driver to generate multiple devices
and hwinfo in AUB and TBX CSR modes.
Change-Id: Icc0eac7c16760d3d4ae6ef08cd0be950b45d35e7
2018-09-18 18:03:41 +02:00
a2ed6861d8
Refactor AubCSR test - expect correct data returned by getGTTData
...
Change-Id: I98a7a5f6f87fea70ae0f9334236f144f592fbf5f
2018-09-18 01:23:41 +02:00
ac1d2b9901
Change processResidency argument to a reference
...
Change-Id: Ie313a8cc4e479a314bcf170917397c13fbb70d14
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-14 13:36:20 +02:00
610eda5ad1
Add PhysicalAddressAllocator to PageTables
...
- Allocator is responsible for physical pages allocation
Change-Id: I3a9034c87292484da8f4f0eb1d1e0cc5122a4d8a
2018-09-14 13:23:07 +02:00
8df30ceac1
Move residency and eviction allocations from MemoryManager to CSR
...
Change-Id: I44185b35375f4cc9d58cac14cac1edefaacde652
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-14 13:19:55 +02:00
da5a292e54
Delegate MemoryManager residency and eviction calls through CSR
...
MemoryManager::getEvictonAllocations()
MemoryManager::pushAllocationForEviction()
MemoryManager::clearEvictionAllocations()
MemoryManager::clearResidencyAllocations()
Change-Id: Iaa3051965bc9dfc09384e2bd5e9e0c372b5e722a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-14 08:18:04 +02:00
7aa70248e8
Get rid of processResidency() calls with null ResidencyContainer 4/n
...
Change-Id: I318e0b2846a72d9cba4921ba62e0ea491cc46da9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-13 15:12:20 +02:00
fafde2ec15
Delegate all MemoryManager::getResidencyAllocations() calls through CSR
...
Change-Id: I9cfbfd86d39b5341598ff2bd8883e13605c58b72
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-13 14:56:06 +02:00
81a1e435f9
Delegate all MemoryManager::pushAllocationForResidency() calls through CSR
...
This prepares for moving this method from MemoryManager to CSR.
Change-Id: I82393289c48990f26ed3ac922bcd64e2b6c11f28
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-13 14:33:16 +02:00
a7d41d95b4
AUB subcapture in filter mode to define start/end indexes to a given kernel
...
This commit introduces new controls to define start/end indexes
that apply only to the kernel specified by name for a sub-capture
Change-Id: I7ad7674d115f9addd35c44d824aee0731060881e
2018-09-13 11:13:33 +02:00
581805cc88
Move OsContext id setting to constructor.
...
Change-Id: I1b809befc02536257800e3667307b8deabd5c95d
2018-09-12 09:50:26 +02:00
8e33ec04c5
Create separate command stream receiver for every device.
...
Change-Id: I8073380941e2a3bfe57610e6e437bdc177dcc2d5
2018-09-12 09:32:41 +02:00
d24a0accd9
Get rid of processResidency() calls with null ResidencyContainer 1/n
...
Change-Id: Ifeed7d1154ed07988ee2196a95013eae4d5a80d0
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-11 15:32:11 +02:00
4da2dd471d
Get rid of processResidency() calls with null ResidencyContainer 2/n
...
Change-Id: Ic2495cd21304710825727177a1d90889e22808d8
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-09-11 15:01:01 +02:00
cfa8035836
Add localMemorySupported member to MemoryManager
...
- extend constructor to take new flag
- extend ExecutionEnvironment createMemoryManager with new flag
- only OsAgnosticMemoryManager changes in this step
Change-Id: I1dae4fd79fe28fd87e42b237600dc216c94b597e
2018-09-07 12:04:21 +02:00
8a005434f4
[1/n] Initialize WDDM only once
...
- remove Wddm parameter from WddmCommandStreamReceiver
and pass it via ExecutionEnvironment
- remove drm parameter from DrmCommandStreamReceiver
and pass it via ExecutionEnvironment
- remove void parametr from TbxCommandStreamReceiverHw
Change-Id: Ib76332f1341339426e86e0ce2b6ce96919219881
2018-09-06 14:14:29 +02:00
b74280beb6
Check EnableTimestampPacket debug variable once and set as CSR mode
...
Change-Id: Ia6e7caa96f3b46b30590fb46a1fb37fa153adeb4
2018-09-06 11:19:02 +02:00