Commit Graph

925 Commits

Author SHA1 Message Date
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
d9757a93a1 igc revision update
Change-Id: Iea09e9c662544fda3aa9b0e0348ff56af3d75638
2018-07-16 10:19:05 +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
7bc1bc3c9c Add reference to TOOLS in README
Fix typo in TOOLS

Change-Id: I1524319ff60d33aa97c736e128f0a05cd05d29ec
2018-07-13 16:22:53 +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
18.28.11080
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
1fa590c842 Documentation: add instructions for VTune
Change-Id: Ib38f71bed29b703142bd1c26cd9b0dca23030199
2018-07-12 15:13:24 +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
0a1c4a5e41 Fix double scheduler compilation.
Change-Id: I16814bf4f027df67bf2b518077076aea93c52cf0
2018-07-12 12:22:20 +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
8604128d3c infrastructure update
Change-Id: I6e934044cb9b9aead01b2ee6820d4aaad0608070
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-12 10:22:26 +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
403d5af7f0 Infrastructure update
Change-Id: Iac09e444f2796f508f6c64609748e1c3b94d8402
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-11 16:26:29 +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
a95c6d3c1a Remove memset on non POD
Change-Id: I74bf98f5dbdc5005081ee9a025a5b9641b6ca89f
2018-07-11 13:58:55 +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
2589286d42 Change gmm_memory.h location
Change-Id: Ie4ebde5829794c37281034971639d166b128d755
2018-07-10 15:59:58 +02:00
d69f23dc10 Enhance validation of properties when command queue is created.
Change-Id: I1735ef8d9fbc17a09b9711f8f881c27c5de6b82c
2018-07-10 14:44:15 +02:00
7437960534 Preload GMM library before tests execution on Windows.
- Fixes massive performance regressions in ult execution time (5x)

Change-Id: Idf13f90624309c1b3fb6744f0db3b7567e68fb17
2018-07-10 09:04:32 +02:00
70e85be96a Refactor ThreadArbitrationPolicy definitions
Change-Id: Ia5d9d3b915b14a1ed6c8dd8d7e7c38dab674b6f2
2018-07-09 16:55:22 +02:00
e527a439cd Disable CPU operations for renderCompressed GMM resources
Change-Id: I4396460cab1e030717ea85590775eea0ea92f9db
2018-07-09 16:15:13 +02:00
821f31b398 remove unused member
Change-Id: Iba055d55377ca1ea650d483fdefd1940bd1e91f9
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-09 13:57:33 +02:00
e8424f242b don't enforce igc version from CMakeLists.txt
moving this requirement to .spec file. CMake should try building with
any IGC version installed in system. More strict requirement should be
defined at package level.

Change-Id: Ieae656fa0eac4069ee8870a829fe116e66ee5ced
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-07 10:16:54 +02:00
1323880cf8 infrastructure update
Change-Id: I42f9d66ed6236d0930b5fe6bfb50bdc2c34db1a2
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-06 16:37:04 +02:00
b3c742be72 make fedora.spec.into be el7 friendly
add if() to detect build for el7 and then switch to use devtoolset.

Change-Id: I34d00ee59d73a9dec8e030091ff15b5fb858a548
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
18.27.11048
2018-07-06 16:13:27 +02:00
aedbf48246 ci: add arturh/intel-opencl-staging repository
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

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

Change-Id: Ic96b904fb061a02e33f2ade23d748c425de0e243
2018-07-06 13:31:22 +02:00
aa96508354 Set valid coherency type in Surface State for Buffers
Change-Id: Id84f6a8561831d29b1de9ac589a52e3e083eefda
2018-07-06 13:01:25 +02:00
684b1d75ba Refactor GraphicsAllocation::AllocationType and allocationType enums
- change GraphicsAllocatoin::AllocationType to scoped enumeration
so that ALLOCATION_TYPE_ prefix in every enum value can be removed
- all accesses are typed (example AllocationType::IMAGE)
- Rename allocationType to AllocationUsage to eliminate confusion
with multiple AllocationType enums / types

Change-Id: I16003297ecfcb0aaa5779ad00706c5d983914bbe
2018-07-06 13:00:08 +02:00
1c88165f6f Simplifying plane tests
Change-Id: I0ac491036a2f7b303a08ef6d345fef3442dc98b1
2018-07-06 11:08:39 +02:00
b3414ae5f2 Program Aux Surface params for Buffers
Change-Id: I7bf838b5c157e8d89d59cd1abc63ddb3bfc7ae30
2018-07-06 09:28:06 +02:00
94dbdb602d Add instance of gmm helper to execution environment
Change-Id: I1b044611fbad91fbb681ba233938f41502f29056
2018-07-06 08:48:19 +02:00
f26535a93d Infrastructure update
Change-Id: I25bbfb86256347ab5292c61a5a257a68c97de083
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-06 00:01:28 +02:00
1fda1331c0 AUB CSR to flush file stream on every enqueue call
This commit adds an explicit flush on AUB file stream to CSR flush method.

Change-Id: Ib491718dba6c7b4a5b1e173111830bd3ab72a3d0
2018-07-05 16:12:42 +02:00
e437589ace Add callstack printing to cloc
- callstack is printed when SEH / SigSegv / SigIll is raised

Change-Id: I4bddd1208351027ee67fc6bae2404a90022373c7
2018-07-05 14:40:56 +02:00
a7dbc55ae5 improve DEB package building
Change-Id: Ied7d980b5ec1ff478dc4f417b77734d27ee4dfe2
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-05 12:46:17 +02:00
2f9e83df11 Update AUXILIARY_SURFACE_MODE enum usage
Change-Id: Idaa3a7db04c8ed9f50a9610c516495a11f7a56b6
2018-07-05 09:00:55 +02:00