Mesa (master): 121 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Mar 11 18:33:47 UTC 2019
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=24af64baa531f9ac490bc5de433b2b2b52a3ccee
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Feb 8 13:45:53 2019 -0800
turnip: preliminary support for Wayland WSI
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae82b5df88b9b307c2b7ce6f0f9b59332c83e362
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 11 11:12:32 2019 -0800
turnip: preliminary support for tu_GetImageSubresourceLayout
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cb5fd0d7163a2430f14686faad037912f18b557
Author: Chad Versace <chadversary at chromium.org>
Date: Fri Feb 1 17:08:51 2019 -0800
turnip: Use Vulkan 1.1 names instead of KHR
That is, drop KHR from all tokens that were promoted to Vulkan 1.1.
The consistency makes ctags more useful (it now jumps directly to the
real definitions in vulkan_core.h instead of the typedefs); and it makes
the code slightly less verbose.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f863dc0f72719603a6fd60a62a1d619ee2696af
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Mar 8 11:27:50 2019 -0800
turnip: guard -Dvulkan-driver=freedreno
Require -DI-love-half-baked-turnips=true as well to enable freedreno
vulkan driver.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=949ce2745d9006efab131cf3c447328143f23241
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Feb 22 08:50:58 2019 -0800
turnip: preliminary support for tu_CmdDraw
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9b34622cd00e1738637b31b0b2a93f10c201b92
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 21 22:37:34 2019 -0800
turnip: preliminary support for draw state binding
This adds support for tu_CmdBindPipeline, tu_CmdBindVertexBuffers,
etc.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54b7a57c22c8de54ae1fbd659ac141a8802eb301
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Feb 20 14:26:06 2019 -0800
turnip: add draw_cs to tu_cmd_buffer
It will hold draw commands.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cdbab016ec7a47bcde6361920bfc26c366a6a46
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 21 22:31:36 2019 -0800
turnip: parse VkPipelineVertexInputStateCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d17096b9b1282d2205d1fc34c5331cdd0260c96a
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Feb 26 22:10:34 2019 -0800
turnip: parse VkPipelineShaderStageCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d842c97c9803d7003a9a9d6e85097df5aeb0fc
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Feb 26 22:09:37 2019 -0800
turnip: compile VkPipelineShaderStageCreateInfo
Compile all shaders and upload the binaries to a BO.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=970a8fec96440dc749d309505dfa17e8db028484
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Feb 20 09:53:47 2019 -0800
turnip: preliminary support for shader modules
Save SPIR-V in tu_shader_module. Tranlation to NIR happens in
tu_shader_create, and compilation to binary code happens in
tu_shader_compile. Both will be called during pipeline creation.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e0d87878735ee65b8b5529640bc18139d0b7b9f
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 21 14:58:52 2019 -0800
turnip: parse VkPipeline{Multisample,ColorBlend}StateCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bec0abf294d704c8a5d555ef0548cdc7a100a7d0
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 21 11:46:59 2019 -0800
turnip: parse VkPipelineDepthStencilStateCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9496b377ffe05c0e2abd79fd8158f2ef0d81eb9a
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Feb 26 23:29:51 2019 -0800
turnip: parse VkPipelineRasterizationStateCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4884761e8d85225bcf53d87e6d3bf2572af30c8
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Feb 19 13:49:01 2019 -0800
turnip: parse VkPipelineViewportStateCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bea6a91cb3d8498c8a7e6985be3585cac94f20a
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 21 11:07:38 2019 -0800
turnip: parse VkPipelineInputAssemblyStateCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c584c2e86c3889e39d1f3be71fcefa18a8a5f6ae
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 21 09:41:49 2019 -0800
turnip: parse VkPipelineDynamicStateCreateInfo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df48cb7b3edc03e547b03f2994f13428012a02df
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 21 09:22:17 2019 -0800
turnip: create a less dummy pipeline
Still dummy, but at least it is created from tu_pipeline_builder.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57327626dc754be46841997c5c2f777e7f326c40
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 25 14:38:34 2019 -0800
turnip: simplify tu_cs sub-streams usage
Let tu_cs_begin_sub_stream imply tu_cs_reserve_space, and
tu_cs_end_sub_stream imply tu_cs_sanity_check. Callers are no
longer required to call them (but can still do if they choose to).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59419bb691b2ba6af55146004bf876e7c7face82
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 25 14:37:55 2019 -0800
turnip: fix tu_cs sub-streams
Update cs->start in tu_cs_end_sub_stream. Otherwise, the entry
would include commands from all prior sub-streams.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0567e84dbbcac5ef52ddd472be2f5bc1e8cdc69
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 25 14:57:03 2019 -0800
turnip: tu_cs_emit_array
Array version of tu_cs_emit. Useful for updating multiple
consecutive array-like registers, or loading a shader binary with
SS6_DIRECT.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fffaa9b4b36be4abdecefd4578ca685da57ed3e2
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 25 14:49:34 2019 -0800
turnip: add tu_cs_discard_entries
We will start a draw IB at the beginning of a subpass and consume it
at the end of the subpass. With tu_cs_discard_entries, we can reuse
the same tu_cs for all subpasses.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10c50134422ae166fccfe4fbf4961407b63d20f5
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 25 14:55:06 2019 -0800
turnip: more/better asserts for tu_cs
Asserting (cur < end) in tu_cs_emit catches much less programming
errors comparing to asserting (cur < reserved_end). We should never
write more commands than what we have reserved.
Assert IB is non-empty and sane in tu_cs_emit_ib.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa7dd6cb7f54180af91e40e38bf8890c5cc12197
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 25 14:44:52 2019 -0800
turnip: use 32-bit offset in tu_cs_entry
We don't support nor expect BOs to be that big in tu_cs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8a5e10d0d6e6cb79417cf10ef09474eb8d8fc4e
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Feb 25 14:32:36 2019 -0800
turnip: mark IBs for dumping
Includes IBs in kernel cmdbuf dumps.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a48dd9fb8ffef3f90dbf4538f8a17d4e239f997
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Wed Feb 27 12:31:06 2019 +0000
turnip: use the platform defines in vk.xml instead of hard-coding them
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d12bcbfa7a97823ec55f885613b79a070dee95f
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Feb 21 22:39:22 2019 +0100
turnip: Add todo for copies.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51115e7201987c93f805fe590678f4978aee8baf
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Feb 18 16:43:24 2019 +0100
turnip: Add buffer->image DMA copies.
Passes dEQP-VK.api.copy_and_blit.core.buffer_to_image.*
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66165634724abc9c1a0249411667045d44d2830f
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Feb 18 16:13:23 2019 +0100
turnip: Add image->buffer DMA copies.
Passes dEQP-VK.api.copy_and_blit.core.image_to_buffer.*
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d76a1e2aa17fabfa6e6fac44e044a48c02c63875
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Feb 18 16:09:27 2019 +0100
turnip: Implement buffer->buffer DMA copies.
Passes dEQP-VK.api.copy_and_blit.core.buffer_to_buffer.*
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bafbf3bafe4440e61b5ba97716de5b270a2be9d8
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Feb 4 14:52:34 2019 +0100
turnip: Add tu6_rb_fmt_to_ifmt.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=148876d424cb26ad28f0a3333792da3558a39ac9
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Feb 18 14:49:52 2019 +0100
turnip: Make tu6_emit_event_write shared.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72384715873f3b7d5a4403e2381d8fbd896c891c
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Tue Jan 15 22:54:15 2019 +0100
turnip: Add buffer memory binding.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08b1c3fc7f1c5ea5b5bee1eccb635b855c4f383b
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 14 10:53:20 2019 -0800
turnip: respect color attachment formats
Make tu6_get_native_format available to tu_cmd_buffer and start
using of it.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68c27ea92b92e4d8ba6a687523975ac383adb836
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Feb 14 14:36:52 2019 -0800
turnip: preliminary support for fences
This should be quite complete feature-wise. External fences are
still missing. We probably also want to add a simpler path to
tu_WaitForFences for when fenceCount == 1.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=15319963fa45ae3fa8b6a097fa9ed0b8751807cc
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Feb 13 10:23:32 2019 -0800
turnip: fix VkClearValue packing
Add tu_pack_clear_value to correctly pack VkClearValue according to
VkFormat. It ignores the component order defined by VkFormat, and
always packs to WZYX order.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6545461041c42022cc66811205339098b4c6973b
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Feb 1 10:36:19 2019 -0800
turnip: add support for VK_KHR_external_memory_{fd,dma_buf}
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d1c4049de8038ca16bb76aefd66b70d29f2841d
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Feb 1 10:27:28 2019 -0800
turnip: advertise VK_KHR_external_memory
AFAICT, it is supported. We don't need to handle any of the new
structs because our BOs can always be exported.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=025384527215a023bf6c035e0e8c6b1a92ddaa13
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Feb 1 10:12:38 2019 -0800
turnip: advertise VK_KHR_external_memory_capabilities
AFAICT, it is supported.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de89436216e178b616aa3969e3d68b24b60602fd
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 31 15:03:03 2019 -0800
turnip: add functions to import/export prime fd
Add tu_bo_init_dmabuf, tu_bo_export_dmabuf, tu_gem_import_dmabuf,
and tu_gem_export_dmabuf.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5239bc59c328a04d8cc44dabbacfe9a4c973ba9
Author: Chad Versace <chadversary at chromium.org>
Date: Fri Feb 1 16:48:44 2019 -0800
turnip: Fix error behavior for VkPhysicalDeviceExternalImageFormatInfo
If the handle type is unsupported, then the spec requires us to return
VK_ERROR_FORMAT_NOT_SUPPORTED.
Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
Closes: https://gitlab.freedesktop.org/bnieuwenhuizen/mesa/merge_requests/17
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b9f967cd1a95c3fe577eb4296b8d6eb017daa15
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 25 11:13:54 2019 -0800
turnip: add a more complete format table
A format table is an array of tu_native_format. Table lookup is
done through array indexing.
This commit defines a single format table for core VkFormat. It is
derived from the table in the gallium driver. There might be errors
introduced in the process of the conversion.
When an extension that defines new VkFormat is supported, we need to
add a new table for the extension.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3bf77918452062d0044771e3fa5af0105aa5cee
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 11 15:01:26 2019 -0800
turnip: preliminary support for loadOp and storeOp
- create tile_load_ib and tile_store_ib at the beginning of each
subpass
- execute the IBs at the end of each subpass
- no DONT_CARE support
- no subpass dependency analysis and subpass merging
- no zs support
- no true VkImageView support
- assume VK_FORMAT_B8G8R8A8_UNORM
- no tiling
- no MSAA
This also removes cur_cs from tu_cmd_buffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aeef7c8bd5917633392decce1c07ff36c652cc1
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Jan 29 15:00:34 2019 -0800
turnip: add TU_CS_MODE_SUB_STREAM
When in TU_CS_MODE_SUB_STREAM, tu_cs_begin_sub_stream (or
tu_cs_end_sub_stream) should be called instead of tu_cs_begin (or
tu_cs_end). It gives the caller a TU_CS_MODE_EXTERNAL cs to emit
commands to.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f59c3814232d5735aba6bed9de506e59321e4170
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Jan 28 14:33:20 2019 -0800
turnip: add tu_cs_mode
Add tu_cs_mode and TU_CS_MODE_EXTERNAL. When in
TU_CS_MODE_EXTERNAL, tu_cs wraps an external buffer and can not
grow.
This also moves tu_cs* up in tu_private.h, such that other structs
can embed tu_cs_entry.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c63fc626f98def10d20971161e672f9e7cd341c
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Jan 29 10:43:48 2019 -0800
turnip: provide both emit_ib and emit_call
tu_cs_emit_ib emits a CP_INDIRECT_BUFFER for a BO. tu_cs_emit_call
emits a CP_INDIRECT_BUFFER for each entry of a target cs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=741a4325df3a9c605bf85d2429f4af97a755e407
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Jan 28 16:31:54 2019 -0800
turnip: add tu_cs_sanity_check
It replaces tu_cs_reserve_space_assert and can be called at any
time to sanity check tu_cs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=29f111000399821452e8538ca74ce2de7210ee47
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Jan 28 15:55:40 2019 -0800
turnip: never fail tu_cs_begin/tu_cs_end
Error checking tu_cs_begin/tu_cs_end is too tedious for the callers.
Move tu_cs_add_bo and tu_cs_reserve_entry to tu_cs_reserve_space
such that tu_cs_begin/tu_cs_end never fails.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d81be3959234c3d877efd6ddee5280b01815433
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Jan 28 16:24:48 2019 -0800
turnip: specify initial size in tu_cs_init
We will drop size parameter from tu_cs_begin shortly, such that
tu_cs_begin never fails.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2774a1b97d450c81108c4f8d00c948d8e3427c4f
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Jan 28 15:52:36 2019 -0800
turnip: add tu_cs_{reserve,add}_entry
We will stop calling tu_cs_reserve_entry in tu_cs_end shortly, such
that tu_cs_end never fails.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c11580373f15e36fd6c235b62915ce9f90af8feb
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Jan 29 14:09:17 2019 -0800
turnip: add internal helpers for tu_cs
Add tu_cs_get_offset, tu_cs_get_size, tu_cs_get_space, and
tu_cs_is_empty.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=429e2d5755ea8fe2cf9db82b01262a248a0d2671
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Jan 22 10:27:22 2019 -0800
turnip: add tu_tiling_config
We need the current color/depth/stencil attachments and the current
render area to compute the tiling config.
We compute the tiling config at the beginning of each subpass for
the moment. We should change that when the driver can reorder/merge
subpasses.
It is very common that the render area is the entire framebuffer.
We might want to optimize for the case and compute the tiling config
in tu_framebuffer ctor.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c4483de0ee7b46981dab0459d222774524db461
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Tue Jan 22 10:27:18 2019 -0800
turnip: preliminary support for tu_GetRenderAreaGranularity
Set it to tile alignments, 32x32 on 6xx.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c83a7572b22c907cb41107cd991ec4fcea216cf
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 18 08:54:04 2019 -0800
turnip: emit HW init in tu_BeginCommandBuffer
Being the first commit that emits meaningful command packets, there
are many things included in this commit
- tu6_emit_xxx are low-level helpers that emit command packets
without boundary checks
- tu6_xxx are high-level helpers that emit command packets with
boundary checks
- cmdbuf->cs is a pointer to the current CS, so that we can use the
helpers above to emit to other CS
- use cmd as the variable name of tu_cmd_buffer
- there is a per-cmdbuf scratch bo for CP_EVENT_WRITE writeback
- there is a per-cmdbuf debug marker, using scratch reg 7 or 6
depending on whether the cmdbuf is primary or secondary
(olv, after rebase) REG_A6XX_SP_UNKNOWN_AB20 is renamed
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b3af6321b9231752014ed441ba9b056219e23aa
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 18 14:24:45 2019 -0800
turnip: add tu_cs_reserve_space(_assert)
They are used like
tu_cs_reserve_space(...);
tu_cs_emit(...);
...;
tu_cs_reserve_space_assert();
to make sure we reserved enough space at the beginning.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaa59ef70c100fe861c099197581a1131f2bc8a4
Author: Chad Versace <chadversary at chromium.org>
Date: Wed Jan 16 15:01:35 2019 -0800
turnip: Annotate vkGetImageSubresourceLayout with tu_stub
Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba6bcb387cc1e693d85bc11dde3913b4f9133d67
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 11 14:27:01 2019 -0800
turnip: preliminary support for tu_CmdBeginRenderPass
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1085df8176cbc18c5ad59bed3906e27c26ab1766
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 10 11:58:07 2019 -0800
turnip: preliminary support for tu_image_view_init
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=992ecdd40ebc2e027b39f98a92bdab953eedd5d5
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 10 11:51:39 2019 -0800
turnip: preliminary support for tu_BindImageMemory2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef49b07b83dc527dfdeb7ac9252c853cb67b086b
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 17 11:15:39 2019 -0800
turnip: add cmdbuf->bo_list to bo_list in queue submit
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c4df43db591367aa2766cec399da1c657245a93
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 17 11:15:21 2019 -0800
turnip: add tu_bo_list_merge
tu_bo_list_merge adds an entire list to the current list.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ad01913bd2122c108a51a32aa40cc2b23aed768
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 17 10:23:19 2019 -0800
turnip: build drm_msm_gem_submit_bo array directly
Build drm_msm_gem_submit_bo array directly in tu_bo_list. We might
change this again, but this is good enough for now.
There are other issues as well, such as not using
VkAllocationCallbacks and sloppy error checking. We should revisit
this in the near future. Same to tu_cs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c969d8b975072221adc898a34cf9bc5be8ab3402
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 16 14:40:37 2019 -0800
turnip: add more tu_cs helpers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39ba2b20d112c6235d89683a68314a48fb5571f4
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 16 14:12:53 2019 -0800
turnip: inline tu_cs_check_space
This allows the fast path (size check) to be inlined.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bcaa78236447dd696888b9da67103af74c42bc4
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 16 14:05:55 2019 -0800
turnip: update cs->start in tu_cs_end
This allows us to assert that there is no dangling command in
tu_cs_begin, rather than discarding them silently.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b01d1618a4d5d3802dce9cfafee072353566a9a8
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 16 14:00:43 2019 -0800
turnip: minor cleanup to tu_cs_end
Add comments and error checking.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af4eb208916d0fc2aecf1a0a44bc29cf49441a84
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 16 11:17:26 2019 -0800
turnip: add tu_cs_add_bo
Refactor BO allocation code out of tu_cs_begin. Add error checking.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae9a72b48b4fe77113d12a5de0cdb5a0746b8d0a
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 16 10:20:33 2019 -0800
turnip: document tu_cs
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45120127ea3775e4f4f42f8776a72b4d5f423329
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 16 10:03:02 2019 -0800
turnip: run sed and clang-format on tu_cs
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0801019d335c6584716cb99fc7b8ca42cc0064b0
Author: Kristian H. Kristensen <hoegsberg at chromium.org>
Date: Wed Jan 16 11:02:38 2019 -0800
turnip: Only get bo offset when we need to mmap
The offset we get from MSM_INFO_GET_OFFSET is an offset into the drm fd
for the purpose of mmaping the buffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=23d6f0f9700d326f135f6d927b23563c9fd98acc
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Wed Jan 16 18:27:04 2019 +0100
turnip: Move stream functions to tu_cs.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac2a845abf4edf3419acc1dec5601cbe2ea7782b
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Tue Jan 15 22:18:15 2019 +0100
turnip: Add emit functions in a header.
This adds a radv-style check_space functions + emit functions.
Also puts them in a header as a bunch of inlines, so
(1) we can use them from meta code.
(2) they are inline for performance as these are common and small.
Did not put them in tu_private.h as a bunch of inlines only
clutters up that huge headerfile.
Precise error propagation for memory allocation failures is still
todo.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e684cb80000f5e615524f538358e0321d18e3e8
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 10 14:07:50 2019 -0800
turnip: preliminary support for tu_QueueWaitIdle
This creates a new fd on each queue submit. I do not go with
DRM_IOCTL_MSM_WAIT_FENCE solely because the path is marked legacy.
Otherwise, we can use the fence id rather than requesting a fence
fd until external fences are supported and enabled.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7a6a80e6c66b8bb91dcadd9a868c46fc138b26b
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 11 10:55:15 2019 -0800
turnip: constify tu_device in tu_gem_*
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3809e6cf638936642c1b2aff00d3354a5962afb3
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 10 15:34:44 2019 -0800
turnip: add wrappers around DRM_MSM_SUBMITQUEUE_*
Add tu_drm_submitqueue_new and tu_drm_submitqueue_close.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcf24f47aac414cbd634be5085002a5698618678
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 10 15:27:28 2019 -0800
turnip: add wrappers around DRM_MSM_GET_PARAM
Add tu_drm_get_gpu_id and tu_drm_get_gmem_size.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a25a803127c5f59ce9049d22c85e5dd7771014f6
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 11 10:09:53 2019 -0800
turnip: remove unnecessary libfreedreno_drm dep
Remove libfreedreno_drm dep and unused fd_device.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91232c52fe49848aa622a31e38e5ba0d008d08e0
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jan 11 10:03:51 2019 -0800
turnip: use msm_drm.h from inc_freedreno
The recent change to msm_drm.h changed the APIs in an incompatible
way.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f32869e3dcd70f25e828d1e337e027c5980032b
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Jan 10 22:07:04 2019 +0100
turnip: Shorten primary_cmd_stream name.
It really is too long.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=26261847cfcea3562d7eda04d2cdf883eb55d3d3
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Jan 10 21:39:14 2019 +0100
turnip: Fill command buffer
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=abe352525d032cd17b441ed73b4315f350cb2177
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Jan 10 21:25:20 2019 +0100
turnip: Implement submission.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=abf0792bbeaa96212963ba7c53ddb85c33a1b46a
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Jan 10 21:20:35 2019 +0100
turnip: Make bo_list functions not static
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65e0e790548d3ef65f26d0fc6b1b370d93c577fb
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Jan 10 21:12:38 2019 +0100
turnip: Add msm queue support.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=871349965753ae7df897e2db488f22743b1bf1c5
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Dec 31 14:15:30 2018 +0100
turnip: Add a command stream.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3a9b0792325f849246baab73cf19c51f2238122
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Dec 31 11:34:32 2018 +0100
turnip: Implement a slow bo list
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48b65201a6cf7a0b93dad94b4986c5dfc49c69ef
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Dec 31 11:08:45 2018 +0100
turnip: Implement some UUIDs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ae005f0370955f9b8d6e179a13593448800a93b
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 28 17:27:12 2018 +0100
turnip: clean up TODO.
./deqp-vk -n dEQP-VK.info.*
Writing test log into TestResults.qpa
dEQP Core unknown (0xcafebabe) starting..
target implementation = 'Surfaceless'
WARNING: tu is not a conformant vulkan implementation, testing use only.
WARNING: tu is not a conformant vulkan implementation, testing use only.
Test case 'dEQP-VK.info.build'..
Pass (Not validated)
Test case 'dEQP-VK.info.device'..
Pass (Not validated)
Test case 'dEQP-VK.info.platform'..
Pass (Not validated)
Test case 'dEQP-VK.info.memory_limits'..
Pass (Pass)
DONE!
Test run totals:
Passed: 4/4 (100.0%)
Failed: 0/4 (0.0%)
Not supported: 0/4 (0.0%)
Warnings: 0/4 (0.0%)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06602bf77f8f813c7be914617193b7fa9c472524
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 28 17:25:17 2018 +0100
turnip: Remove some radv leftovers.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c72e6085e7bb466fb9c00204a21b7f0bccc0db38
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 28 16:27:24 2018 +0100
turnip: Implement some format properties for RGBA8.
Just to get some tests to not skip. This is neither complete
nor completely correct.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d30baaaba645dcc1b4b4e16c4914554b896ea54a
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Wed Jan 9 14:16:01 2019 -0800
turnip: add .clang-format
Add and apply .clang-format.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6401ad389e9cec6f523e4e4e989c190fb25a8dfc
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 21 14:49:30 2018 +0100
turnip: Implement pipe-less param query.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0562e272f8a2a41d0639b65a5158b0c3b2dfd3b
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 21 14:12:17 2018 +0100
turnip: move tu_gem.c to tu_drm.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d99dd55a04dd91af96d647d98d525df8ff7deda
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 21 13:46:06 2018 +0100
turnip: Stop hardcoding the msm version check.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9c3dc8ec8ac1deb7b62f6e43b17bca7a2d7a290
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 21 12:50:55 2018 +0100
turnip: Add image layout calculations.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=603354cffa8d98c049ff20567164061e8a4fec17
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Dec 21 00:54:15 2018 +0100
turnip: Fix memory mapping.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=426f6e46a80a12fdb47ab04cd657ddc28bf1d60d
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Dec 20 22:57:07 2018 +0100
turnip: Fix bo allocation after we stopped using libdrm_freedreno ...
Al this figuring out new errors is why I don't like reinventing the
wheel.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a24e123faf3e3ad9db1146b2fc2082072030c8
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Dec 20 18:08:49 2018 +0100
turnip: Add 630 to the list.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3b5eea2cc7592219d6b4e7f4aea06846266bad8
Author: Chad Versace <chadversary at chromium.org>
Date: Mon Nov 12 14:45:47 2018 -0800
turnip: Don't return from tu_stub funcs
Since the macros are lowercase and look like normal functions, that they
change control flow with a hidden return is surprising.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf709dfe3f82a1b58e8d332bce7770ae4b72f6c1
Author: Chad Versace <chadversary at chromium.org>
Date: Mon Nov 12 14:42:36 2018 -0800
turnip: Fix 'unused' warnings
Now turnip builds without warnings on my machine.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=471f2d8409a4bc76e849f6d86639a2cef21d9e2f
Author: Chad Versace <chadversary at chromium.org>
Date: Mon Nov 12 14:28:58 2018 -0800
turnip: Add TODO file
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=359e9016c56103614f36b80b47ee16e5cffeade6
Author: Chad Versace <chadversary at chromium.org>
Date: Tue Nov 6 21:26:45 2018 -0700
turnip: Replace fd_bo with tu_bo
(olv, after rebase) remove inc_drm_uapi
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb16ec715f12d2f1723e5a0677664b8cc55a26b3
Author: Chad Versace <chadversary at chromium.org>
Date: Mon Nov 12 14:21:45 2018 -0800
turnip: Use vk_errorf() for initialization error messages
This small cleanup better prepares turnip for VK_EXT_debug_report.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1372c95ad26da146454108b7fc44488f28fe91bb
Author: Chad Versace <chadversary at chromium.org>
Date: Mon Nov 12 14:23:42 2018 -0800
turnip: Add TODO for Android logging
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cca208a0330f72d1cba7f679cf78e1121ee23d7b
Author: Chad Versace <chadversary at chromium.org>
Date: Mon Nov 12 14:13:13 2018 -0800
turnip: Require DRM device version >= 1.3
Because the driver will require support for iova.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5486943ed969ff421c7d4ab7fa35104bff668d74
Author: Chad Versace <chadversary at chromium.org>
Date: Tue Nov 6 22:14:04 2018 -0700
turnip: Fix indentation
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99a5de14cbde2a5b66b2f1240cb17210b838e469
Author: Chad Versace <chadversary at chromium.org>
Date: Wed Nov 7 00:17:30 2018 -0700
turnip: Fix a real -Wmaybe-uninitialized
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75f2c8458b79916e5873a8554358d7953adb7bce
Author: Chad Versace <chadversary at chromium.org>
Date: Tue Nov 6 23:51:05 2018 -0700
turnip: Use vk_outarray in all relevant public functions
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ec87d56bd75e905d7ba99f4bdbf0e6e6015dd90
Author: Chad Versace <chadversary at chromium.org>
Date: Wed Nov 7 00:01:03 2018 -0700
turnip: Fix result of vkEnumerate*ExtensionProperties
Given an unsupported layer name, the functions must return
VK_ERROR_LAYER_NOT_PRESENT.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee835c779000134f62f2d01eba4693b6324c09e7
Author: Chad Versace <chadversary at chromium.org>
Date: Tue Nov 6 23:52:57 2018 -0700
turnip: Fix result of vkEnumerate*LayerProperties
The functions must not return VK_ERROR_LAYER_NOT_PRESENT. The spec
reserves that error for vkEnumerate*ExtensionProperties.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=daffb01704f5d570893195f9e71826c93d1e8961
Author: Chad Versace <chadversary at chromium.org>
Date: Sun Nov 4 23:42:55 2018 -0700
turnip: Fix indentation in function signatures
Due to s/anv/tu/, in many function signatures the indentation of
parameters was off-by-one.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4f3e0d5497d0726246da9d27697eeb2a1b71a15
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Fri Aug 17 14:48:46 2018 +0200
turnip: Disable more features.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a01edd9c86e54d734267c55b6ce56c23b0fc7082
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Fri Aug 17 14:43:01 2018 +0200
turnip: Initialize memory type in requirements.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7be2e1fc371979bd308d037cc8e45656b32b4bfd
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Fri Aug 17 14:35:59 2018 +0200
turnip: Cargo cult the Intel heap size functionality.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=462b693d943b8ba4cf80db9bc5238819ca798012
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Aug 10 13:30:08 2018 +0200
turnip: Report a memory type and heap.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e52e8183c2dec8bf0ef85284f8883dc392b7acd
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Fri Aug 10 13:19:22 2018 +0200
turnip: Add buffer allocation & mapping support.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0d62e4337e1bdbd918c4be997fed6b31c8a7e9e
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Aug 9 20:45:49 2018 +0200
turnip: Fix newly introduced warning.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcd15ab34e57b322f992c1b5292cfaefdb750cec
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Aug 9 11:14:33 2018 +0200
turnip: Remove abort.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13ff7ffbcb093f4ccbb9a1c00017034324f9af5e
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Aug 9 11:09:01 2018 +0200
turnip: Gather some device info.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7922d50bd4810c203226c70f10b43255e20317d4
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Thu Aug 9 10:36:06 2018 +0200
turnip: Fix up detection of device.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c63cb15745919acdd825e0676eb09664a772ef9c
Author: Chad Versace <chadversary at chromium.org>
Date: Sun Nov 4 22:27:54 2018 -0800
turnip: Drop Makefile.am and Android.mk
The Makefile.am doesn't work. I tried fixing it but gave up because
I don't understand Autotools. I strongly suspect the Android.mk also
doesn't work.
Rather than maintain the broken build files, let's delete them and
re-add working build files if-and-when we need them. (Maybe we'll be
lucky and turnip will never need to support Autotools!).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=26380b3a9f8fd513dc4da86798f3c15191914fc2
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Wed Aug 8 22:23:57 2018 +0000
turnip: Add driver skeleton (v2)
meson files have been updated, autotools and android still need
updating.
Only build tested.
v2 (chadv):
- Rebase onto master.
- Fix build breakage in Python scripts.
- Drop the WSI code. The internal WSI apis have changed recently, and
will likely change again before the driver goes upstream. To avoid
unnecessary rebase work, let's drop the WSI code and re-add it when
we're ready to really use WSI.
(olv, after rebase) do not enable freedreno by default on ARM
More information about the mesa-commit
mailing list