Reviewed-by: Andres Rodriguez
On 1/27/2017 6:15 PM, Lionel Landwerlin wrote:
I was bitten by that too so :
Acked-by: Lionel Landwerlin
On 27/01/17 18:47, Bas Nieuwenhuizen wrote:
Had someone that tried --with-vulkan-drivers=radv, this will guide
people in the right direction.
Signed-off
Reviewed-by: Andres Rodriguez
On 2017-01-25 06:24 PM, Bas Nieuwenhuizen wrote:
We really use the depth block for the blits.
Signed-off-by: Bas Nieuwenhuizen
---
src/amd/vulkan/radv_formats.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/amd/vulkan
Reviewed-by: Andres Rodriguez
Fixes:
dEQP-VK.api.info.image_format_properties.*
Regards,
Andres
On 2017-01-25 06:24 PM, Bas Nieuwenhuizen wrote:
Signed-off-by: Bas Nieuwenhuizen
Tested-by: Andres Rodriguez
---
src/amd/vulkan/radv_formats.c | 11 +++
1 file changed, 11 insertions
Reviewed-by: Andres Rodriguez
On 2017-01-30 01:50 PM, Dave Airlie wrote:
From: Dave Airlie
This fixes:
dEQP-VK.spirv_assembly.instruction.compute.opsrem.*
Signed-off-by: Dave Airlie
---
src/amd/common/ac_nir_to_llvm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/amd/common
Reviewed-by: Andres Rodriguez
On 2017-01-30 02:21 PM, Dave Airlie wrote:
From: Dave Airlie
This fixes a bunch of buffer related:
dEQP-VK.memory.pipeline_barrier.*
tests, that were crashing in LLVM due to this being missing.
Cc: "17.0"
Signed-off-by: Dave Airlie
---
src/
For the series:
Reviewed-by: Andres Rodriguez
On 2017-02-06 06:47 PM, Bas Nieuwenhuizen wrote:
Works for me on dota2 and talos now.
Signed-off-by: Bas Nieuwenhuizen
---
src/amd/vulkan/radv_device.c | 4 ++--
src/amd/vulkan/radv_meta_clear.c | 2 +-
src/amd/vulkan/radv_private.h
On 2017-02-08 12:19 PM, Bas Nieuwenhuizen wrote:
For allowing fast color clears in the main render targets of dota2.
Signed-off-by: Bas Nieuwenhuizen
---
src/amd/vulkan/radv_formats.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/amd/vulkan/radv_formats.c b/s
dirtyness:
- Depends on latest libdrm master, which needs a version bump
-> accompanying libdrm requires for mesa configure as well
Andres Rodriguez (3):
vulkan: update headers & registry to VK 1.0.63
radv: hardcode shader WAVE_LIMIT to the maximum value
radv: Im
attempting to calculate an approximate usage. In testing, there were no
benefits to using anything other than the maximum.
Signed-off-by: Andres Rodriguez
---
src/amd/vulkan/si_cmd_buffer.c | 27 ++-
src/gallium/drivers/radeonsi/si_state.c | 21 ++---
2
This extension allows the caller to change a queue's system wide
priority. This is useful for applications with specific
latency constraints.
Signed-off-by: Andres Rodriguez
---
src/amd/vulkan/radv_device.c | 32 ---
src/amd/vulkan/radv_priv
Signed-off-by: Andres Rodriguez
---
include/vulkan/vulkan.h| 35 +-
src/vulkan/registry/vk.xml | 264 ++---
2 files changed, 213 insertions(+), 86 deletions(-)
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index b19c1ef..e1398c6
usage. In testing, there were no benefits to
using anything other than the maximum.
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeonsi/si_state.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_state.c
b/src
attempting
to calculate an approximate usage. In testing, there were no benefits to
using anything other than the maximum.
Signed-off-by: Andres Rodriguez
---
src/amd/vulkan/si_cmd_buffer.c | 27 ++-
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/src/amd/vulkan
This patch helps lower high priority compute latency. Found by
bisecting a perf regression on computeparticles with high priority
compute queues enabled.
Reverting this micro-optimization doesn't seem to have any negative
effect on performance on Dota2 or ssao.
Signed-off-by: Andres Rodr
This extension allows the caller to change a queue's system wide
priority. This is useful for applications with specific
latency constraints.
Signed-off-by: Andres Rodriguez
---
src/amd/vulkan/radv_device.c | 32 ---
src/amd/vulkan/radv_priv
Expose the extension string as supported
Signed-off-by: Andres Rodriguez
---
src/amd/common/ac_gpu_info.c | 1 +
src/amd/common/ac_gpu_info.h | 1 +
src/amd/vulkan/radv_device.c | 2 ++
src/amd/vulkan/radv_extensions.py | 1 +
4 files changed, 5 insertions(+)
diff --git a/src
system is overloaded.
This extension is used by the steamvr composer to generate reprojected
frames when the application falls behind.
A bit of dirtyness:
- Depends on latest libdrm master, which needs a version bump
-> accompanying libdrm requires for mesa configure as well
And
Signed-off-by: Andres Rodriguez
---
include/vulkan/vulkan.h| 35 +-
src/vulkan/registry/vk.xml | 264 ++---
2 files changed, 213 insertions(+), 86 deletions(-)
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index b19c1ef..e1398c6
This allows us to pass extra parameters to the memory allocation
operation that are not defined in the vulkan spec. This is useful for
internal usage.
Signed-off-by: Andres Rodriguez
---
src/amd/vulkan/radv_device.c | 19 ++-
src/amd/vulkan/radv_private.h | 11 +++
2
https://drive.google.com/open?id=0B2ygSoZuj3IMRklfM1llbTJqTnc
Implicit sync is only required for dri BOs, where we don't have
an explicit sync protocol available.
This benefits non-dri compositors that use explicit synchronization,
e.g. the steamvr compositor.
Andres Rodriguez (2):
radv: factor out radv_al
for all radv allocations
except for wsi bos. The only systems that require implicit
synchronization are DRI2/3 and PRIME.
v2: mark wsi bos as RADV_MEM_IMPLICIT_SYNC
Signed-off-by: Andres Rodriguez
---
src/amd/vulkan/radv_device.c | 3 +++
src/amd/vulkan/radv_radeon_winsys.h
Tested-by, and Reviewed-by: Andres Rodriguez
On 2017-11-01 07:59 PM, Dave Airlie wrote:
From: Dave Airlie
This should make sure we don't treat exports buffers as local
bos.
Fixes: a639d40f13 (radv: add support for local bos. (v3))
Signed-off-by: Dave Airlie
---
src/amd/v
EXT_semaphore and EXT_semaphore_fd define no pnames. Therefore there
isn't much to do besides determining the correct error code.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/src/mesa
Guarded by PIPE_CAP_SEMAPHORE.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/extensions_table.h | 2 ++
src/mesa/main/mtypes.h | 2 ++
src/mesa/state_tracker/st_extensions.c | 2 ++
3 files changed, 6 insertions(+)
diff --git a/src/mesa/main/extensions_table.h b/src
Used by EXT_semmaphore and EXT_semaphore_fd
Signed-off-by: Andres Rodriguez
---
src/mesa/drivers/common/driverfuncs.c | 3 +
src/mesa/main/dd.h| 34 +++
src/mesa/main/externalobjects.c | 161 +-
src/mesa/main/externalobjects.h
Used to guard support for EXT_semaphore.
Signed-off-by: Andres Rodriguez
---
src/gallium/docs/source/screen.rst | 1 +
src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 +
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/i915/i915_screen.c
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/ddebug/dd_context.c | 23 +++
src/gallium/drivers/ddebug/dd_screen.c | 25 +
src/gallium/drivers/trace/tr_context.c | 36 ++
src/gallium/drivers/trace/tr_screen.c | 39
Bits to implement ServerWaitSemaphoreObject/ServerSignalSemaphoreObject
Signed-off-by: Andres Rodriguez
---
src/mesa/state_tracker/st_cb_semaphoreobjects.c | 28 +
1 file changed, 28 insertions(+)
diff --git a/src/mesa/state_tracker/st_cb_semaphoreobjects.c
b/src/mesa
Add basic semaphore object operations.
Signed-off-by: Andres Rodriguez
---
src/mesa/Makefile.sources | 2 +
src/mesa/meson.build| 2 +
src/mesa/state_tracker/st_cb_semaphoreobjects.c | 56 +
src/mesa/state_tracker
Signed-off-by: Andres Rodriguez
---
src/gallium/auxiliary/util/u_threaded_context.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/src/gallium/auxiliary/util/u_threaded_context.c
b/src/gallium/auxiliary/util/u_threaded_context.c
index 7e28b87..272d846 100644
Add the ability to signal a syncobj when a cs completes execution.
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeon/radeon_winsys.h | 12 +
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 81 +-
src/gallium/winsys/amdgpu/drm/amdgpu_cs.h | 4 ++
3
e
unsupervised effort (*fingers crossed it doesn't catch fire while I sleep*).
Patches 1-12 add support for semaphore wait/signal/import
Patch 13 implements buffer/texture barriers
Patches 14-16 implement layout transitions
Patch 17 exposes the extension
Andres Rodriguez (17):
gallium: introduce PI
Memory synchronization is left for a future patch.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 14 ++
src/mesa/main/externalobjects.c | 32
2 files changed, 46 insertions(+)
diff --git a/src/mesa/main/dd.h b/src/mesa/main
Allow importing, waiting and signaling of semaphore objects.
Semaphore objects are backed by syncobj based fences.
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeon/r600_pipe_common.c | 52 +++
src/gallium/drivers/radeon/r600_pipe_common.h | 5 +++
2 files
This operation is meant to transition resource in and out of optimized
layouts for compatibility with external clients.
Signed-off-by: Andres Rodriguez
---
src/gallium/auxiliary/util/u_threaded_context.c| 27 ++
.../auxiliary/util/u_threaded_context_calls.h | 1
Signed-off-by: Andres Rodriguez
---
src/mesa/state_tracker/st_cb_semaphoreobjects.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_semaphoreobjects.c
b/src/mesa/state_tracker/st_cb_semaphoreobjects.c
index f6242c7
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeonsi/si_blit.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_blit.c
b/src/gallium/drivers/radeonsi/si_blit.c
index abf25b6..d28eef2 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
Make sure memory is accessible to the external client, for the specified
memory object, before the signal/after the wait.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 14 ++-
src/mesa/main/externalobjects.c | 38 ++---
src
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 30 ++
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/src/mesa/main/externalobjects.c b/src/mesa/main/externalobjects.c
index b82d425..67912dd 100644
--- a/src/mesa/main
Expose the feature only when we have syncobj support available
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeonsi/si_pipe.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index
It was tested against steamvr using an opengl vr client (hellovr_opengl
for simplicity).
Regards,
Andres
On 2017-11-02 12:07 AM, Jason Ekstrand wrote:
Out of curiosity, how has this series been tested beyond regression
testing?
On November 1, 2017 20:57:57 Andres Rodriguez wrote:
This
That's actually a pretty good suggestion, as it would help me get my feet
wet on piglit changes with something simple.
Thanks,
Andres
On Nov 2, 2017 1:24 AM, "Timothy Arceri" wrote:
> On 02/11/17 15:12, Andres Rodriguez wrote:
>
>> It was tested against steamv
On 2017-11-02 01:52 PM, Eric Engestrom wrote:
On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote:
On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote:
On Wed 01 Nov 2017, Dylan Baker wrote:
Quoting Ilia Mirkin (2017-11-01 16:05:17)
On Wed, Nov 1, 2017 at 7:03 PM, Dylan Bake
On 2017-11-03 05:25 AM, Michel Dänzer wrote:
On 02/11/17 07:45 PM, Andres Rodriguez wrote:
On 2017-11-02 01:52 PM, Eric Engestrom wrote:
On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote:
On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote:
On Wed 01 Nov 2017, Dylan Baker
On 2017-11-03 05:17 AM, Nicolai Hähnle wrote:
On 02.11.2017 04:57, Andres Rodriguez wrote:
Bits to implement ServerWaitSemaphoreObject/ServerSignalSemaphoreObject
Signed-off-by: Andres Rodriguez
---
src/mesa/state_tracker/st_cb_semaphoreobjects.c | 28
+
1 file
On 2017-11-03 05:18 AM, Nicolai Hähnle wrote:
On 02.11.2017 04:57, Andres Rodriguez wrote:
Make sure memory is accessible to the external client, for the specified
memory object, before the signal/after the wait.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h
ing
the time to point it out.
Regards,
Andres
Not a big deal, but should be possible to fix very easily.
I'm sending some more comments about flushes on individual patches.
Cheers,
Nicolai
On 02.11.2017 04:57, Andres Rodriguez wrote:
This series adds radeonsi support for GL_EXT_semap
On 2017-11-03 01:56 PM, Marek Olšák wrote:
On Thu, Nov 2, 2017 at 4:57 AM, Andres Rodriguez wrote:
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/ddebug/dd_context.c | 23 +++
src/gallium/drivers/ddebug/dd_screen.c | 25 +
src/gallium
On 2017-11-03 02:20 PM, Marek Olšák wrote:
On Fri, Nov 3, 2017 at 7:18 PM, Andres Rodriguez wrote:
On 2017-11-03 01:56 PM, Marek Olšák wrote:
On Thu, Nov 2, 2017 at 4:57 AM, Andres Rodriguez
wrote:
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/ddebug/dd_context.c | 23
For both patches:
Acked-by: Andres Rodriguez
On Mon, Nov 6, 2017 at 1:06 PM, Chad Versace wrote:
> For both patches,
> Reviewed-by: Chad Versace
> Tested-by: Chad Versace
>
>
> On Mon 06 Nov 2017, Eric Engestrom wrote:
>> Cc: Dylan Baker
>> Cc: Chad Versa
From: Dave Airlie
v2: also consider gfx9 metadata
v3: ref/unref memobj->buf
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeon/r600_pipe_common.h | 7 ++
src/gallium/drivers/radeon/r600_texture.c | 111 ++
2 files changed, 118 insertions(+)
d
Reviewed-by: Andres Rodriguez
Been going through these patches as they are tightly related to the
semaphore series I'm working on.
Regards,
Andres
On 2017-11-09 08:45 AM, Nicolai Hähnle wrote:
Hi all,
I've previously sent some of this series, but I'm splitting it
Split off some cleanup patches from my GL_EXT_semaphore series.
There are no functional changes in this series.
Andres Rodriguez (3):
broadcom/vc4: fix indentation in vc4_screen.c
mesa: minor tidy up for memory object error strings
mesa/st: add missing copyright headers to memoryobjects
Signed-off-by: Andres Rodriguez
---
src/mesa/state_tracker/st_cb_memoryobjects.c | 24
src/mesa/state_tracker/st_cb_memoryobjects.h | 24
2 files changed, 48 insertions(+)
diff --git a/src/mesa/state_tracker/st_cb_memoryobjects.c
b/src/mesa
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 30 ++
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/src/mesa/main/externalobjects.c b/src/mesa/main/externalobjects.c
index e70280c..4e9f8f8 100644
--- a/src/mesa/main
Stumbled into this when adding a new PIPE_CAP.
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/vc4/vc4_screen.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/gallium/drivers/vc4/vc4_screen.c
b/src/gallium/drivers/vc4/vc4_screen.c
index 1a9eaad
This series is an initial step towards the implementation of
EXT_external_objects. It implements the functionality under
EXT_memory_object and EXT_memory_object_fd.
Note that in this family of cross-API extensions, GL is a consumer only.
Therefore, only import entrypoints are defined in the spec
Includes implementation stubs.
Signed-off-by: Andres Rodriguez
---
src/mapi/glapi/gen/EXT_external_objects.xml| 234 +
src/mapi/glapi/gen/EXT_external_objects_fd.xml | 28 +++
src/mapi/glapi/gen/Makefile.am | 2 +
src/mapi/glapi/gen/gl_API.xml
Used by EXT_external_objects and EXT_external_objects_fd
Signed-off-by: Andres Rodriguez
---
src/mesa/drivers/common/driverfuncs.c | 4 +
src/mesa/main/dd.h| 36 +
src/mesa/main/externalobjects.c | 145 +-
src/mesa/main
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 53
src/mesa/main/teximage.c| 76 +
src/mesa/main/teximage.h| 10 ++
3 files changed, 110 insertions(+), 29 deletions(-)
diff --git a
No changes, just re-indent.
Signed-off-by: Andres Rodriguez
---
src/mesa/state_tracker/st_cb_bufferobjects.c | 36 ++--
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c
b/src/mesa/state_tracker
Include no_error variants as well.
Signed-off-by: Andres Rodriguez
---
src/mapi/glapi/gen/EXT_external_objects.xml | 4 +-
src/mesa/main/bufferobj.c | 80 +++--
src/mesa/main/bufferobj.h | 16 +-
src/mesa/main/externalobjects.c
From: Dave Airlie
---
src/gallium/include/pipe/p_screen.h | 36
src/gallium/include/pipe/p_state.h | 2 ++
2 files changed, 38 insertions(+)
diff --git a/src/gallium/include/pipe/p_screen.h
b/src/gallium/include/pipe/p_screen.h
index 65e954a..929dc8f 1006
From: Dave Airlie
---
src/mesa/Makefile.sources| 2 +
src/mesa/state_tracker/st_cb_memoryobjects.c | 65
src/mesa/state_tracker/st_cb_memoryobjects.h | 25 +++
src/mesa/state_tracker/st_context.c | 2 +
4 files changed, 94 inser
From: Dave Airlie
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeon/r600_pipe_common.h | 6 ++
src/gallium/drivers/radeon/r600_texture.c | 82 +++
2 files changed, 88 insertions(+)
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h
b/src
These are used by EXT_external_objects to present UUIDs for the device
and the driver.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/get.c | 177
1 file changed, 177 insertions(+)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 54 -
src/mesa/main/mtypes.h | 5 +++-
2 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/externalobjects.c b/src/mesa/main/externalobjects.c
index
When loading a drm screen, also generate a UUID that can be used as a
cross API identifier.
This is useful for vulkan/opengl intertop to make check that external
objects are being imported/exported to the appropriate device.
Signed-off-by: Andres Rodriguez
---
src/gallium/auxiliary/pipe-loader
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 9
src/mesa/main/externalobjects.c | 93 -
src/mesa/main/texstorage.c | 76 -
src/mesa/main/texstorage.h | 13 +-
4 files changed, 160
From: Dave Airlie
Instead of allocating memory to back a texture, use the provided memory
object.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/mtypes.h | 2 +
src/mesa/state_tracker/st_cb_texture.c | 123 +
src/mesa/state_tracker
Use a memory object instead of user memory.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 12 +
src/mesa/state_tracker/st_cb_bufferobjects.c | 66 +---
2 files changed, 61 insertions(+), 17 deletions(-)
diff --git a/src/mesa/main
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 6 ++
src/mesa/main/get.c | 17 +
src/mesa/main/version.c | 16
src/mesa/main/version.h | 6 ++
src/mesa/state_tracker/st_context.c | 10
Signed-off-by: Andres Rodriguez
---
src/mesa/main/extensions_table.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
index 757b7bf..347a619 100644
--- a/src/mesa/main/extensions_table.h
+++ b/src/mesa/main
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 63 +
1 file changed, 51 insertions(+), 12 deletions(-)
diff --git a/src/mesa/main/externalobjects.c b/src/mesa/main/externalobjects.c
index 919a81c..73c9d4b 100644
--- a/src/mesa/main
This is required for interop use cases. The same device must report
identical UUIDs through the GL and Vulkan APIs so that users can
identify when it is safe to perform a memory object import.
Signed-off-by: Andres Rodriguez
---
src/amd/vulkan/Makefile.am | 1 +
src/amd/vulkan/radv_device.c
These are just basic implementations.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/formatquery.c | 17 +
src/mesa/main/mtypes.h | 3 +++
src/mesa/main/texparam.c| 27 +++
3 files changed, 47 insertions(+)
diff --git a/src/mesa/main
On 2017-06-30 07:21 PM, Jason Ekstrand wrote:
On June 30, 2017 4:04:31 PM Andres Rodriguez wrote:
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 6 ++
src/mesa/main/get.c | 17 +
src/mesa/main/version.c | 16
On 2017-07-01 11:29 AM, Jason Ekstrand wrote:
On June 30, 2017 5:58:24 PM Andres Rodriguez wrote:
On 2017-06-30 07:21 PM, Jason Ekstrand wrote:
On June 30, 2017 4:04:31 PM Andres Rodriguez wrote:
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 6
On 2017-07-04 09:19 AM, Nicolai Hähnle wrote:
On 01.07.2017 01:02, Andres Rodriguez wrote:
From: Dave Airlie
---
src/gallium/include/pipe/p_screen.h | 36
src/gallium/include/pipe/p_state.h | 2 ++
2 files changed, 38 insertions(+)
diff --git a
On 2017-07-04 09:30 AM, Christian König wrote:
Am 04.07.2017 um 15:13 schrieb Nicolai Hähnle:
On 01.07.2017 01:03, Andres Rodriguez wrote:
From: Dave Airlie
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeon/r600_pipe_common.h | 6 ++
src/gallium/drivers/radeon
On 2017-07-04 09:04 AM, Nicolai Hähnle wrote:
On 01.07.2017 01:02, Andres Rodriguez wrote:
From: Dave Airlie
---
src/mesa/Makefile.sources| 2 +
src/mesa/state_tracker/st_cb_memoryobjects.c | 65
src/mesa/state_tracker
On 2017-07-04 12:39 PM, Andres Rodriguez wrote:
On 2017-07-04 09:30 AM, Christian König wrote:
Am 04.07.2017 um 15:13 schrieb Nicolai Hähnle:
On 01.07.2017 01:03, Andres Rodriguez wrote:
From: Dave Airlie
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeon
This series is an initial step towards the implementation of
EXT_external_objects. It implements the functionality under
EXT_memory_object and EXT_memory_object_fd.
This updated version of the series has the following changes:
* Re-worked UUIDs to be provided by the gallium driver
* Use a PIPE
Used by EXT_external_objects and EXT_external_objects_fd
Signed-off-by: Andres Rodriguez
---
src/mesa/drivers/common/driverfuncs.c | 4 +
src/mesa/main/dd.h| 36 +
src/mesa/main/externalobjects.c | 145 +-
src/mesa/main
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 54 -
src/mesa/main/mtypes.h | 5 +++-
2 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/externalobjects.c b/src/mesa/main/externalobjects.c
index
From: Dave Airlie
v2: fix comment regarding fd ownership, define pipe_memory_object
---
src/gallium/drivers/ddebug/dd_screen.c | 40 ++
src/gallium/include/pipe/p_screen.h| 36 ++
src/gallium/include/pipe/p_state.h | 8 +++
From: Dave Airlie
v2: pass dedicated flag
Signed-off-by: Andres Rodriguez
---
src/mesa/Makefile.sources| 2 +
src/mesa/state_tracker/st_cb_memoryobjects.c | 66
src/mesa/state_tracker/st_cb_memoryobjects.h | 25 +++
src/mesa
Includes implementation stubs.
Signed-off-by: Andres Rodriguez
---
src/mapi/glapi/gen/EXT_external_objects.xml| 234 +
src/mapi/glapi/gen/EXT_external_objects_fd.xml | 28 +++
src/mapi/glapi/gen/Makefile.am | 2 +
src/mapi/glapi/gen/gl_API.xml
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 9
src/mesa/main/externalobjects.c | 93 -
src/mesa/main/texstorage.c | 76 -
src/mesa/main/texstorage.h | 13 +-
4 files changed, 160
Use a memory object instead of user memory.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 12 +
src/mesa/state_tracker/st_cb_bufferobjects.c | 66 +---
2 files changed, 61 insertions(+), 17 deletions(-)
diff --git a/src/mesa/main
No changes, just re-indent.
Signed-off-by: Andres Rodriguez
---
src/mesa/state_tracker/st_cb_bufferobjects.c | 36 ++--
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c
b/src/mesa/state_tracker
From: Dave Airlie
Instead of allocating memory to back a texture, use the provided memory
object.
v2: split off extension exposure logic
Signed-off-by: Andres Rodriguez
---
src/mesa/state_tracker/st_cb_texture.c | 123 +
1 file changed, 123 insertions(+)
diff
From: Dave Airlie
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/radeon/r600_pipe_common.h | 7 ++
src/gallium/drivers/radeon/r600_texture.c | 112 ++
2 files changed, 119 insertions(+)
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h
b/src
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 53
src/mesa/main/teximage.c| 76 +
src/mesa/main/teximage.h| 10 ++
3 files changed, 110 insertions(+), 29 deletions(-)
diff --git a
v2: use PIPE_CAP_MEMOBJ to guard the extension
Signed-off-by: Andres Rodriguez
---
src/mesa/main/extensions_table.h | 2 ++
src/mesa/main/mtypes.h | 2 ++
src/mesa/state_tracker/st_extensions.c | 5 +
3 files changed, 9 insertions(+)
diff --git a/src/mesa/main
This can be used to guard support for EXT_memory_object and related
extensions.
Signed-off-by: Andres Rodriguez
---
src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 +
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/i915/i915_screen.c | 1 +
src/gallium
These are used by EXT_external_objects to present UUIDs for the device
and the driver.
Signed-off-by: Andres Rodriguez
---
src/mesa/main/get.c | 177
1 file changed, 177 insertions(+)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
v2: respective changes for new gallium interface
Signed-off-by: Andres Rodriguez
---
src/mesa/main/dd.h | 15 +++
src/mesa/main/get.c | 17 +
src/mesa/main/version.c | 13 +
src/mesa/main/version.h
Include no_error variants as well.
Signed-off-by: Andres Rodriguez
---
src/mapi/glapi/gen/EXT_external_objects.xml | 4 +-
src/mesa/main/bufferobj.c | 80 +++--
src/mesa/main/bufferobj.h | 16 +-
src/mesa/main/externalobjects.c
Signed-off-by: Andres Rodriguez
---
src/mesa/main/externalobjects.c | 63 +
1 file changed, 51 insertions(+), 12 deletions(-)
diff --git a/src/mesa/main/externalobjects.c b/src/mesa/main/externalobjects.c
index 919a81c..73c9d4b 100644
--- a/src/mesa/main
1 - 100 of 248 matches
Mail list logo