b4880ea2ebfc20957b964f4e8fced682c3a59874 |
|
16-Feb-2017 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Never try to create more than max_sets descriptor sets. We only use the freed ones after all free space has been used. If the app only allocates small descriptor sets, we might go over max_sets before the memory is full. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com> CC: <mesa-stable@lists.freedesktop.org> Fixes: f4e499ec79147f4172f3669ae9dafd941aaeeb65 (cherry picked from commit f4487016226c3337fa5fb2244c75ce298093c3ce)
/external/mesa3d/src/amd/vulkan/radv_private.h
|
5ae4de18d93eb47fefe09b516189a2794f2e4a51 |
|
16-Jan-2017 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Support multiple devices. Pretty straightforward. Also deleted the big comment block as it is a pretty standard pattern for filling in arrays. Also removed the error message on non-existent devices, as getting 7 errors printed to the console each time you enumerate the devices is pretty confusing. v2: Add constant for number of DRM devices. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
8406f79d6a3511dc6bf4d9c2ab3a80828c363d3a |
|
16-Jan-2017 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Get physical device from radv_device instead of the instance. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
3634dfd9e7fb69dbdf738d206e271c53e71138f8 |
|
16-Jan-2017 |
Dave Airlie <airlied@redhat.com> |
radv/meta: consolidate the depth stencil clear renderpasses We only need one per samples (maybe not even that), reduce all the unneeded ones. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
1e1bddf15a1720917b11e44dc639351ad613c3dc |
|
14-Jan-2017 |
Andres Rodriguez <andresx7@gmail.com> |
radv: make device extension setup dynamic Each physical device may have different extensions than one another. Furthermore, depending on the software stack, some extensions may not be accessible. If an extension is conditional, it can be registered only when necessary. v2: removed unused function and fixed indentation Signed-off-by: Andres Rodriguez <andresx7@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
0eb8b6a3e1e36d0961387e26c8ce03f7e296d81e |
|
14-Jan-2017 |
Andres Rodriguez <andresx7@gmail.com> |
radv: use a winsys context per-queue, instead of per device v2 Queues are independent execution streams. The vulkan spec provides no ordering guarantees for different queues. By using a single context for all queues, we are forcing all commands into an unecessary FIFO ordering. This change is a preparation step to allow our-of-ordering scheduling of certain work tasks. v2: Fix a rebase error with radv_QueueSubmit() and trace_bo Signed-off-by: Andres Rodriguez <andresx7@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
cb89d19dbbaac301534e7a543bb9bcd740b05008 |
|
11-Jan-2017 |
Grazvydas Ignotas <notasas@gmail.com> |
radv: remove some unused macros and functions These seem unlikely to be used. Also remove irrelevant comment about SKL. v2: forgot to rebase on master Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
8bc39e251bf9793b30388aeb468d9cbe8eeeacab |
|
02-Jan-2017 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Create single RADV_DEBUG env var. Also changed RADV_SHOW_QUEUES to a no compute queue option. That would make more sense later when the compute queue is established, but the transfer queue still experimental. v2: Don't include the trace flag. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
97dfff54105ac10b6e2daace020687eefdcc28c0 |
|
23-Dec-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Dump command buffer on hang. v2: - Now use the filename specified by RADV_TRACE_FILE env var. - Use the same var to enable tracing. I thought we could as well always set the filename explicitly instead of having some arbitrary defaults, and at that point we don't need a separate feature enable. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
41969f0d068e15730c8b22d79293cc36cb414da6 |
|
13-Dec-2016 |
Dave Airlie <airlied@redhat.com> |
radv: drop unused fields in physical device. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
059af2515ad778f569e999547cb44a195f66c198 |
|
27-Dec-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Also skip DCC clear flushes for compute. (airlied: fixes DOOM hang with compute queue enabled) Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
f2523ebf52a4ed1e9a90ce527398d13ee493cb22 |
|
17-Dec-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Create an empty CS per ring type. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
accc5fc026ec45171c458334bdee16747fbe7824 |
|
17-Dec-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Don't enable CMASK on compute queues. We can't fast clear on compute queues. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
d0e6fb057444df3b165ea02fe5b063a7b24f2010 |
|
01-Dec-2016 |
Dave Airlie <airlied@redhat.com> |
radv: init compute queue and avoid initing transfer queues Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
f11ea8779da23aa4e87002991bce6bb05074f1c5 |
|
30-Nov-2016 |
Dave Airlie <airlied@redhat.com> |
radv: clear image implementation for compute queue Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
ef5f59c9a979bbba7f42ba6cadc9dafdcac99380 |
|
30-Nov-2016 |
Dave Airlie <airlied@redhat.com> |
radv: implement image->image copies using compute shader This is required for having a separate compute queue, we probably can't use this on GFX queue due to DCC. v2: Set coord_components = 2 for itoi texture fetch. (Bas) Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
94a7434bbc26590943fed5879d49bbc3395da6e5 |
|
01-Dec-2016 |
Dave Airlie <airlied@redhat.com> |
radv: Store queue family in command buffers. v2: Added helper (Bas) Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
c20701f4be953658cd000d6e075200ba9b26f814 |
|
30-Nov-2016 |
Dave Airlie <airlied@redhat.com> |
radv: start fixing up queue allocate for multiple queues v2: Fix error handling and zero init the device (Bas) Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
53e1c970efec039047527cd06aafd09ecb86babe |
|
08-Dec-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Use enum for memory types. Inspired by patches from Eric Engestrom. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Cc: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
4ae84efbc5c6f3cad830c71b7569a2659e43fb29 |
|
08-Dec-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Use enum for memory heaps. Inspired by patches from Eric Engestrom. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Cc: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
011e5570f833ad13d4827ebc4b25bab2b672cc0c |
|
08-Dec-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Clean up some unused variables. Leftovers from anv? Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
85118a1e4d27cdb7a3c5b958f325954c7166a647 |
|
28-Nov-2016 |
Dave Airlie <airlied@redhat.com> |
radv: move descriptor set userdata emission to draw flush time. This is another step towards having the compiler decide the user sgpr layout. This still emits the descriptors sets for all shader types, but we will fix this later. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
a77426fd922259bc37b762fa22b42b91d3ce494a |
|
07-Dec-2016 |
Edward O'Callaghan <funfunctor@folklore1984.net> |
vulkan: use STATIC_ASSERT instead of static_assert Following the spirit of commit 23d1799f, fixes compilation warnings on Android build due to lack of C11 features. Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
f3a1c17b96ad797735214d2012b1436af9cb46d4 |
|
24-Nov-2016 |
Emil Velikov <emil.velikov@collabora.com> |
radv: Make radv_finishme only warn once per call-site Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
f395e3445df98b0398865a1897bca003f9add6f4 |
|
22-Nov-2016 |
Dave Airlie <airlied@redhat.com> |
radv: add support for shader stats dump I've started working on a shader-db alike for Vulkan, it's based on vktrace and it records pipelines, this adds support to dump the shader stats exactly like radeonsi does, so I can reuse the shader-db scripts it uses. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
43ee4917cadbba7677def091333edbf3cf069f8a |
|
22-Nov-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
radv: Store UUID in physical device. No sense in repeatedly determining it. Also, it might be dependent on the device as shaders get compiled differently for SI/CIK/VI etc. Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
f88ea8c72abfe1e7a8dc4875d254ecb8cf325598 |
|
01-Nov-2016 |
Dave Airlie <airlied@redhat.com> |
radv: drop some unused cmask info members. These were assigned but never used. Inspired by similiar patch in radeonsi. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
0a153f4ee472f8f17575bbfe05f1c96fb5ecf1ea |
|
25-Oct-2016 |
Fredrik Höglund <fredrik@kde.org> |
radv: mark the fence as submitted and signalled in vkAcquireNextImageKHR This stops the debug layers from complaining when fences are used to throttle image acquisition. Cc: "13.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
6c3bd1cdb3c60a0140b57a2064e02f5869b0f9bc |
|
14-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: port to common wsi codebase This drops all the radv WSI code in favour of using the new shared code that was ported from anv This regresses Talos for now, Jason has pointed out the bug is in Talos and we should wait for them to fix it. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
e4df1830e474cd5bd3f3123c4c207ffa9148fcf9 |
|
14-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: drop pointless struct decl. Acked-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
4450f405195d77f8bcc3fbd3e590405c8f540fab |
|
14-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: move to using shared vk_alloc inlines. This moves to the shared vk_alloc inlines for vulkan memory allocations. Acked-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
c6f1077e0d96400c89ad577e841b1851ab9e3349 |
|
14-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: drop local MIN/MAX macros. Use the ones in macros.h instead. Acked-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
f5daaba0fdd842bf04ede903aea3e63d10a27c6e |
|
13-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: make use of shared vector helper. This removes the vector code from radv in favour of sharing code with anv. Acked-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
8cc9f89d2613da51db8f4d8516d450addf11c63f |
|
12-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: remove the validation layer and some related bits. As pointed out by Emil this isn't used in anv anymore, and it was totally unused in radv anyways. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
014ec78fb26305b0d6ed1a9ae5e74915860df934 |
|
11-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: drop entrypoint split out. radv really doesn't need different dispatch per gen yet, there really isn't that many differences yet. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
12301c54186d3c515ca3ee72c70091fc40f0145e |
|
11-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: drop the RADV_CALL macro. This is leftover from anv, and we really never needed it. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
ba43768a1e9740076825a873001e1d7a3259742b |
|
07-Oct-2016 |
Edward O'Callaghan <funfunctor@folklore1984.net> |
radv: Use proper header guards over 'pragma once' directives Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|
f4e499ec79147f4172f3669ae9dafd941aaeeb65 |
|
07-Oct-2016 |
Dave Airlie <airlied@redhat.com> |
radv: add initial non-conformant radv vulkan driver This squashes all the radv development up until now into one for merging. History can be found: https://github.com/airlied/mesa/tree/semi-interesting This requires llvm 3.9 and is in no way considered a conformant vulkan implementation. It can run a number of vulkan applications, and supports all GPUs using the amdgpu kernel driver. Thanks to Intel for providing anv and spirv->nir, and Emil Velikov for reviewing build integration. Parts of this are: Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net> Authors: Bas Nieuwenhuizen and Dave Airlie Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/amd/vulkan/radv_private.h
|