Commit Graph

1333 Commits

Author SHA1 Message Date
Hoppe, Mateusz ce29770d61 Extend PhysicalAddressAllocator with page size and alignement
- this allows for reserving 64k pages or bigger with specified alignement
if required

Change-Id: I256d6c0d9e7fee0e2bac5f4ab5e4fd49ea9d8d50
2018-10-03 20:02:58 +02:00
Milczarek, Slawomir 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
Hoppe, Mateusz 5f11e68861 Add EngineType suffix to aub file name in AubFixture
Change-Id: I9b8f27461e6d36d596e85fde973aa1b2f34dbede
2018-10-03 01:56:36 +02:00
Mateusz Jablonski 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
Zdanowicz, Zbigniew 2632b21fd1 Organize dispatching of thread data for better reuse of code
Change-Id: I8c156f8b5a50f6fa4dfb5218cdadb2840ff556eb
2018-10-02 18:47:13 +02:00
Cetnerowski, Adam 95cfb156cf ULT renaming: clCreatePerfCountersINTEL tests
Change-Id: I3c32be2317fbdad6522b3f160077732fd0ec55c7
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-10-02 18:23:00 +02:00
Mateusz Jablonski caa477115f Remove support for static gmmlib
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>

https://github.com/intel/compute-runtime/pull/91

Change-Id: I90184d7aabf3dd0d8a74ff40115213241b4ca724
2018-10-02 18:21:51 +02:00
Filip Hazubski 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
ocldev 6dfcb913f0 dependencies update
Change-Id: I5f9e9098a1b410211ee83f903faaa9b631ea8896
2018-10-01 15:52:22 +02:00
Filip Hazubski b16bd14f37 Change virtual class HardwareInterface to static
Change-Id: I4f1f59ecb51b95041dc6dcc6c606b94595813f53
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-10-01 15:11:43 +02:00
Pawel Wilma f3b1d73e88 Add missing include
Change-Id: I3384f2d599941cfd96bbe93559ebfb323f6eb285
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-10-01 10:12:10 +02:00
Milczarek, Slawomir 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
Maciej Dziuban 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
Hoppe, Mateusz 4ea9f496d5 Fixes for AUBs
- pass aub usage in MockDevice to memory manager
- disallow mapping on cpu for cpu inaccessible memory

Change-Id: I5437a06efd4dd32940b603a15ff98a40091e2b04
2018-09-28 15:55:55 +02:00
Cetnerowski, Adam 90b21644ae ULT renanming: clCreatePipe tests
Change-Id: I70c67e41abf89f7f5a521d30c42ba143914bfb17
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-28 11:32:35 +02:00
Maciej Dziuban ea9e7bea31 Change MemoryManager::lastPeriodicTrimFenceValue to a vector
Also start registering OsContext to MemoryManager in
WddmMemoryManagerResidencyTest along with some cleanup in fixture's SetUp

Change-Id: I3f6763ae0cd9bf638cdc5dbbfbc60dfb0fd0ef05
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-28 06:33:12 +02:00
Dunajski, Bartosz cbd017d495 Handle TimestamPacket with implicit dependencies ownership
Change-Id: I22a4de4e9eb904c359583e235e0de54a7c743e07
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-28 01:48:02 +02:00
Hoppe, Mateusz 7ddf1d554b Move getAddressSpace from AUB & TBX CSRs to CSRSimulatedHw
Change-Id: Iaa6164445f55efba3681fc41e2ec614f999e1362
2018-09-27 10:43:00 -07:00
Dunajski, Bartosz 7a3515e882 Remove filename duplication
Change-Id: I570f8904ba2ca7b9f8509af33a8a29dcec424e3b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-27 18:45:28 +02:00
Maciej Godek 2ad5108380 Clarified dependencies in Context::getSupportedImageFormats
Change-Id: Iaa09a2b572b3ae6d0533378f0ecf227bd90b1a10
2018-09-27 18:41:18 +02:00
Hoppe, Mateusz 65565acdaf Refactor Buffer::create
- simplify conditions by separation
- reorder some calls
- pass allocateMemory to AllocationFlags

Change-Id: Iab6fd35f9b9c10bfbc19058e69058346ef87dad8
2018-09-27 18:16:54 +02:00
Hoppe, Mateusz 330b9eddbd Upload data to cpu inaccessible memory with enqueueWriteBuffer
Change-Id: Ibb33c4248fd0cb4338c82a9deb3994147c0acba5
2018-09-27 18:09:01 +02:00
Pawel Wilma e06aa17dfc Grf configuration
Change-Id: I3741f53a38c6707b0c8ad82ae553ea65ae6917e4
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-09-27 17:57:19 +02:00
Jacek Danecki a81b1a461f ci: use LP ocl-dev account for ubuntu 18.04 builds on Travis
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/92

