Mesa (master): 26 new commits
Nicolai Hähnle
nh at kemper.freedesktop.org
Wed Apr 5 09:20:57 UTC 2017
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=570e50af4ba9f7e003465b4e91e2cb93ae1615a1
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 21:11:05 2017 +0100
radeonsi: enable ARB_sparse_buffer
v2:
- fill in DRM version requirement
- disable on SI due to CP DMA faults
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aee473eb01abac74d1c10330005ab1378f017ce9
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Fri Mar 24 23:30:55 2017 +0100
radeonsi: disable SDMA clears and copies for sparse buffers
VM faults cannot be disabled for SDMA on <= VI.
We could still use SDMA by asking the winsys about which parts of the
buffers are committed. This is left as a potential future improvement.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a685ce9a7862752ea523fa74310901171da0c47
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Wed Feb 8 11:07:19 2017 +0100
gallium/radeon: implement pipe->resource_commit
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e077c5fe657906f52b23fd99f52e19c8cbab5c67
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 18:24:59 2017 +0100
gallium/radeon: transfers and invalidation for sparse buffers
Sparse buffers can never be mapped by the CPU.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5969a373a13bae8e908d26b8f43fd1265bc2e573
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 18:03:55 2017 +0100
gallium/radeon: implement sparse buffer creation
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47e59a7e36351de75ed0539e693bbf3727b44084
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Mon Feb 13 12:51:12 2017 +0100
winsys/amdgpu: sparse buffer debugging helpers
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0baee15596d51df5fe0f0edd4b48bd500c26e2cd
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:58:39 2017 +0100
winsys/amdgpu: take fences when freeing a backing buffer
We never add fences to backing buffers during submit. When we free a
backing buffer, it must inherit the sparse buffer's fences, so that it
doesn't get re-used prematurely via the cache.
v2:
- remove pipe_mutex_*
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79dae12b416d3544da6d7b3eb8d43d4a934f93ce
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:11:00 2017 +0100
winsys/amdgpu: add sparse buffers to CS
... and implement the corresponding fence handling.
v2:
- add missing bit in amdgpu_bo_is_referenced_by_cs_with_usage
- remove pipe_mutex_*
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=667da4eaed37de143681711344aba19373bee1d0
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:04:49 2017 +0100
winsys/amdgpu: sparse buffer creation / destruction / commitment
This is the bulk of the buffer allocation logic. It is fairly simple and
stupid. We'll probably want to use e.g. interval trees at some point to
keep track of commitments, but Mesa doesn't have an implementation of those
yet.
v2:
- remove pipe_mutex_*
- fix total_backing_pages accounting
- simplify by using the new VA_OP_CLEAR/REPLACE kernel interface
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3482486473a471b4da80b2db2c7c3f3b6445d02
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:03:59 2017 +0100
winsys/amdgpu: add sparse buffer data structures
v2:
- remove pipe_mutex_*
- use a simple page commitment array
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3e514361c817037e5c26edaf4200a20a3442382
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:53:49 2017 +0100
winsys/amdgpu: extend amdgpu_add_fence to allow adding multiple fences
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae4f442304aee57e23dde7a2f3b70b54c1565966
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:35:02 2017 +0100
winsys/amdgpu: build handles and flags list late on submit thread
This probably has only minor performance effects, but it simplifies some
subsequent code slightly.
Ideally, it could also be used to simplify the handling of slab buffers
in the same way, but unfortunately that's not possible as long as we need
indices for relocations.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e476f6c03d6273247c3d67484d5ca09f3782225
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:08:07 2017 +0100
winsys/amdgpu: share common code in amdgpu_add_fence_dependencies
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c125fdef0417fc86bcb041784234f030a8dc48f
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:06:06 2017 +0100
winsys/amdgpu: extract amdgpu_do_add_real_buffer
We will use it for delayed adding of sparse buffers' backing buffers.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a338f427ac486aeedd2a5a19013ee2550d0ebb1a
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 17:00:10 2017 +0100
winsys/radeon: sparse buffers will not be supported
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2637a17d95e645cc45eb648d03324502ab99748
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Feb 7 16:59:54 2017 +0100
radeon/winsys: add sparse buffer interface
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9bc4d8305c3f3ee4b82386ae119d72d3a66a4d2
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 23:32:48 2017 +0100
st/mesa: plumbing for sparse buffers
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2599b23f7c7a00b5711831792c2acdf1786c99aa
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 21:11:29 2017 +0100
st/mesa: enable ARB_sparse_buffer when supported
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=634266c9522be9b3654f67bd28eebbd6545d3968
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Mar 23 18:43:07 2017 +0100
trace: add resource_commit pass-through
v2: fix return type to bool (Marek)
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e1c75acae530b8386d0f6529ea1c78daaf8d412
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Fri Feb 17 14:55:49 2017 +0100
ddebug: add resource_commit pass-through
v2: fix return type to bool (Marek)
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6e6fa01a51f3c9328c4cfdc1d7b3b448de11b84
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 21:10:44 2017 +0100
gallium: add sparse buffer interface and capability
v2:
- explain the resource_commit interface in more detail
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e6feacf6aa589574da3b70f32ed4e87494c7000
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 23:24:35 2017 +0100
mesa: implement sparse buffer commitment
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6fcbe1c2a88a33128bdf3ae02705d65dd9a3e8e
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 21:50:32 2017 +0100
mesa: implement sparse storage buffer allocation
v2:
- spec quote and style (Ian)
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=94227684c49a03c91d2ae4d978fa0ae72084e013
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 20:56:48 2017 +0100
mesa: implement SPARSE_BUFFER_PAGE_SIZE_ARB
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d085c7ce7c7da3441ea6320c4eb690d665d8c8dc
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Feb 2 20:47:31 2017 +0100
mesa: Add GL_ARB_sparse_buffer boilerplate
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0970de8398fa292299f42c2664b59f58ee61aa2
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue Apr 4 16:35:27 2017 +0200
configure.ac: require libdrm_amdgpu 2.4.77
The sparse buffer implementation requires amdgpu_bo_va_op_raw.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
More information about the mesa-commit
mailing list