Commit Graph

76 Commits

Author SHA1 Message Date
Maciej Dziuban a90270c1de Extract functions to state_base_address_bdw_plus.inl
Change-Id: I577488aa18b7ca53e87c5e05c383d9879c545fbb
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-23 10:29:58 +02:00
Maciej Dziuban 0939aed3a5 Delete image_base.inl
Related-To: NEO-3016
Change-Id: I851f5867f22a387a6af90a93f46d985211292375
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-22 16:28:22 +02:00
Maciej Dziuban 9ef2f4b3ee Extract functions to aub_helper_bdw_plus.inl, helpers/hw_helper_bdw_plus.inl
Change-Id: Ic3857a8cbebb7a7e16eebc25fbd0244f4605c0a8
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-16 17:08:54 +02:00
Maciej Dziuban ab183b13a0 Extract functions to preamble_bdw_plus.inl
Change-Id: If23166f3e8270ce2e56fa704baf231740de54476
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-16 15:47:06 +02:00
Maciej Dziuban 03c05c3f77 Extract functions to command_stream_receiver_simulated_common_hw_base.inl
Change-Id: Ide3cede86faa397d4df84a38f0f8a79c3273c266
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3016
2019-05-15 09:25:50 +02:00
Maciej Dziuban e67879ffca Extract functions to device_queue_hw_base.inl
Change-Id: I91216453effadf7290b6364bfd442704add97566
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-14 11:32:38 +02:00
Maciej Dziuban 2e6e791a1c Extract CommandStreamReceiverHw and BlitCommandsHelper functions to inl files
Change-Id: I0019ec0dfec7f3c0088616d10fc788636c13146e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3016
2019-05-13 19:16:45 +02:00
Maciej Dziuban 0181468a12 Extract functions to buffer_base.inl
Related-To: NEO-3016
Change-Id: I49bec2ce0e68d78a7feb15f8dbb0793c7dc07aab
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-13 12:30:01 +02:00
Maciej Dziuban 3da9aebf7d Extract functions to command_queue_hw_base.inl
Change-Id: I172c5d29cc81c4f1a95f6475ec261975ee21fab6
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-10 16:33:12 +02:00
Maciej Dziuban 69c3304692 Extract methods to aub_command_stream_receiver_hw_base.inl
Related-To: NEO-3016
Change-Id: I6efcd9cb1f2470c17b8caec2e8fb54d7ca45b448
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-10 10:13:49 +02:00
Dunajski, Bartosz 0f87e9aa1a Rename HardwareInfo members
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 09:13:55 +02:00
Dunajski, Bartosz bb80d327c7 Move HardwareInfo ownership to ExecutionEnvironment [1/n]
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-08 16:11:01 +02:00
Katarzyna Cencelewska a6aac141d1 Move setting of featureTable flags
ftrL3IACoherency, ftrGpGpuMidBatchPreempt, ftrGpGpuThreadGroupLevelPreempt
from configureHardwareCustom to setupFeatureAndWorkaroundTable

Related-To: NEO-2755

Change-Id: I508ad321c60bfd88eef3654b3f418343fc5b6b31
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-04-29 13:44:22 +02:00
Katarzyna Cencelewska c5274c5087 Set FeatureTable and WorkaroundTable in setupHardwareInfo
Related-To: NEO-2755

Change-Id: I61ba85909574780464690c70b194b3d3597af43e
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-04-17 13:52:19 +02:00
Dunajski, Bartosz 8e273cfe1e Add blitterOperationsSupported flag to RuntimeCapabilityTable
Change-Id: If82f6c740d42734a260e22d58562338ea2e11630
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-16 11:34:55 +02:00
Milczarek, Slawomir e42d62c64d AUB capture in standalone mode to apply hw custom configuration
Resolves: NEO-3091

Change-Id: Ia1a17947c2911c4dff693d474e8af642f2b65003
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-04-11 20:27:13 +02:00
Dunajski, Bartosz ccd93e1ea8 Add method to dispatch blit operation from hostPtr to Buffer
Related-To: NEO-3020

Change-Id: If76f2c659c3ee343693a6d3ced86a47d7ed0bf61
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-10 15:17:44 +02:00
Milczarek, Slawomir 381ccfc0aa AUB capture with AubStream to support image dumps
Related-To: NEO-2717

Change-Id: I448627cc40776eadacaefaa321500a3cf5ff3593
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-04-08 17:28:14 +02:00
Jacek Danecki 4b2bb188b7 Add support for Gen11 platform
Related-To: NEO-2388

Change-Id: I4da92efe7f875f409cd62519a31ed4509b55bda7
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-05 14:28:55 +02:00
Maciej Plewka 4eb48e3d06 Add function to flush caches
Related-To: NEO-2536

Change-Id: Ifbf7e7a42514dd66eb0914f9d13407287481e123
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-04-05 09:48:50 +02:00
Dunajski, Bartosz 8a2917dd2c Add parsing logic for MI_FLUSH_DW and XY_COPY_BLT
Related-To: NEO-3020