Change-Id: I1ecf19664fc29f61662ffc012d2154f2ee74e715
2018-09-27 11:24:07 +02:00
Mateusz Jablonski 04e083120e Append gmmlib to neo package
Change-Id: I39e94700a3113e12e7be72ba10eaef18ff7f6217
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-27 08:06:09 +02:00
Hoppe, Mateusz 465e1a3165 Fixes for AUBs
Change-Id: Iac55927eb96db8dd68b86d21e66392039ba1f058
2018-09-27 06:38:19 +02:00
Hoppe, Mateusz 64c891f0fd Use specific address for Allocator32Bit in AUB CSR
Change-Id: If3fd466fcfea21c1967b10def57acf67ccfdc5e6
2018-09-26 16:01:07 -07:00
Milczarek, Slawomir 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
Stefanowski, Adam 6aab39fd9b Move MMAllocateInPreferredPoolTests to inl file
Change-Id: I08dc6dfedbd4c970174377454fdac112cbf29f48
2018-09-26 19:30:35 +02:00
Zdanowicz, Zbigniew 51e888dfc7 Add new arguments to GpgpuWalkerHelper<GfxFamily>::setGpgpuWalkerThreadData
Change-Id: I19e42a75f5224f6e3588c2c7be4a3451714bb5ef
2018-09-26 14:56:01 +02:00
Zdanowicz, Zbigniew 9e8a434464 Add new parameter to dispatch payload data
Change-Id: I0034c5a40de65a050e19691b13793b7053354757
2018-09-26 14:43:46 +02:00
Jacek Danecki 5e3df9559a ci: use LP ocl-dev account for CI builds on Ubuntu and Arch
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/90

Change-Id: I987f691dfe1258b7353ca1eda502994145babd5b
2018-09-26 13:21:03 +02:00
Maciej Dziuban 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
Zdunowski, Piotr b774e9c62b Fix check for SEH.
Change-Id: I940071029be5d15a51707dee748760f3181deeef
2018-09-26 12:28:26 +02:00
Cetnerowski 17fe3e740e Cloc: correctly handle nonexistant platform
Change-Id: I85a81c10dc101e8af68dd4c52c7f604d563c4396
Signed-off-by: Cetnerowski <adam.cetnerowski@intel.com>
2018-09-26 06:02:46 +02:00
Zdanowicz, Zbigniew 1346148d69 Add new field to PATCH_TOKEN_THREAD_PAYLOAD struct
Change-Id: If458d5a118113daf222975670244cb2b9e63ec27
2018-09-26 03:12:50 +02:00
Mrozek, Michal 4912f41759 Add additional layer for common AUB & TBX stuff.
- Move one function there.
- This layer will cover common functions that are not branch specific.

Change-Id: Ia8a288f8f51647a333a73f35cf999df9f2d5f5b1
2018-09-26 02:20:59 +02:00
Mrozek, Michal f564792895 Create common class for TBX & AUB.
- Move one method there.

Change-Id: I96cc0a64e24e4931a8d71a552f5cbf22bf99bfc2
2018-09-26 01:24:59 +02:00
Hoppe, Mateusz 55574fc812 Add EngineType suffix to Aub files names
Change-Id: I6ff0f806da11050ac9d9a78bbe0e310940d41d8e
2018-09-25 23:49:19 +02:00
Hoppe, Mateusz 26154ae21a Refactor MemoryAllocation memoryPool overriding
Change-Id: I4fc2293fac6bc47a0139fedb81c2a879b610101f
2018-09-25 23:29:07 +02:00
Hoppe, Mateusz 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
Dunajski, Bartosz 9f4f152e3a Manifest update
Change-Id: Ia87b976003b96f68787f8a085d1b9c5bffec70ad
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-25 12:43:58 -07:00
Artur Harasimiuk ad099be8f5 Revert "cpack configuration refactor"
This reverts commit 18f6d6a25b.

Change-Id: If0f3144212a8ac693abc63e35c15a7428d7c494a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-25 21:26:42 +02:00
Maciej Dziuban 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
Mateusz Jablonski cd252b84a0 Fix expected IR extension when compiling builtins and test kernels
Change-Id: I1421c93414df89a34d3b260fc7b0fe5063e4471b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-25 17:06:31 +02:00
Woloszyn, Wojciech f624ec757b Unify mipmap layout accross platforms
- revert "Fix reported row/slicePitch for mip-maps"
- calculate mipmap offset without gmm

Change-Id: Id4802ef9624ad330e0d0f871dfa4d4fc35a7ba33
2018-09-25 16:27:43 +02:00
Cetnerowski, Adam 1b7738e0cf ULT renaming: CreateKernelsInProgram tests
Change-Id: Ib3dd3aed30e581defd740e1af62088a045e33f2e
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-25 15:18:52 +02:00
Maciej Dziuban 9804bddd46 Change makeResidentResidencyAllocations argument to a reference
Change-Id: I7e8a73fdbe5371e29a53ec34201eddb42cb7f20a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-25 11:34:16 +02:00
Mateusz Jablonski c04d14f3bc Internal update
Change-Id: I9b236de354475453f7f5a96bce4eb60c848137ae
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-25 10:14:46 +02:00
Woloszyn, Wojciech 2248c8e048 Fix typo
Change-Id: I393ad63769ac1fd9f95374344dae60dda803346a
2018-09-25 01:53:59 +02:00