Mesa (19.2): 45 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 6 16:53:21 UTC 2019
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=019dbc4b3b4d3758d978d81f0c2b9f299fa2e47e
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Nov 6 08:19:59 2019 -0800
Bump version to 19.2.3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e4da07a3ede0489cb00bdf10e56aaa11b08488d
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Nov 6 08:19:42 2019 -0800
docs: add release notes for 19.2.3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85608bad469bbf8df35c3aa943441486a561b182
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Oct 10 15:10:56 2019 -0700
meson: Add dep_glvnd to egl deps when building with glvnd
Otherwise if glvnd is not installed systemwide, but only in a prefix,
it's headers wont be found. This happens because if it's headers are in
/usr/include/ then another dependence will provide the necessary -I
arguments and compilation will work.
Fixes: 035ec7a2bb2d5e413ac945b8f012185a0e187d5e
("meson: Add support for EGL glvnd")
Acked-by: Eric Engestrom <eric at engestrom.ch>
(cherry picked from commit 5d085ad052aac1f35cef7b60c0e6ecad65a6807b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2b3911a4728fa6537b6527d062f17d2890c9853
Author: Paulo Zanoni <paulo.r.zanoni at intel.com>
Date: Fri Nov 1 14:28:48 2019 -0700
intel/compiler: remove the operand restriction for src1 on GLK
Commit 5847de6e9afe implemented a restriction that applies to ICL, but
wrongly marked it as also applying to GLK. Reviewers or MR !1125
pointed this, and the commit history shows removal of GLK to parts of
the patch, but it turns there was still a left-over GLK check in the
code.
This code was breaking some of the i8vec2 tests on GLK, for example:
dEQP-VK.subgroups.arithmetic.compute.subgroupadd_i8vec2
Removing the GLK check solves the issue for GLK. I don't see a reason
on why implementing this restriction would actually break GLK, so
there's still more to investigate here since this bug may be affecting
ICL+, but let's apply the real GLK fix while we analyze and discuss
the other possible issues.
Fixes: 5847de6e9afe ("intel/compiler: don't use byte operands for src1
on ICL")
BSpec: 3017
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
(cherry picked from commit b57383a9445eae153fbf91fad8592d273b14e546)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a74300e4cf31729ac53389a8ee5a951cfd35a379
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Nov 3 23:50:38 2019 -0800
iris: Fix "Force Zero RTA Index Enable" setting again
In 2ca0d913ea8, we began updating cso_fb->layers to the actual layer
count, rather than 0. This fixed cases where we were setting "Force
Zero RTA Index Enable" even when doing layered rendering. Sadly, it
also broke the check entirely: cso_fb->layers is now 1 for non-layered
cases, but the Force Zero RTA Index check was still comparing for 0.
Fixes: 2ca0d913ea8 ("iris: Fix framebuffer layer count")
(cherry picked from commit fc7b7480867d6049ca12f87d9b6ab0d9ad55d59f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1f1a1056f21e8f8be0e06958d2139cf84b519c0
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Fri Oct 25 13:48:38 2019 -0700
nir: correct use of identity check in python
Python has the identity operator `is`, and the equality operator `==`.
Using `is` with strings sometimes works in CPython due to optimizations
(they have some kind of cache), but it may not always work.
Fixes: 96c4b135e34d0804e41bfbc28fc1b5050c49d71e
("nir/algebraic: Don't put quotes around floating point literals")
Reviewed-by: Matt Turner <mattst88 at gmail.com>
(cherry picked from commit 717606f9f32af6540b68336e676fca9dd16f282a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13768f3714a53fd6e599baa7fa10b64bb64c94fb
Author: Jon Turney <jon.turney at dronecode.org.uk>
Date: Mon Sep 16 15:25:33 2019 +0100
Fix timespec_from_nsec test for 32-bit time_t
Since struct timespec's tv_sec member is of type time_t, adjust the
expected value to allow for the truncation which will occur with 32-bit
time_t.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
(cherry picked from commit dd1dba80b9ee74ec8b90761285a8262e374bf8ef)
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2043
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aab604398d53c9a49af6d7703e7dddad68cdd517
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Nov 1 19:43:00 2019 +0200
mesa: check draw buffer completeness on glClearBufferfi/glClearBufferiv
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
(cherry picked from commit 88d665830f27087cb2188e03b0b734acc144c593)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fbc187720f93e67a47e1d73a5ba7bcb761e3167
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Mon Nov 4 08:02:59 2019 -0800
cherry-ignore: update for 19.2.3 cycle
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaba438f8024b289f3cd6a7f822a00b23c770231
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed Oct 30 11:43:53 2019 -0500
anv/tests: Zero-initialize instances
Some of the tests were actually relying on some of those uninitialized
bits to be non-zero. In particular, a couple want use_softpin = true.
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
(cherry picked from commit 9076e9f3751341063679eb227116060070549a37)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3de8c6e8fbfa73fb2c74c1c42230a54c9562eab3
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Fri Oct 25 15:42:22 2019 -0500
anv: Fix a potential BO handle leak
Fixes: 731c4adcf9b "anv/allocator: Add support for non-userptr"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
(cherry picked from commit bb257e1852473e3bc49bb9e0fe014741894f7bd0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d96ee8507f3defb419703e4db40c48c0c7dadae
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Tue Oct 29 19:45:48 2019 +0100
mesa: enable msaa in clear_with_quad if needed
If the DrawBuffer sample count is > 1 and msaa is enabled we must also
enable msaa when clearing it.
Fixes: ea5b7de138b ("radeonsi: make gl_SampleMaskIn = 0x1 when MSAA is disabled")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1991
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Tested-by: Witold Baryluk <witold.baryluk at gmail.com>
(cherry picked from commit 8a723282e3f7a312ab0ca3aa9157e5b76ec182af)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4575aa2a3003471ea3cf1a7544575b21bbff7b39
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Thu Oct 31 02:36:23 2019 +0100
anv: Remove _mesa_locale_init/fini calls.
The resulting locale is not used for Vulkan, and it is not reference
counted, giving issues when multiple instances are created.
CC: 19.2 19.3 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 3e86d553a470c484b6a2c60bc7866759ec21fea5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff9237e8eaa53ed8edb92e8f8879168ba6bcca1e
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Thu Oct 31 02:35:51 2019 +0100
turnip: Remove _mesa_locale_init/fini calls.
The resulting locale is not used for Vulkan, and it is not reference
counted, giving issues when multiple instances are created.
CC: 19.2 19.3 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 72f858fc07746eb1d7360b47636006202a075e84)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a839a023c56afe7e68185aebb4c40375bd998783
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Thu Oct 31 02:33:46 2019 +0100
radv: Remove _mesa_locale_init/fini calls.
The resulting locale is not used for Vulkan, and it is not reference
counted, giving issues when multiple instances are created.
CC: 19.2 19.3 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 344ba56b0f36e77c3d4a935717854f1bf8000a2e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=63ff2a51d3e31c4abd8d3175f0ae744a2a886c8f
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Wed Oct 30 21:58:42 2019 +0100
radv: Fix timeout handling in syncobj wait.
libdrm returns -errno instead of directly the ioctl ret of -1.
Fixes: 1c3cda7d277 "radv: Add syncobj signal/reset/wait to winsys."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit ec770085c270cb167c02f299f6985744682933b1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43234ba02ad80bc83593eb14c1abbf242cc87bb7
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Mon Oct 14 02:40:11 2019 -0400
nv50/ir: mark STORE destination inputs as used
Observed an issue when looking at the code generatedy by the
image-vertex-attrib-input-output piglit test. Even though the test
itself worked fine (due to TIC 0 being used for the image), this needs
to be fixed.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 1b9d1e13d8e14c348f6d6c8fab5f31e8768a1371)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49e105048b43b29bceb223cc9099badfa2752a26
Author: Jonathan Marek <jonathan at marek.ca>
Date: Mon Sep 2 14:46:15 2019 -0400
etnaviv: fix depth bias
Fixes remaining failures in these deqp tests (tested on GC3000/GC7000L):
dEQP-GLES2.functional.polygon_offset.*
Fixes: 6c3c05dc ("etnaviv: fix polygon offset")
Signed-off-by: Jonathan Marek <jonathan at marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
(cherry picked from commit 7b524e1acbe7d704a9920302529a0e02e8ef9a55)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db4f7eae8bf617c9409f4f94b4d2b7b40e7c8b6c
Author: Sagar Ghuge <sagar.ghuge at intel.com>
Date: Wed Aug 14 13:58:33 2019 -0700
intel/blorp: Assign correct view while clearing depth stencil
We never saw any failures regarding this typo but it's good to assign
correct stencil view while constructing blorp_params.
Fixes: 0cabf93b80d0 "intel/blorp: Add an entrypoint for clearing depth and stencil"
Signed-off-by: Sagar Ghuge <sagar.ghuge at intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
(cherry picked from commit ce208be2d8793029c5abbde51c972ad1f4166701)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5290062a3f1c039c6b94069dd503cf1ddb6365cd
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date: Mon Oct 28 14:46:23 2019 -0700
anv: Fix output of INTEL_DEBUG=bat for chained batches
The anv_batch_bo contents are linked one to another, and when printing
we have to start with the first of those. Since in `u_vector` new
elements are added to the head, to get the first element we need the
vector's tail.
Fixes: 32ffd90002b ("anv: add support for INTEL_DEBUG=bat")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
(cherry picked from commit e2155158e99e405313d6bc4d4478b92b4234dc4e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7affc43e81a7f45fe5237fef49c57a91d4646018
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Fri Aug 2 15:38:36 2019 -0700
iris: Disallow incomplete resource creation
If a modifier specifies an aux, it must be created.
Fixes: 75a3947af46 ("iris/resource: Fall back to no aux if creation fails")
Reviewed-by: Sagar Ghuge <sagar.ghuge at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit d298740a1c1c7798d21a0978d6fa5f72ee97b9fe)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cb1070ea3c7ea3b55d3a13b62443b8dbd3f16e2
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Wed Sep 25 12:48:57 2019 -0700
iris: Don't leak the resource for unsupported modifier
Make sure the res struct is free'd before returning.
Fixes: 2dce0e94a3d ("iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.")
Reviewed-by: Sagar Ghuge <sagar.ghuge at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit f2fc5dece93019f0bab203247985cf350d541156)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88ca3cf11dbf260c15db43d60df41a2de36d821a
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Fri Aug 30 14:58:54 2019 -0700
iris: Clear ::has_hiz when disabling aux
Fixes: 2cddc953cd0 ("iris: some initial HiZ bits")
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 6cd9731d96c4a48252b91881491aa43ba565bf95)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73a9f31b57d60dac870f1663fff3db9225c213f2
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Thu Aug 15 10:17:11 2019 -0700
intel/blorp: Disable depth testing for slow depth clears
We'll start doing slow depth clears more often on HIZ_CCS buffers in a
future commit. Reduce the performance impact by making them use less
bandwidth.
From the Depth Test section of the BSpec:
This function is enabled by the Depth Test Enable state variable. If
enabled, the pixel's ("source") depth value is first computed. After
computation the pixel's depth value is clamped to the range defined
by Minimum Depth and Maximum Depth in the selected CC_VIEWPORT state.
Then the current ("destination") depth buffer value for this pixel is
read.
and from the Depth Buffer Updates section of the BSpec:
If depth testing is disabled or the depth test passed, the incoming
pixel's depth value is written to the Depth Buffer.
Taken together, it's clear that depth testing isn't necessary to perform
a depth buffer clear. Mark Janes and I analyzed this patch with
frameretrace and a depthrange piglit test. I disabled HiZ to ensure we'd
get slow depth clears. We've observed the bandwidth consumption by the
depth buffer access to be cut ~50% on BDW and SKL during depth clears.
On a more graphically intensive workload, the Shadowmapping Sascha
benchmark, I took the average of 3 runs on a BDW with a display
resolution of about 1920x1200 (minus some desktop environment
decorations). I measured a 22.61% FPS improvement when HiZ is disabled.
v2. The BSpec doesn't mandate this behavior, update comment accordingly.
(Ken)
Fixes: bc4bb5a7e30 ("intel/blorp: Emit more complete DEPTH_STENCIL state")
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit d5fb9cccdce2d44427582ca6d9201d5ec42fedb2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8847c2f286da1f708e77104394515f522631de9
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Mon Oct 21 12:56:00 2019 -0700
anv: Properly allocate aux-tracking space for CCS_E
add_aux_state_tracking_buffer() actually checks the aux usage when
determining how many dwords to allocate for state tracking. Move the
function call to the point after the CCS_E aux usage is assigned.
Fixes: de3be618016 ("anv/cmd_buffer: Rework aux tracking")
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit d0fcc2dd503f734f10f879ad666c27fd81c44262)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa51bd5aa10afed4de767ca4c7be3e141a59ba50
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date: Fri Oct 25 19:33:08 2019 +0300
glsl: Initialize all fields of ir_variable in constructor
Better be safe, even if we could technically avoid this for
some fields.
Cc: <mesa-stable at lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1999
Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Tested-by: Witold Baryluk <witold.baryluk at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
(cherry picked from commit 8818e0df742120858b2460a2208fac57d242473a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5378782434fe20df1c6cd033ac6deed19d71f4b9
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Fri Oct 11 09:42:21 2019 +0300
i965: setup sized internalformat for MESA_FORMAT_R10G10B10A2_UNORM
Commit d2b60e433e5 introduced restrictions (as per GLES spec) on the
internal format. We need to setup a sized format for the texture image
so framebuffers created with that are considered complete.
This change fixes following Android CTS test in AHardwareBufferNativeTests
category:
SingleLayer_ColorTest_GpuColorOutputAndSampledImage_R10G10B10A2_UNORM
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Fixes: d2b60e433e5 ("mesa/main: R10G10B10_(A2) formats are not color renderable in ES")
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 412badd059de6f55cbcab10a55d052986a74b4cd)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2936df10df14a69b246ab837e1f6564e9c5a6c35
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Oct 24 13:11:40 2019 -0700
bin/gen_release_notes.py: Add a warning if new features are introduced in a point release
Fixes: 86079447da1e00d49db0cbff9a102eb4e71e8702
("scripts: Add a gen_release_notes.py script")
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 8a4541aae22e0cdeb063e3fc25c84775d84f4077)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d86a897337cea084ed1396b308a9387419faf41
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 23 08:50:40 2019 -0700
bin/gen_release_notes.py: html escape all external data
All of these (bug titles, patch titles, features, and people's names)
can contain characters that are not valid html. Just escape everything
for safety.
Fixes: 86079447da1e00d49db0cbff9a102eb4e71e8702
("scripts: Add a gen_release_notes.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit b153785370c7fa47961a69404448c05f7e3c166c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05605ad1965d99c0e9e0d108d07d653f8b7f6dd1
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 10:33:14 2019 -0700
bin/post_release.py: Add .html to hrefs
oops.
Fixes: 3226b12a09bbcbd25526fd6da6257057d26ddb31
("release: Add an update_release_calendar.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 7e4b87f987f0084f4d69454f274e2c5eb2d799da)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a884f9d5e945b3715aa6287fed3e7af0250e1bf6
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 10:33:02 2019 -0700
bin/post_version.py: white space fixes
Fixes: 3226b12a09bbcbd25526fd6da6257057d26ddb31
("release: Add an update_release_calendar.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 5eef803625f3d522440e5dc8f47ba46e02a20c6f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9a1f47123fb71bd4e90da87362a56abf389fdd9
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 10:31:16 2019 -0700
bin/post_version.py: Pass version as an argument
I made a bad assumption; I assumed this would be run in the release
branch. But we don't do that, we run in the master branch. As a result
we need to pass the version as an argument.
Fixes: 3226b12a09bbcbd25526fd6da6257057d26ddb31
("release: Add an update_release_calendar.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit abf9e7ac7bdb26ef203394ccdd5f0a43ceda1493)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa47f0f5cd45bbe7b2e846d470dfe5d110939c61
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 10:30:17 2019 -0700
bin/gen_release_notes.py: Return "None" if there are no new features
Which is very likely .Z > 0 releases.
Fixes: 86079447da1e00d49db0cbff9a102eb4e71e8702
("scripts: Add a gen_release_notes.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit c6d41e7f0b0c998d9b6f4b1ff55eab9f6cd12ef4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=701457466c77a1da80beb4d2caa2e25c1277523f
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 10:29:41 2019 -0700
bin/gen_release_notes.py: strip '#' from gitlab bugs
If they use the `Fixes: #1` form.
Fixes: 86079447da1e00d49db0cbff9a102eb4e71e8702
("scripts: Add a gen_release_notes.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit df3d4ad82da41c47f6adb2ec4309e873a8f7fd33)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58a37997a3fb9ea9e7407b661b0ffe483baadc2f
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 10:27:13 2019 -0700
bin/gen_release_notes.py: fix conditional of bugfix
Previously this would result in the .0 warning be generated for .z > 0
and the .z == 0 would get the other message.
Fixes: 86079447da1e00d49db0cbff9a102eb4e71e8702
("scripts: Add a gen_release_notes.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 69f540c0172c0b2b43ba466adee7cfb8842250e2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cab0e230ec672cd6c4c3dfe95a4d4e1bd57e078d
Author: Illia Iorin <illia.iorin at globallogic.com>
Date: Mon Jul 22 17:07:39 2019 +0300
Revert "mesa/main: Fix multisample texture initialize"
This reverts commit a113a42e7369a4e43a1db1c9a7a35a3f7175615e.
Per https://github.com/KhronosGroup/OpenGL-API/issues/45 it
was a wrong way to fix the issue.
Signed-off-by: Illia Iorin <illia.iorin at globallogic.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
(cherry picked from commit 71d4ece366d5cefe58f503429126a102e688ab42)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=87db4b93762003b5220c346ba76797b004c826f8
Author: Jon Turney <jon.turney at dronecode.org.uk>
Date: Sat Oct 19 14:43:49 2019 +0100
rbug: Fix use of alloca() without #include "c99_alloca.h"
[12/60] Compiling C object 'src/gallium/auxiliary/eb820e8@@gallium at sta/rbug_rbug_texture.c.o'.
FAILED: src/gallium/auxiliary/eb820e8@@gallium at sta/rbug_rbug_texture.c.o
[...]
../src/gallium/auxiliary/rbug/rbug_texture.c: In function 'rbug_send_texture_info_reply':
../src/gallium/auxiliary/rbug/rbug_texture.c:302:21: error: implicit declaration of function 'alloca'; did you mean 'malloc'? [-Werror=implicit-function-declaration]
uint32_t *height = alloca(sizeof(uint32_t) * height_len);
^~~~~~
malloc
../src/gallium/auxiliary/rbug/rbug_texture.c:302:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
../src/gallium/auxiliary/rbug/rbug_texture.c:303:20: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
uint32_t *depth = alloca(sizeof(uint32_t) * height_len);
^~~~~~
cc1: some warnings being treated as errors
Include c99_alloca.h to portably make the alloca() prototype available.
See also: 498d9d0f, adfb9c5c, fc8139b1
Fixes: 6174cba7 ("rbug: fix transmitted texture sizes")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
(cherry picked from commit 2649609ac540108eb567ddf36bd1ac5ec75691af)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f6f349bcfeee93432b44913bf8064ab144f8975
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Thu Oct 3 12:44:42 2019 +0200
winsys/svga: Limit the maximum DMA hardware buffer size
The kernel total GMR/DMA size is limited, but it's definitely possible for the
kernel to allow a larger buffer allocation to succeed, but command
submission using that buffer as a GMR would fail typically causing an
application crash.
So have the winsys limit the size of GMR/DMA buffers. The pipe driver will
then resort to allocating smaller buffers and perform the DMA transfer in
multiple bands, also allowing for the pre-flush mechanism to kick in.
This avoids the related application crashes.
Fixes: e7843273fae ("winsys/svga: Update to vmwgfx kernel module 2.1")
Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
(cherry picked from commit 91146c07967b1d531a38f724ad91e7a0fc0769ef)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dacfad708f118a48af07599999d0c0967c530f02
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Thu Oct 3 12:26:39 2019 +0200
svga: Fix banded DMA upload unmap
Even with banded DMA uploads, st->hwbuf is always non-NULL, but when we've
allocated a software buffer to hold the full upload, unmapping of the
hardware buffer has already been done before
svga_texture_transfer_unmap_dma(), and the code was performing an unmap of
an already mapped buffer.
Fix this by testing for software buffer not present.
Fixes: a9c4a861d5d ("svga: refactor svga_texture_transfer_map/unmap functions")
Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
(cherry picked from commit 00db976905b7fcd615ccee0c13dcbf9dfe29f5ec)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=340849f311eea4d0d17267da9f1f6a153695f19f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Oct 23 21:01:38 2019 -0400
util/u_queue: skip util_queue_finish if num_threads is 0
This fixes a deadlock in pthread_barrier_destroy.
Cc: 19.1 19.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit c2efd2cbfb19808cd4bf5f2f0cf62455f80f1a2f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2b416e8aef488545c14b6130a575ec83d4ef134
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Oct 21 13:32:05 2019 +0200
radv: fix vkUpdateDescriptorSets with inline uniform blocks
descriptorCount is the number of bytes into the descriptor, so
it shouldn't be used as an index. srcArrayElement/dstArrayElement
specify the starting byte offset within the binding to copy from/to.
This fixes new CTS tests:
dEQP-VK.binding_model.descriptor_copy.*.inline_uniform_block_*
dEQP-VK.binding_model.descriptor_copy.*.mix_3
dEQP-VK.binding_model.descriptor_copy.*.mix_array1
Fixes: 8d2654a4197 ("radv: Support VK_EXT_inline_uniform_block.")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 7562a2cbe3e963247f32d6bd9d434036ad1a93dc)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a352e1d2f74458de114acc85ad4e15c4837f91ec
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Oct 21 15:11:35 2019 +0200
radv/gfx10: fix 3D images
GFX10 does act like GFX9 actually.
This fixes
dEQP-VK.glsl.texture_functions.query.texturesize.*sampler3d_*.
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 9c92a21fe58a2da6193317f04958a82baa08908a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8d4a75d9a4826f5f94ac62865dde5235cb85daa
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Oct 21 16:03:47 2019 +0200
radv: do not emit rbplus if attachments are undefined
Fixes some crashes with dEQP-VK.geometry.layered.*.secondary_cmd_buffer
on Raven and other chips that allow rbplus.
This just prevents a crash and rbplus probaby needs more work.
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 956d825ed845dd239b7098eccd5f5a7b4fecad9c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bd9eb83b4863768203460aa1aa643f02e1501ab
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Oct 21 10:42:30 2019 +0200
radv: do not create meta pipelines with 16 samples
The driver only supports up to 8 samples, so it's useless to
create more pipelines than needed.
This fixes a conditional jump reported by Valgrind on GFX10:
==194282== Conditional jump or move depends on uninitialised value(s)
==194282== at 0xDBF925A: radv_gfx10_compute_bin_size (radv_pipeline.c:3242)
==194282== by 0xDBF95A6: radv_pipeline_generate_binning_state (radv_pipeline.c:3334)
==194282== by 0xDBFC1A0: radv_pipeline_generate_pm4 (radv_pipeline.c:4440)
==194282== by 0xDBFD15E: radv_pipeline_init (radv_pipeline.c:4764)
==194282== by 0xDBFD23E: radv_graphics_pipeline_create (radv_pipeline.c:4788)
==194282== by 0xDBB95A3: create_pipeline (radv_meta_clear.c:114)
==194282== by 0xDBB9AC5: create_color_pipeline (radv_meta_clear.c:297)
==194282== by 0xDBBCF05: radv_device_init_meta_clear_state (radv_meta_clear.c:1277)
==194282== by 0xDB9ACD9: radv_device_init_meta (radv_meta.c:363)
==194282== by 0xDB7FE3A: radv_CreateDevice (radv_device.c:2080
This is caused by an out of bound access of 'fmask_array' (ie. index
is 4 as for 16 samples).
Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit f4ab58c1a07c58525018649573ffff92eb3ccf19)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0cad4c038f91df1eb7fa4cbdfe0ebde16a9ef58
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Oct 22 15:34:12 2019 +0300
anv: fix unwind of vkCreateDevice fail
We're skipping the context destruction in some cases which is the
grand scheme of thing is not that important because closing device->fd
will destroy the associated context as well.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reported-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Fixes: b30e01aef56 ("anv: fix memory leak on device destroy")
(cherry picked from commit 0dfa643feb6e80f654fdc4efc71c22e751a53de3)
More information about the mesa-commit
mailing list