8ed9991910
Remove not used function, unify gmm interface filenames
...
Change-Id: I017697ec4076ddd47f2039f71805a895d687c8a9
2018-07-23 09:09:47 +02:00
44589b79b4
Fix for spirv regression - preserve IR type
...
Preserve IR type during Program::compile when program
is created from IR
Change-Id: I9ee12b27e52fa72a1abbfa070895caf0ac3e32fb
2018-07-20 16:54:36 +02:00
2561ff6cb4
Add test fixture for image clear color
...
Change-Id: I34148f8ab8ec6e2620372bcf02414bf5e5783d2e
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2018-07-20 16:07:29 +02:00
56557ca3a3
Unit tests: Initialize gmm before wddm initialization
...
Change-Id: I751bd93248aa78731b9591f494eafcd12d3e6d82
2018-07-20 15:47:15 +02:00
70b1745c7a
Remove duplication from aub command stream receiver tests.
...
Change-Id: I53e4eda003f2d8f9b3669e1aeb4da940c3ab34e4
2018-07-20 14:21:12 +02:00
f125c8ff45
Add allocateGraphicsMemoryInDevicePool
...
- do not always expect failures in tests with failure injections
there is retry mechanism for some cases
Change-Id: If7589d2dacc41216d2f3b08f861209bbab179615
2018-07-20 13:00:00 +02:00
1afc09bc05
Fix handling null resource from gtpin
...
Change-Id: I2e6a0992f9c0d672cb42724f2bb1a698b3ba2861
2018-07-20 12:26:12 +02:00
366a12e3ce
Move setting external memory managers to mock layers.
...
Change-Id: I335fd35269da9093c9e744c2735215e8d561098c
2018-07-20 12:09:48 +02:00
239ebf9eab
Improve AllocationType operations: dont do bit operations on enums
...
Change-Id: Ie70ca9e2a93ec80b1cd655bad622db9e12abb7f7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-07-20 09:12:58 +02:00
f487ce11a2
Limit device usage in memory manager.
...
Change-Id: I488574dc2b2878b640f0bac2b23bd9a6a265f0e2
2018-07-19 18:27:42 +02:00
623314665b
Set valid "max number of threads" in MEDIA_VFE_STATE
...
Change-Id: Icd55fe6b5cae5a92021d2692fe09c19535e64121
2018-07-19 15:17:17 +02:00
96e3163386
Prepare to use gmm dynamic lib on Linux
...
Change-Id: Ie1b0c8fe13c4e044f1f2b0651349840d2850f423
2018-07-19 01:04:52 +02:00
1c0f90b194
Improve renderCompressed flags usage
...
Change-Id: Ib5fd8e078dba0f19dd65bc8cdc6cded771e559a2
2018-07-18 19:55:52 +02:00
b490a1331b
Refactoring/preparation for preferred IR from FCL
...
NEO will be querying FCL for preferrerd IR
(intermediate representation) instead of
using llvm bc.
Change-Id: I98316b5623557a9651da2a4c5e610ab26421c491
2018-07-18 16:49:29 +02:00
3b0292ae0d
Do not set up fixtures when product mismatch
...
Change-Id: Idc831a6d87dba6cbe2822531a2701a9fbdd409df
2018-07-18 12:06:47 +02:00
407227959a
Add memoryPool to GraphicsAllocation
...
- new ExtendableEnum struct that serves as enum but can
be extended with values
- decrease dependencies on graphics_allocation.h header -
use forward class declaration when possible
- memoryPool indicates what kind of memory is allocated
for a given GraphicsAllocation
Change-Id: I7a707c28dc4544cc73abc5f0ed5263ba5be17452
2018-07-17 20:10:33 +02:00
4a6be207cd
New patch token for pure stateful buffer access
...
Change-Id: I90589a1cc3c3fa3608e7a5da438660ed85efcffa
2018-07-17 19:55:16 +02:00
d2e820aac8
Enhance validation in sharing scenarios.
...
Change-Id: I590c5d66602749fb5702e414ccf2b1acec3bc9e7
2018-07-17 19:47:54 +02:00
07031518dc
Add error handling in d3d9 sharing scenario.
...
Change-Id: I3f337b633514d90298f03a9fa486757026137151
2018-07-17 19:25:36 +02:00
513d23ca1d
Return error if invalid context is passed.
...
Change-Id: Icff0b6658badb08183340375abd1e68fc582c25d
2018-07-17 18:51:45 +02:00
aa71442d50
Make sure that devices reuse memory manager and command stream receiver.
...
- initialize them only once per execution environment
- initialize tag allocation only once
Change-Id: Ic816c81a84320aeb66b09d333bec69a92fe0859b
2018-07-17 16:38:05 +02:00
fd6224ae4e
Set clear color parameters in surface state
...
Change-Id: I6b2c87394495366756bf471dd830ccd1c715acc4
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2018-07-17 13:43:17 +02:00
0adbcb75b1
dependencies update
...
Change-Id: Ia41750759981a3b34a1d3e779bcd0425da190e32
2018-07-17 13:32:27 +02:00
36db75da28
Create gmm client context wrapper, reduce mock_gmm
...
Change-Id: I4eec4366afeb175fea4bf7934e3046b50fe30fe9
2018-07-17 11:46:04 +02:00
f59c191915
Refactor parts of createDeviceImpl.
...
- Move portions of code to dedicated methods.
Change-Id: I9abec23785f3f3201dce42a7a840ca4a450c4cc1
2018-07-17 09:46:45 +02:00
fb67598ff2
Remove tag allocation from device
...
Change-Id: I9f463ee7d8f21722f8c0b343200a3b5125c02ab7
2018-07-16 14:54:16 +02:00
f6dc90c903
Move destruction of command stream receiver to execution environment.
...
- remove other explicit resets, no longer needed.
- change the order of destruction, command stream receiver needs to be
destroyed prior to memory manager.
Change-Id: I3c5db46db15a2cb7dc9f6fdb0e06441806fbd9f2
2018-07-16 13:20:25 +02:00
0abacce160
Move tag allocation destruction to command stream receiver.
...
Change-Id: I657df755c6cdd695103769a45a8dce749f7bd545
2018-07-16 13:12:53 +02:00
16d04fd276
AUB subcapture to read file name from outside and write into several files
...
Add a capability for AUB subcapture feature to dump into several files
and read file name from the outside (via regkey and env variable).
Change-Id: I2d5f7945cfbc740b0316fe23b8c5ae9fd698ac57
2018-07-14 13:10:35 +02:00
d9d169eb94
Remove temporary graphics allocation from ULT command stream receiver.
...
- Required for next changes -> moving tag from device to csr
- It is not allocated by Memory Manager which causes a lot of problems
when csr tries later to delete it with memory manager.
Change-Id: I060516b0ec3ec6617319720c22cd3c129c10bffc
2018-07-13 14:07:10 +02:00
51421ec0b9
Add experimental command buffer
...
This code is an infrastructure for special debug purpose that allow measure
execution time of any hardware command.
Change-Id: Id12a7979d204734a0c4a6c4700e427b65ac2397f
2018-07-13 12:09:14 +02:00
e34c47271b
Fix destruction sequence in execution environment.
...
- Gmm needs to be closed after memory manager.
Change-Id: I608fc328034012ce52b7e791afd9ad2ff2f0cd1a
2018-07-13 09:40:19 +02:00
a8ce3ca00a
Wddm: Use GMM allocation size during map GPU VA
...
Change-Id: Ie10898db7c539ce5025ab4a6d658d6e593e94c50
2018-07-13 08:03:57 +02:00
c19918920d
cl_helper_test fix
...
Change-Id: I4b282527478c10febe14cbc8bee8298c6ac7190a
2018-07-12 15:23:38 +02:00
1c17c3b325
Add RAII wrapper for DeviceFactory cleanup.
...
Change-Id: Iae94df4894bb6bcd64b22c4d197eec7d7fede0b5
2018-07-12 13:20:19 +02:00
c34ed02f57
Rename AllocationType to FragmentPosition
...
- better reflects enums usage
- make the type scoped enum
Change-Id: Id2712e43028258ffc038a5738ec9e546d19d9e2e
2018-07-12 12:44:29 +02:00
dc19b018b7
Move memory manager destruction outside of device scope.
...
Change-Id: Id012b176e99d5fffe39fe91fb54d2d774468a2c1
2018-07-12 11:50:26 +02:00
f7316c0053
Ensure that device has valid command stream receiver in tests.
...
Change-Id: I1226a4b43b48fff6fa001b72791926fe21ba1fc0
2018-07-12 11:43:25 +02:00
ebc16baa00
Fix problem in test.
...
- when pointer overlaps 2 pages then fragment count will be 2 not 1.
- Limit the size to 1 byte to ensure only 1 page.
Change-Id: I21c1e07037a99ff3e48909605cb4e2444e499d60
2018-07-12 10:42:40 +02:00
85d7081beb
Enable 64kb pages when its allowed by platform
...
Change-Id: I10f02bd83beabeff929e16c7293324b81bfed054
2018-07-12 08:43:51 +02:00
7735fb5767
Move memory manager ownership to execution environment.
...
Change-Id: Ib743b04139a6572da65eeffa6cd3e13db4bd9098
2018-07-12 08:23:05 +02:00
0c094c05e5
Limit scheduler kernel GWS to one workgroup in SimulationMode
...
- add ftrSimulationMode to FeatureTable
- set GWS in computeGws() when isSimulation() is true
Change-Id: Id3fb55ada4c8c5d8216a2b89d0878dc5cd1697ad
2018-07-11 17:20:24 +02:00
a126b290b8
Move ownership of command stream receiver to execution environment.
...
Change-Id: Ibf924347e79f0c6e61141542c7e4c97c7a27e88d
2018-07-11 17:07:22 +02:00
55a045ebe1
Refactor graphics memory allocation scheme
...
- replace createGraphicsAllocationWithRequiredBitness with more general
methodallocateGraphicsMemoryInPreferredPool based on passed
AllocationData
- proper flags for allocation selected based on AllocationType
- remove allocateGraphicsMemory(size_t size, size_t alignment)
and use allocateGraphicsMemory(size_t size) instead where default
alignment is sufficient, otherwise use full options version:
allocateGraphicsMemory(size_t size, size_t alignment,
bool forcePin, bool uncacheable)
Change-Id: I2da891f372ee181253cb840568a61b33c0d71fc9
2018-07-11 15:48:05 +02:00
4993a94b5b
Prepare for future changes
...
- Implement changing MemObj's GraphicsAllocation
- Create function for resolving change of SharedHandler's GraphicsAllocation
Change-Id: Ibd975070ca11ba8591f5561d9f02bf5d9af1636b
2018-07-11 15:36:38 +02:00
56125ea381
Add tool for tracking events
...
Change-Id: Id61d814e4629a41a279d46097ec8b4f94a224234
2018-07-11 13:34:56 +02:00
a1d7d42c69
Remove Aux pitch/qpitch/baseAddress programming
...
Change-Id: I836bb33c9b4328f67be88739c83290972a03288c
2018-07-11 13:06:21 +02:00
4fb02f2e99
Ensure that every device has execution environment.
...
Change-Id: I77a203fb5ffd2c6a9309091f5e048f71c58c4c04
2018-07-11 12:53:18 +02:00
92266e4ad1
Disable stateless to statefull with offset optimization on BDW.
...
- BDW doesn't support this optimization
Change-Id: Ic88556214c8d9a14ddb093b7c25587575e616f83
2018-07-10 17:49:55 +02:00
d69f23dc10
Enhance validation of properties when command queue is created.
...
Change-Id: I1735ef8d9fbc17a09b9711f8f881c27c5de6b82c
2018-07-10 14:44:15 +02:00