Mesa (18.2): 32 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Dec 11 14:18:07 UTC 2018
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ca3d839ea5aa004285171315b91e02819b455ed
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Wed Dec 5 13:28:03 2018 +0100
meson: link LLVM 'native' component when LLVM is available
Linking against LLVM built with BUILD_SHARED_LIBS fails otherwise,
as the component is required for the draw module.
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
(cherry picked from commit 4275cae95c8cb217d6164dfeeafae7b56484b13d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2462638ebabb52b9171be0472e3bd1b6a6072522
Author: Eric Anholt <eric at anholt.net>
Date: Fri Dec 7 10:34:40 2018 -0800
v3d: Fix a leak of the disassembled instruction string during debug dumps.
Fixes: ade416d02369 ("broadcom: Add VC5 NIR compiler.")
(cherry picked from commit f1d98204c34d36876e05e1d3f2242296ccec19e3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8508ce011368adc5001ae522daf50d744cf2a25e
Author: Eric Anholt <eric at anholt.net>
Date: Fri Dec 7 10:31:27 2018 -0800
vc4: Fix a leak of the transfer helper on screen destroy.
Fixes: d009463a6549 ("vc4: Switch to using u_transfer_helper for MSAA maps.")
(cherry picked from commit 7f8d8b7d27868037a146f7fca04fef56b29bb85e)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
Conflicts:
src/gallium/drivers/vc4/vc4_screen.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47850ced2e10c48ac51abf9301b7ed8e8a68798c
Author: Eric Anholt <eric at anholt.net>
Date: Fri Dec 7 10:30:09 2018 -0800
v3d: Fix a leak of the transfer helper on screen destroy.
Fixes: 7a30517cce8f ("broadcom/vc5: Start adding support for rendering to Z32F_S8X24_UINT.")
(cherry picked from commit 3bd73d31a862fd1e198a7c83ec656a4a376c593a)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
Conflicts:
src/gallium/drivers/v3d/v3d_screen.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78aec0d3fb1e553f3cff95ff69171bd7a0a83061
Author: Michal Srb <msrb at suse.com>
Date: Fri Nov 23 17:03:53 2018 +0100
drisw: Use separate drisw_loader_funcs for shm
The original code was modifying the global drisw_lf variable, which is bad
when there are multiple contexts in single process, each initialized with
different loader. One may support put_image_shm and the other not.
Since there are currently only two possible combinations, lets create two
global tables, one for each. Lets make them const, since we won't change them
and they can be shared.
This fixes crash in VLC. It used two GL contexts (each in different thread), one
was initialized by its Qt GUI, the other by its video output plugin. The first
one set the put_image_shm=drisw_put_image_shm, the second did not, but
since the same structure was used, the drisw_put_image_shm was used too. Then
it crashed because the second loader did not have putImageShm set.
Downstream bug:
https://bugzilla.opensuse.org/show_bug.cgi?id=1113533
v2: Added Fixes and described the VLC bug.
Fixes: 63c427fa71a ("drisw: use putImageShm if available")
Signed-off-by: Michal Srb <msrb at suse.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
(cherry picked from commit 63c0916ada7eed7eddc0453dfbfed3cc7f42ca85)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b631a1258b1c0ee20aad46bb09ee8e82b3f8c1fd
Author: Alex Smith <asmith at feralinteractive.com>
Date: Wed Dec 5 09:45:26 2018 +0000
radv: Flush before vkCmdWriteTimestamp() if needed
As done for vkCmdBeginQuery() already. Prevents timestamps from being
overwritten by previous vkCmdResetQueryPool() calls if the shader path
was used to do the reset.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108925
Fixes: a41e2e9cf5 ("radv: allow to use a compute shader for resetting the query pool")
Signed-off-by: Alex Smith <asmith at feralinteractive.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit c1b6cb068c4dfe49c309624610e8610b3f0b27c3)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
Conflicts:
src/amd/vulkan/radv_query.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=416b284b59b0b256036b31071e824b6ffcfc358e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Dec 3 22:45:03 2018 +0100
radv: rework the TC-compat HTILE hardware bug with COND_EXEC
After investigating on this, it appears that COND_WRITE doesn't
work correctly in some situations. I don't know exactly why does
it fail to update DB_Z_INFO.ZRANGE_PRECISION, but as AMDVLK
also uses COND_EXEC I think there is a reason.
Now the driver stores a new metadata value in order to reflect
the last fast depth clear state. If a TC-compat HTILE is fast cleared
with 0.0f, we have to update ZRANGE_PRECISION to 0 in order to
work around that hardware bug.
This fixes rendering issues with The Forest and DXVK and doesn't
seem to introduce any regressions.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108914
Fixes: 68dead112e7 ("radv: update the ZRANGE_PRECISION value for the TC-compat bug")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 824cfc1ee5e0aba15b676b9363ff32046d96eb42)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0303d8ca7ec99c2dcf05e310d2ad20ef3e601f27
Author: Michal Srb <msrb at suse.com>
Date: Fri Nov 23 16:02:27 2018 +0100
gallium: Constify drisw_loader_funcs struct
The content is not expected to change.
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Michal Srb <msrb at suse.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
(cherry picked from commit c0ac038c97b89a8266375339c297b17b3700dfb0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=603fe555a18f8aeac16eceed48c4512c48212435
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Mon Dec 3 14:33:35 2018 +0000
anv/query: flush render target before copying results
This change tracks render target writes in the pipeline and applies a
render target flush before copying the query results to make sure the
preceding operations have landed in memory before the command streamer
initiates the copy.
v2: Simplify logic in CopyQueryResults (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108909
Fixes: 37f9788e9a8e44 ("anv: flush pipeline before query result copies")
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 9a7b3199037ac4b798974f561067cb3d66be8010)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee7adf88d287de4c3f956d1e72838114b8adf517
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Dec 3 14:38:28 2018 +1000
radv: use 3d shader for gfx9 copies if dst is 3d
This fixes some crucible 3d miptree tests I've been working on
when executed using the compute shader path.
Fixes: d08f267814 (radv/gfx9: fix 3d image to image transfers on compute queues.)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 1363a47c9c4f8482fea9e8a2582a1d8e9db0e8a6)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=522ae9d5c7e9d703ec42afde35316dc7893816d3
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Nov 26 16:26:36 2018 +0100
radv/android: Use buffer metadata to determine scanout compat.
These days we don't always allocate scanout compatible textures anymore.
That does mean we have to fix the radv android WSI though.
Fixes: b1444c9ccb0 "radv: Implement VK_ANDROID_native_buffer."
Acked-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 3bf48741e128b60f6430b32cc47197f62075b1e9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb453b3f9da3078f8ea644bfce2e4e2d69daee22
Author: Bas Nieuwenhuizen <basni at chromium.org>
Date: Mon Nov 26 16:26:35 2018 +0100
radv/android: Mark android WSI image as shareable.
Fixes: b1444c9ccb0 "radv: Implement VK_ANDROID_native_buffer."
Acked-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 51091b3e1f212be956f91ac5214191c14e83ac59)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d22db70cea577a344d68517b9204b090c32bb0f1
Author: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Date: Sat Dec 1 18:30:20 2018 +0100
amd/vulkan: meson build - use radv_deps for libvulkan_radeon
Without this the build breaks with:
FAILED: src/amd/vulkan/src at amd@vulkan@@vulkan_radeon at sha/radv_pipeline.c.o
cc -Isrc/amd/vulkan/src at amd@vulkan@@vulkan_radeon at sha -Isrc/amd/vulkan
-I../src/amd/vulkan -Isrc/../include -I../src/../include -Isrc -I../src
-Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include
-Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/amd -I../src/amd
-Isrc/amd/common -I../src/amd/common -Isrc/compiler -I../src/compiler
-Isrc/vulkan/util -I../src/vulkan/util -Isrc/vulkan/wsi -I../src/vulkan/wsi
-Isrc/compiler/nir -I../src/compiler/nir -I/usr/include -I/usr/include/libdrm
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-std=c99 -O2 -g '-DVERSION="18.3.0-rc5"' -DPACKAGE_VERSION=VERSION
'-DPACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa"'
-DGLX_USE_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0
-DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE
-DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ
-DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT
-DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT
-DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE
-DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN
-DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE
-DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT
-DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT
-DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
-DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_FUNC_ATTRIBUTE_ALIAS
-DHAVE_FUNC_ATTRIBUTE_NORETURN -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H
-DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DHAVE_MKOSTEMP
-DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L
-DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD
-DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_LLVM=0x0600
-DMESA_LLVM_VERSION_PATCH=1 -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED
-DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type -fno-math-errno
-fno-trapping-math -Wno-missing-field-initializers -Wno-format-truncation -O2
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -pthread
-D__STDC_FORMAT_MACROS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_LIMIT_MACROS -fvisibility=hidden -Wno-override-init
-DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR
-DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_DISPLAY_KHR
-DVK_USE_PLATFORM_XLIB_XRANDR_EXT -MD -MQ
'src/amd/vulkan/src at amd@vulkan@@vulkan_radeon at sha/radv_pipeline.c.o' -MF
'src/amd/vulkan/src at amd@vulkan@@vulkan_radeon at sha/radv_pipeline.c.o.d' -o
'src/amd/vulkan/src at amd@vulkan@@vulkan_radeon at sha/radv_pipeline.c.o' -c
../src/amd/vulkan/radv_pipeline.c
In file included from ../src/vulkan/util/vk_alloc.h:29,
from ../src/amd/vulkan/radv_private.h:52,
from ../src/amd/vulkan/radv_debug.h:27,
from ../src/amd/vulkan/radv_pipeline.c:30:
../src/../include/vulkan/vulkan.h:54:10: fatal error: wayland-client.h: Datei
oder Verzeichnis nicht gefunden
#include <wayland-client.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
The above command misses the include directory for wayland:
-I/usr/include/wayland
The missing include is contained in the (until now) unused radv_deps:
if with_platform_wayland
radv_deps += dep_wayland_client
radv_flags += '-DVK_USE_PLATFORM_WAYLAND_KHR'
libradv_files += files('radv_wsi_wayland.c')
endif
Fixes: 673dda83307 "meson: build "radv" vulkan driver for radeon hardware"
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
(cherry picked from commit 9401a2f2e64bc04401a547d06810adbf0660edb8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=28c913f1f9192ad4b51894b84ebaf349089028f1
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date: Tue Dec 4 12:16:21 2018 +0100
cherry-ignore: mesa: Revert INTEL_fragment_shader_ordering support
pick: While this commit does not include the proper CC tag, it was
intended to be applied only in 18.3 branch.
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=644f1941eccab4ef20810f7562771d59d4871932
Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date: Mon Nov 26 09:54:05 2018 -0800
virgl: don't mark buffers as unclean after a write
We can mark the buffer unclean if it's ever bound as a TBO,
SSBO, ABO, or image.
This improves
dEQP-GLES3.performance.buffer.data_upload.function_call.map_buffer_range.new_specified_buffer.flag_write_full.stream_draw
from 9.58 MB/s to 451.17 MB/s.
v2: Track buffer cleanliness as a function of bindings (Ilia).
v3: virgl_modify_clean --> virgl_dirty_res (Erik)
Tested-By: Gert Wollny <gert.wollny at collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
(cherry picked from commit 89b4798c0619a2ba99046d5ad36f0e6851625f7a)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
Conflicts:
src/gallium/drivers/virgl/virgl_encode.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d058dc4aa3d1a15b4164c221ec3bd4dac72a5946
Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date: Mon Nov 26 09:54:04 2018 -0800
virgl: avoid large inline transfers
We flush everytime the command buffer (16 kB) is full, which is
quite costly.
This improves
dEQP-GLES3.performance.buffer.data_upload.function_call.buffer_data.new_buffer.usage_stream_draw
from 111.16 MB/s to 1930.36 MB/s.
In addition, I made the benchmark produce buffers from 0 --> VIRGL_MAX_CMDBUF_DWORDS * 4,
and tried ((VIRGL_MAX_CMDBUF_DWORDS * 4) / 2), ((VIRGL_MAX_CMDBUF_DWORDS * 4) / 4), etc.
I didn't notice any clear differences, so let's just go with the most obvious
heuristic.
Tested-By: Gert Wollny <gert.wollny at collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
(cherry picked from commit d18492c64f0abb4eb638d2b213b4b1ff3d775965)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf482d48f433bfb6cf9f26fc154c967d20971eeb
Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date: Mon Nov 26 09:54:03 2018 -0800
virgl: quadruple command buffer size
Tested running WebGL aquarium on Nvidia host (10,000 fishes)
This moves us from 7 fps to 9 fps. After quadrupling, performance
gains diminish.
v2: Remove change ID (Erik)
Tested-By: Gert Wollny <gert.wollny at collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
(cherry picked from commit c0773315af76cd735152c322cb7f710b4b053148)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c52d56be8c468459862c70bd2ed066efffdc26f
Author: Karol Herbst <kherbst at redhat.com>
Date: Sat Nov 24 20:00:00 2018 +0100
nv50,nvc0: Fix gallium nine regression regarding sampler bindings
The new approach is that samplers don't get unbound even if they won't be used
in a draw and we should just leave them be as well.
Fixes a regression in multiple windows games using gallium nine and nouveau.
v2: adjust num_samplers to keep track of the highest sampler bound
v3: rework how to set the new value of num_samplers
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106577
Fixes: 4d6fab245eec3880e2a59424a579851f44857ce8
"cso: don't track the number of sampler states bound"
Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
(cherry picked from commit fc0139d28339f58bcbb4946fea7608ecdaff93e7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=828e18b58f9f938f89066a18000cbdc28d15404a
Author: Vinson Lee <vlee at freedesktop.org>
Date: Mon Nov 5 10:50:41 2018 -0800
st/xvmc: Add X11 include path.
This patch fixes this build error.
CC tests/xvmc_bench.o
In file included from tests/xvmc_bench.c:35:
tests/testlib.h:38:10: fatal error: 'X11/Xlib.h' file not found
^~~~~~~~~~~~
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
(cherry picked from commit 4f74580d3038eca1b751a71e0c098ea9eb9cdb05)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c26f7b34410c0efd4949cf160cffbb6b8f7d63af
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date: Fri Nov 30 12:33:38 2018 +0100
cherry-ignore: freedreno: Fix autotools build.
fixes: This commit fixes commits b4476138d5ad and aa0fed10d357 which did
not land in branch.
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3fb3fd10e0d65dba25db017c1bf23b2d1d14ee9
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Tue Nov 20 17:35:27 2018 +0000
vulkan/wsi: fix s/,/;/ typo
Fixes: 59e58c348e6af16a5f2dd "vulkan/wsi: Only wait on semaphores on the first swapchain"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
(cherry picked from commit e0f1f74eda6e1bdb3bcee075f6cc5082d4137069)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a45e5538fd14a3ab12fb42a0f5a5e826f7d3801
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Tue Nov 27 13:34:37 2018 +0000
wsi/display: fix mem leak when freeing swapchains
Fixes: da997ebec92942193955 "vulkan: Add KHR_display extension using DRM [v10]"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Keith Packard <keithp at keithp.com>
(cherry picked from commit 9575cd289325ddbfa96291d7886cfc32a0487e79)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbe7b48d71f2aa4a0c2884a36226bb7e3abaca79
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Sat Nov 24 23:21:05 2018 +0100
radv: Clamp gfx9 image view extents to the allocated image extents.
Mirrors AMDVLK. Looks like if we go over the alignment of height
we actually start to change the addressing. Seems like the extra
miplevels actually work with this.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108245
Fixes: f6cc15dccd5 "radv/gfx9: fix block compression texture views. (v2)"
Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 08ea6b9d9bb047603c249468dfe00d7bb9603d5e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5e3935ecbd9bd7ce24cca422ba3a94a9498b2c8
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Fri Nov 23 17:08:28 2018 +0000
anv: correctly use vulkan 1.0 by default
Per chapter 3.2 "Instances":
> Providing a NULL VkInstanceCreateInfo::pApplicationInfo or providing
> an apiVersion of 0 is equivalent to providing an apiVersion of
> VK_MAKE_VERSION(1,0,0).
Reported-by: Niklas Haas <git at haasn.xyz>
Fixes: 8c048af5890d43578ca4 "anv: Copy the appliation info into the instance"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 56d126f8fd210dbd2c946bfbc2e3c81b04d27d09)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3feae1e53f165b03baff5a7d13276c661a275cee
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Nov 29 13:02:03 2018 +0000
anv: flush pipeline before query result copies
Pipeline state pending bits should be taken into account when copying
results.
In the particular bug below, the results of the
vkCmdCopyQueryPoolResults() command was being overwritten by the
preceding vkCmdCopyBuffer() with a same destination buffer. This is
because we copy the buffers using the 3D pipeline whereas we copy the
query results using the command streamer. Those pieces of HW work in
parallel and the results are somewhat undefined.
v2: Unconditionally flush the pipeline before copying the results
(Jason)
v3: Wrap & expressions (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Suggested-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108894
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 37f9788e9a8e443772b5ad6f339567e6ae6a8320)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5df893b13c37b1f40021843cf746a77235b55ed4
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Mon Nov 26 19:05:47 2018 +0100
winsys/svga: Fix a memory leak
The ioctl.cap_3d member was never freed.
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: Sinclair Yeh <syeh at vmware.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
(cherry picked from commit 058f85d41cbe3534b1a06d321fab9afb8fbadfc0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=30cebff87d107cb5bf42b0364ae27c7e0381e013
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Mon Nov 26 19:02:08 2018 +0100
st/xa: Fix a memory leak
Free the context after destruction.
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: Sinclair Yeh <syeh at vmware.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
(cherry picked from commit 7fce3ca3759e2e156e2e3bf1bcc4ee378dc7fa2d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90ed59748389c695a08ffeec34777088ee8a24e0
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Oct 11 13:44:02 2018 +1000
r600: make suballocator 256-bytes align
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108311
Cc: <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 2ddd44d941648d49dc0d917e03a579baec3590d9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=555a629b357669b492653dfba6cfd07e2c67cbf0
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Wed Nov 28 18:30:36 2018 +0100
egl/wayland: rather obvious build fix
Fixes: ce74a7bb8de7 ("egl/wayland: plug memory leak in drm_handle_device()")
Fixes: c59d3aa4b9bc ("egl/wayland: bail out when drmGetMagic fails")
(cherry picked from commit c02390f8fcd367c7350db568feabb2f062efca14)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf14779a8372e9eb173e98cec1b486a3ec588032
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Tue Nov 27 11:36:01 2018 +0000
egl/wayland: plug memory leak in drm_handle_device()
As we fail to open the node, we leak the node/device name.
v2: Log and then free() (Eric)
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
(cherry picked from commit ce74a7bb8de7f5b921d53384582de3324290cd60)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79c4bf0dacdc61527fe423084c3d8717744028f9
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Fri Nov 23 12:55:38 2018 +0000
egl/wayland: bail out when drmGetMagic fails
Currently as the function fails, we pass uninitialized data to the
authentication function. Stop doing that and print an warning when
the function fails.
v2: Plug memory leak in error path (Eric)
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com> (v1)
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
(cherry picked from commit c59d3aa4b9bc58994e199052171a8119aaa8195c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c14ed4944532ad8cc24f798bcdbac67aee4bc3a6
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Mon Nov 26 03:28:05 2018 +0100
radv: Align large buffers to the fragment size.
Improves performance in Talos by about 15% (and significant improvements
in RotR and possibly other but did not bench with final patch) on
kernel 4.19 and earlier.
On 4.20+ a similar effect comes from
433ca054949a "drm/amdgpu: try allocating VRAM as power of two"
v2: Do not impact the alignment of the physical memory.
Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
CC: <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 6569644bb6e1f58fd739d83bd4dc42e6af6b6097)
More information about the mesa-commit
mailing list