Commit Graph

4205 Commits

Author SHA1 Message Date
Michal Mrozek
4803e82eda Add entry points for detecting whether cpu copy is required.
Change-Id: I04438da6241eedf127fd7e51ab257d22186d904e
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-28 13:48:06 +01:00
Bartosz Dunajski
4c781c1b98 Check if cache flush for BCS is required
Change-Id: Ia36856c46fe7da7a72dae14e2543456fb30ec409
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-02-28 13:45:46 +01:00
Kamil Kopryk
baf80c28ec Change place of setBindingTableEntryCount call
Change-Id: Ib2ab480404877fef88082170258c4deead0e4e00
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4235
2020-02-28 13:20:38 +01:00
Michal Mrozek
e5760beb1f Remove assert.
Change-Id: Ib19354c9175321511d91cb54e3e43397415df2b1
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-28 09:38:55 +01:00
Jaroslaw Chodor
82bda4febc Kernel descriptor, slm - don't use byVal
Change-Id: I673179ca5caa610038805b91a961005db52ad28a
2020-02-28 07:24:00 +01:00
Chodor
424120a86e Kernel descriptor - copy name
Change-Id: Ic4ef196cf5ff2be7a06a5c09804685341944e56f
2020-02-28 01:31:31 +01:00
Artur Harasimiuk
1dab5a645e infrastructure update
Change-Id: I70b7fadf07375b3ad521b3fd84c6d580cb19b603
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-02-28 00:29:03 +01:00
Artur Harasimiuk
4a443828a9 infrastructure update
Change-Id: Iac6d825673467bd7641ec0215e37c35a9e5f0005
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-02-27 21:07:39 +01:00
chmielew
e28419fc91 moving ocloc to shared folder
Change-Id: Ic739cf747f7e6fae2c0cd57f0bc1aa0899d3aa53
2020-02-27 18:46:00 +01:00
Dunajski, Bartosz
47021dcc69 Remove not needed access modifier
Change-Id: I70892145ccc2e0a44ae7178fc3ce46c3488cdfb1
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-27 17:20:59 +01:00
Bartosz Dunajski
db012c9d5c Add cache flush for blit enqueues
Change-Id: I31dbeed9973c5077bf79ea7c7534b2430bca5083
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-02-27 16:16:20 +01:00
Mateusz Jablonski
ec647dabe9 Move GmmHelper to RootDeviceEnvironment
Related-To: NEO-3691
Change-Id: I8afdf65f360acc5b9d7b47a728d1d185e5e3700b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-27 15:50:56 +01:00
Adam Cetnerowski
55ab09e618 Documentation refactoring [1/n]
- rename contribution to match Github expectations
- move double-precision information to FAQ
- move release cadence to README
- move quality expectations fo contribution guide
- cleanup README
- fix links

Change-Id: Iba9c5e2d57ea5264fd6cc2abb86ee6a98a074840
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-27 15:25:47 +01:00
Mateusz Hoppe
a799358ac7 Correct CMakeLists style
Change-Id: Ie34fcd4356e1610b4fd9e9d0c60a454d7286596a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-27 14:12:21 +01:00
Chodor
beab60f626 Fixing static version of ocloc
Change-Id: I3c933726f10edb1da438cd2e069d376f173786b9
2020-02-27 14:02:30 +01:00
Mateusz Jablonski
e2d69f7a7c Windows: correct creating shareable allocation
Change-Id: If3f67a9d3c4df072a8d23dcc2ccaa4b04a8bbb67
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-27 13:31:38 +01:00
Adam Cetnerowski
6094072504 Documentation: Cleanup build instruction
Change-Id: I31b0af89448b7e5ea3a2f1efb00ae61c57c77eff
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-27 13:27:29 +01:00
chmielew
697848f3d1 ocloc as shared library, ocloc API
Change-Id: Ie866b9ad5ee6de8c8b10f83551e2a3cab9d64a02
2020-02-27 12:14:05 +01:00
Igor Venevtsev
d4d5971d84 Add gpuAddressSpace param to AubManager::create()
Related-To: NEO-2941

