Mesa (master): 24 new commits
Timothy Arceri
tarceri at kemper.freedesktop.org
Sun Aug 6 03:33:22 UTC 2017
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75fd4d8fd3ce389e82d2c449e2cc23855dbcf366
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Sun Aug 6 12:51:12 2017 +1000
docs: add EXT_memory_object and EXT_memory_object_fd to relnotes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fe5fa001376005014d0f146516fdf13a7bca4fe
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:32 2017 -0400
radeonsi: enable support for EXT_memory_object
v2: fix an indentation error
v3: don't enable for r600
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14cad8786a8f9b6ae2e76b60766ca3d904434d60
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:31 2017 -0400
radv: generate the same driver UUID as radeonsi
These need to match for interop compatibility queries.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8ea71f0475fb3e5afd881d383cf04efa7a06530
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:30 2017 -0400
radv: generate same device UUID as radeonsi
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.
v2: use ac helpers to calculate the uuid
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=059d82c1c2566afc6f7ac07d38a206c6fa7c1ed4
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:27 2017 -0400
mesa: hook up queries for NUM_TILING_TYPES and TILING_TYPES
These are just basic implementations.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68623933a06b018edb8555c26a4505832719054c
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 22:04:15 2017 -0400
radeonsi: hook up device/driver UUID queries
v2: move from r600_common to radeonsi
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6130c8e6e769cf0361e36df0b4b5d288833adc27
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:25 2017 -0400
ac/gpu: add driver/device UUID query helpers
We need vulkan and gl to produce the same UUIDs. Therefore we should
keep the mechanism to compute these in a common location to guarantee
they are updated in lockstep.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2aaa91e8db006adbd2ca672756b3fdb23c5b589
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:24 2017 -0400
mesa: hook up UUID queries for driver and device
v2: respective changes for new gallium interface
v3: fix UUID size asserts
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95cb7760493f92410faaf2214d5abe4b5fdaf308
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:23 2017 -0400
gallium: introduce device/driver UUID queries
v2: remove unnecessary returns
v3 (Timothy Arceri): updated trace
v4 (Timothy Arceri): actually dump the params in trace
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com> (v2)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e064d660205a04e7d9c63fdceebf3c293a6872ed
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:22 2017 -0400
mesa: implement glGetUnsignedByte{v|i_v}
These are used by EXT_external_objects to present UUIDs for the device
and the driver.
v2 (Timothy Arceri):
- remove extra break
- use _mesa_problem() rather the _mesa_error() for unimplemented
support for value types
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=921bdf1b6d58b86de1f6e2d0ce05088f4c209132
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:21 2017 -0400
mesa/st: expose EXT_memory_object and EXT_memory_object_fd
v2: use PIPE_CAP_MEMOBJ to guard the extension
v3 (Timothy Arceri):
- expose extensions via the cap_mappings array
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba6eee218f02df52c7f50002b66d784364db10fd
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Wed Jul 26 16:50:44 2017 +1000
mesa: hook up (Named)BufferStorageMem api
Include no_error variants as well.
v2 (Timothy Arceri):
- reduced code churn by squashing some changes into
previous commits
v3 (Timothy Arceri):
- drop unused function declaration
v4 (Timothy Arceri):
- fix Driver function assert()
- add missing GL errors
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbc9c2e4f88ac184ff53cfd9ddc149fbd6c68355
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:18 2017 -0400
mesa/st: implement memory objects as a backend for buffer objects
Use a memory object instead of user memory.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bdb0da0300f51af9f093e3f6c53a0813bc8b865
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Jul 17 23:06:18 2017 -0400
radeonsi: add basic memory object support
v2: also consider gfx9 metadata
v3: ref/unref memobj->buf
v4: add refcount comment
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddf2c830a6786c31116df92238cdc9393458b471
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:15 2017 -0400
radeonsi: factor out metadata import
Plumbing for importing memobj backed textures.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=768354002933dc812462b99f90331203707ce012
Author: Dave Airlie <airlied at redhat.com>
Date: Wed Jul 12 18:45:14 2017 -0400
mesa/st: implement memory objects as a backend for texture storage
Instead of allocating memory to back a texture, use the provided memory
object.
v2: split off extension exposure logic
v3: de-duplicate code with st_AllocTextureStorage
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=999653e398bf1020eb517d7927fa75360cf7c399
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:13 2017 -0400
mesa/st: factor out st_AllocTextureStorage into a helper
Plumbing for using memory objects as texture storage.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0aac1b0aaef483c4bb8601e941438dfdb37b93f
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:12 2017 -0400
mesa: hook up memory object multisamples tex(ture)storage api
V2 (Timothy):
- error check memory == 0 before lookup
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc790c50ccb060cf8d07a5be59d8b3868a627784
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:11 2017 -0400
mesa: hook up memoryobject tex(ture)storage api
V2 (Timothy Arceri):
- formating fixes
V3 (Timothy):
- error check memory == 0 before lookup
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49f4ecc67773c082d93708bdf111acc4248678da
Author: Dave Airlie <airlied at redhat.com>
Date: Wed Jul 12 18:45:10 2017 -0400
mesa/st: start adding memory object support
v2: pass dedicated flag
v3 (Timothy Arceri):
- remove unrequired _mesa_init_memory_object_functions()
call in the state tracker.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com> (v2)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=714dfaae726534c3791df1ef8a9768f4435166d8
Author: Dave Airlie <airlied at redhat.com>
Date: Wed Jul 12 18:45:09 2017 -0400
gallium: introduce memory object
v2: fix comment regarding fd ownership, define pipe_memory_object
v3: remove stray return
v4 (Timothy Arceri): update trace
v5 (Timothy Arceri): actually dump the params in trace
Reviewed-by: Marek Olšák <marek.olsak at amd.com> (v3)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e8e4ee230af2484d6aa22dfcc99ed4354f5842e
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:08 2017 -0400
mesa: add support for memory object parameters
V2 (Timothy Arceri):
- fix copy and paste error with error message
V3 (Timothy Arceri):
- drop the Protected field for now as its unused
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b7c5744791fe403375dd1d61c4a99b882044415
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:07 2017 -0400
mesa: add support for memory object creation/import/delete
Used by EXT_external_objects and EXT_external_objects_fd
V2 (Timothy Arceri):
- Throw GL_OUT_OF_MEMORY error if CreateMemoryObjectsEXT()
fails.
- C99 tidy ups
- remove void cast (Constantine Kharlamov)
V3 (Timothy Arceri):
- rename mo -> memObj
- check that the object is not NULL before initializing
- add missing "EXT" in function error message
V4 (Timothy Arceri):
- remove checks for (memory objecy id == 0) and catch in
_mesa_lookup_memory_object() instead.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=322ee1b3636a38c22bc65009f13667a9d5f438cf
Author: Andres Rodriguez <andresx7 at gmail.com>
Date: Wed Jul 12 18:45:06 2017 -0400
mapi: add EXT_external_objects and EXT_external_objects_fd
Includes implementation stubs.
Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Acked-by: Timothy Arceri <tarceri at itsqueeze.com>
Acked-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
More information about the mesa-commit
mailing list