summaryrefslogtreecommitdiff
path: root/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
AgeCommit message (Collapse)AuthorFilesLines
2017-05-12radv: enable POLARIS12 support.Dave Airlie1-0/+5
This just adds the chip in the right places. We don't set the partial_vs_wave workaround, as radeonsi doesn't, but have to confirm it's not required. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Cc: "17.1" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit a096d8d3f7a8c6dffc91b2ac1794fdd215c054d3) [Andres Gomez: dropped code that didn't make it for 17.0] Signed-off-by: Andres Gomez <agomez@igalia.com> Conflicts: src/amd/vulkan/radv_device.c
2016-12-18radv/winsys: Make WaitIdle queue aware.Bas Nieuwenhuizen1-2/+4
Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
2016-12-18radv/winsys: Expose number of compute/dma rings.Bas Nieuwenhuizen1-1/+13
Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
2016-10-28radv: split the device local memory heap into twoFredrik Höglund1-1/+9
Advertise two device local memory heaps; one that is host visible and one that is not. This makes it possible for clients to tell how much host visible vs. non-host visible memory is available. Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-10-12radv/winsys: Fix mem leak at failed do_winsys_init() call siteEdward O'Callaghan1-2/+6
Probably unlikely however ensure we don't leak a heap allocation on the fail path. V.2: also fix missing 'amdgpu_device_deinitialize()' calls (Emil Velikov). Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-10-12radv/winsys: Trivial style and readability fixupsEdward O'Callaghan1-1/+2
Drop/add a few newlines where appropriate and drop a couple of unnessary braces. Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-10-07radv: add initial non-conformant radv vulkan driverDave Airlie1-0/+359
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>