Change-Id: I5d6a35748ec4752c830a6ed329b5ca4a3d6627f8
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-02-27 11:51:13 +01:00
Sebastian Sanchez
61ba7a838f Define MI_MATH greaterThan() function
Define MI_MATH "greater than" function and simplify code
in encodeGreaterThanPredicate().

Change-Id: Ib1d0a3f712e672f105d0697a105e4d9b14301172
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-27 10:07:53 +01:00
Dunajski, Bartosz
8a791f5874 Add helper method to obtain TimestampPacket for cache flush
Change-Id: Ie0f3b72adc0ca5c8158b44d2b0740f20adf33fa0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-27 08:51:54 +01:00
Sebastian Sanchez
54b2763466 Enforce ALU register type for EncodeMath interface
General purpose register cannot be used for MI_MATH
calculations. ALU registers must be used.

To prevent passing general purpose register into the
EncodeMath interface, enforce a ALU register type
at compile time.

Change-Id: I98aa8605cde27e7003029d33b3ef3bcfb2306878
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-27 08:33:04 +01:00
Mateusz Hoppe
2def8cdeec Cleanup shared sources
- link sources to neo_core

Change-Id: I7efaadcee80f7bbf8ac40f141c60d31f69161de7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-26 21:52:03 +01:00
Jaroslaw Chodor
207c71ceca Adding kernel descriptor initialization
Change-Id: Ica3ace0d06202e6c0909f91dd53e61824fe73c23
2020-02-26 20:02:01 +01:00
Adam Cetnerowski
bcd435a1b1 ULT renaming: Event tests
Related-To: NEO-2236

Change-Id: Ic02e779c317b2d0eb16f35c6b4e7111bd2ea25d1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-26 19:06:41 +01:00
Adam Cetnerowski
ba527a826d Refactor documentation location
Change-Id: Iaa76070e836b079374ec82067e3febb7f5eb9d32
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-26 17:22:27 +01:00
Filip Hazubski
bfaa531bf5 Move extensions directory
Change-Id: I47363e93839171c5b4eb85037f2b4ca5444e0544
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-02-26 14:34:31 +01:00
Mateusz Jablonski
078ef764a4 Windows: discover all devices
Related-To: NEO-4208
Change-Id: I9d577ce3acc7545f7c424afcbd9869f50db200e6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-26 14:05:08 +01:00
Lukasz Jobczyk
c824b2e451 Create local memory bank selector per root device
Related-To: NEO-3857

Change-Id: I52a2908715e8f2f9b5d84891bd039b88b3d163ca
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-02-26 11:48:26 +01:00
Jablonski, Mateusz
2a993fda3d Linux: discover all devices
Related-To: NEO-4208

Change-Id: Id1a6d4a71790623fe27a1687c8a3553b3b70f398
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-02-26 11:07:40 +01:00
Adam Cetnerowski
d42d33d993 ULT renaming: Event callback tests
Related-To: NEO-2236

Change-Id: I95704b9a908e9f2358654a60729dd39dea048789
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-26 11:01:28 +01:00
Sebastian Sanchez
1187eb0375 Fix encodeMulRegVal() calculation
encodeMulRegVal() makes extensive use of encodeAluAdd().

The following problems are addressed:

* encodeAluAdd() performs an addition and saves the
  calculated result to the first register. Saving the
  result to the first register clears the calculated result.

* An array of MI_MATH buffers is setup prior to performing a
  series of encodeAluAdd()'s where the same registers are
  reused for the calculations. For calculated results to be
  carried over from one encodeAluAdd() operation to subsequent
  encodeAluAdd() operations, the MI_MATH buffer needs to be
  setup per encodeAluAdd().

Create EncodeMath<Family>::addition() to reserve a MI_MATH buffer
and performs the addition by calling encodeAluAdd().
Modify encodeAluAdd() to save calculated result to a third
register. Then, after EncodeMath<Family>::addition() is called
in encodeMulRegVal(), copy the calculated result from the result
register to the first register from the EncodeMath<Family>::addition()
operation. This will allow the calculated value to be carried over
to subsequent addition operations.