Change-Id: Id665fb10ea2871f513932c5c82e3b833e715fec0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-05 09:34:04 +02:00
Dunajski, Bartosz 4c444e5303 Add XY_SRC_COPY_BLT and MI_FLUSH_DW commands
Change-Id: I096001b45eb9cd833d6dbc3506ad6508e4ec4c56
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-03 12:32:59 +02:00
Piotr Fusik d4a0c4852b Move EngineType to aub_stream.
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01:00
Maciej Plewka 9e52684f5b Change namespace from OCLRT to NEO
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Maciej Dziuban 33c07c875f Do not insert PipeControl WA or DC Flush when not needed
Change-Id: I71030273708f243324a566232528bce00a0361df
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-22 12:37:27 +01:00
Milczarek, Slawomir 49c428d1ff AUB allocation dumps with pollForCompletion
Change-Id: I610a56d7b8d1b6f1f0d6029ce6d2e62742885698
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-15 16:13:31 +01:00
Piotr Fusik 2c524f94a4 Const correctness.
Change-Id: I68be05e6c1c3c9c0dc33ba8252a0a5bbeefc06a4
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 18:11:35 +01:00
Filip Hazubski 8b57d28116 clang-format: enable sorting includes
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library

Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Zdunowski, Piotr d99e833786 Program L3 error detection behavior.
Change-Id: Ifeccb707376f5b267de58ffd6ad009cf000c5047
2019-02-19 11:23:07 +01:00
Chodor, Jaroslaw 43856e88b5 Refactor around cache flush and command queue
Change-Id: I277e27cbc60fbbb015c0024f171697408879ec0b
2019-02-10 17:59:33 +01:00
Maciej Plewka d58b9840b8 Fix surfaceState for multisample images
Change-Id: I2d4b17e162f61892ca1a86c241a722ef0c51ee42
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-02-05 12:44:57 +01:00
Zdanowicz, Zbigniew eaa241fd6a Update HW commands programming of MOCS setting
Change-Id: Ib54a2c8d5024e39251bec35ee443ea8a507d2d3f
2019-02-02 19:45:31 +01:00
Milczarek, Slawomir b11e0825c9 AUB capture with support for allocation dumps
Change-Id: I90a2b75043c33af92e4557be37cde4b9699582c6
2019-01-28 21:20:08 +01:00
Dunajski, Bartosz 276417969b Add ftrTileY flags on Linux
Change-Id: Iec00c137e332ac818ba6958e57c90dccf7629931
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-01-24 08:54:59 +01:00
Zdanowicz, Zbigniew 158f200476 Add HW commands const definitions
Change-Id: If2e9d7f7f707b7b8c7bd8dbd3853ab3b6dad0c9a
2019-01-18 12:13:25 +01:00
Artur Harasimiuk c38ba275d6 remove unused files
file is not used at all - removing it

Change-Id: I6be19c61688ac400cde278305ab77b19f3dbf5bf
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-01-11 23:13:34 +01:00
Napiatek, Henryk J f7e0decf44 Improve capturing profiling timestamps
Change-Id: I3a568afb664cae5c871e53de2c36fc8be65a4bdf
2019-01-03 12:35:56 +01:00
Zdanowicz, Zbigniew 3dca095ccf Add cache flush command after WALKER command
Change-Id: I3983dc6c0797047e17cc8189655a22a22e85892b
2018-12-19 13:15:33 +01:00
Woloszyn, Wojciech ace20aba5b Add slm size to capabilityTable
Change-Id: Ia8839b2268069ac3815ff21cf247deefbf3b5335
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com>
2018-12-06 13:43:39 +01:00
Mrozek, Michal 38fb8cd9c3 Refactor mmio programming.
Change-Id: I2ec9294b800adcd537f03d69fd4ba4e015e8db7a
2018-12-03 14:40:00 +01:00
Zdanowicz, Zbigniew 7dbd0ea4f3 Move Scratch Space functionality to dedicated class
Change-Id: Ic7655c4b971513961aba6823478a139ffc943466
2018-11-29 11:55:56 +01:00
Dunajski, Bartosz 2d77b86e70 Allow Device creating multiple CSRs [5/n]
- Move Engine type to OsContext
- Move OsContext to CSR
- Improve EngineMapper logic
- CompletionStamp cleanup

Change-Id: I935cb7169c8c48cd09837e20e3da06f6dd3437b9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-27 14:25:04 +01:00
Piotr Fusik 76efeae9d8 Pass more information to programPipelineSelect.
Change-Id: Iaabe60742269b721f8defe71306dd6e87d60d546
2018-11-15 11:45:45 +01:00
Hoppe, Mateusz 12ece3a220 Reorder STATE_BASE_ADDRESS and STATE_SIP
- STATE_SIP should be added after STATE_BASE_ADDRESS
- tests refactor.

Change-Id: I000316b70db714fb227b6174f793d4bf8806ea9a
2018-11-13 17:57:51 +01:00
Milczarek, Slawomir aa18a62d70 A partial unification of AUB and TBX CSR classes
This commit moves initialization of global MMIOs from AUB CSR to Simulated CSR

Change-Id: I93a612d4f0c82e7135287f6508870190790141bc
2018-11-10 13:12:22 -08:00
Woloszyn, Wojciech df4c6c7507 Add VME support to device caps
Change-Id: I5af819c24f2361b81ee614b2007bde7fa2a84713
2018-11-04 21:55:17 +01:00
Zdanowicz, Zbigniew ce75767ca3 Add AUB registry key to override MMIO offset value
Change-Id: Iac3bf9074e544a03e38fc437d7b21ea478d9cc5d
2018-11-03 00:33:50 +01:00
Milczarek, Slawomir 08676826c6 Init MI_SEMAPHORE_WAIT with memory polling mode
Change-Id: Id7e4ca279568bf3366ab958ab3bb9af8454f5045
2018-11-02 10:31:23 -07:00
Milczarek, Slawomir 7b1d19eaec Moved header with engine node definitions
Change-Id: Iaa78bb0584589e354b1bb469b729844121decb8f
2018-10-27 14:51:02 -07:00
Filip Hazubski 7ab7d762dc Fix CmdParse
Wrong class was used as a template parameter, causing compile errors
when building a specific driver version

Change-Id: I613ab785c06d9b5c2e58ade01b5567045ac1fcca
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-10-26 14:15:20 +02:00