Change-Id: I9c6f8362a1ca2f7e3361aaa48d8748dd6ff0f4c8
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-25 14:13:35 -08:00
Artur Harasimiuk
8e4e053837 infrastructure update
Change-Id: I8fa82eb9c3774cf6e98594e27bdfd43fe88cda9a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-02-25 17:37:25 +01:00
Jacek Danecki
cc7031f9dd doc: remove information about /dev/dri/card* files
Starting with commit 807586aafd Neo
has been using only /dev/dri/renderD* files.

Change-Id: I3fd3b02e7db8977b7d24d32da27102e53f41187b
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-02-25 17:18:53 +01:00
Michal Mrozek
f320b71091 Improve CPU copy debug flags.
- now setting them to 0 disables cpu copies.

Change-Id: Id850c999a04479092d562e5df6e0de3ece80051c
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-25 16:57:35 +01:00
Mateusz Jablonski
2c62dadd97 Pass RootDeviceEnvironment to setRenderSurfaceStateForBuffer method
Change-Id: I3d3b9515be7d31aef64c260d0988db357e8122ca
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-25 15:50:18 +01:00
Kamil Kopryk
71468dd11d Add selector for copy engines
Change-Id: I28b11aead8e554b7299ff7f504751847068a2edf
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4320
2020-02-25 14:10:25 +01:00
Kacper Nowak
ce8e5d18d7 Manifest update infra
Change-Id: I6a6f6c4e5bd4203207a2015483596fb9ccf89cd4
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-02-25 14:02:29 +01:00
Mateusz Jablonski
74072d4916 Access GmmHelper and GmmClientContext via RootDeviceEnvironment
Related-To: NEO-3857
Change-Id: Ie9d719c9884fd89580ce3592a0d4d4cd42862f47
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-25 12:32:16 +01:00
Mateusz Hoppe
4a41c9741c Move options_dll file to shared directory
Change-Id: I6a54610741a91aeb902a405bdc0e4ef444106719
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-25 11:47:26 +01:00
Adam Cetnerowski
1c19df8d62 ULT renaming: Async events handler tests
Related-To: NEO-2236

Change-Id: Iee0749cea96e917053f05ac3e404d644c667395e
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-25 10:34:09 +01:00
Jaroslaw Chodor
915b80b1df Introducing kernel descriptor
Change-Id: I4ce6ebf27a81cf14b055817ebfe76d8427e349ab
2020-02-25 00:03:15 +01:00
Andrzej Swierczynski
e453d2c04f Change method of access to pinBB vectors
Related-To: NEO-4319

Change-Id: I70695361c368a7769b6dbb7db57597f188226133
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-02-24 17:23:54 +01:00
Maciej Plewka
357fdc2e65 Move built ins to share directory
Change-Id: I740a349a0f15229cd356fffe996932029bf0f98b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-24 15:46:44 +01:00
Michal Mrozek
0e85ccf084 Choose cpu copy for 32 bit application using local memory.
Change-Id: I74aed9475185b09d4569fafb3427052fff73fd89
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-24 15:32:11 +01:00
Dunajski, Bartosz
5751b5eb27 Improve getGRFsPerThread helper
Change-Id: I8d4d2ce35ca6f6054e74930e6a936fc2e49bfcc3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-24 15:04:20 +01:00
Mateusz Jablonski
49aac737a7 Don't use ClDevice in Buffer::setSurfaceState
Change-Id: Id948b11ee7c0decb7a2e4e4fea70e950ee14913f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 14:42:21 +01:00
ocldev
b6f8948712 igc revision update
Change-Id: I1e92cf17a718073b6c2ab9f3bd682bac9f4651ec
2020-02-24 14:25:21 +01:00
Dunajski, Bartosz
750036742d Create only available engines
Change-Id: If7880db0dd7aa76b578d0e4e300f510ca686b825
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-24 14:06:36 +01:00
Mateusz Jablonski
c345939dd6 Update internal
Change-Id: I9d137214b604ec43f9e8f3ad50ee30d25bf29805
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 12:26:21 +01:00