URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b3f2e02fbda18e7ac0d0cac1e1997ed53d7fef7
Author: Matt Turner <[email protected]>
Date: Fri Nov 17 19:52:36 2023 -0500
util: Include stdint.h in libdrm.h
drmGetDevices2()'s first parameter is a uint32_t.
Fixes: e05abb13455 ("util: Add a simple no-op libdrm shim")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26265>
(cherry picked from commit 5022a26b50ef912835049a32ac3904ea77656e43)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3db740ff6cef5686e242bc897cc774883c609cb3
Author: Simon Ser <[email protected]>
Date: Wed Nov 15 12:59:40 2023 +0100
egl: ensure a render node is passed to _eglFindDevice()
_eglFindDevice() will fail if it's not provided a render node:
the EGLDevice list only contains one entry per render node, plus
the special software device. Passing a primary node for a
display-only device will not work.
Signed-off-by: Simon Ser <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10142
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Leandro Ribeiro <[email protected]>
Tested-by: Iago Toral Quiroga <[email protected]>
Tested-by: Alejandro Piñeiro <[email protected]>
Fixes: 2be404f5571a ("egl: error out if we can't find an EGLDevice in
_eglFindDevice()")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26205>
(cherry picked from commit 0f978c34410283558afe9de5dab007f63a763c5e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62455a9a259040282a9d19494c9cc1fcbb01627c
Author: Simon Ser <[email protected]>
Date: Wed Nov 15 12:56:35 2023 +0100
egl: move dri2_setup_device() after dri2_setup_extensions()
dri2_setup_device() will depend on the extensions being set up in
the next commit.
None of the code in-between depends on disp->Device AFAIU.
Signed-off-by: Simon Ser <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Leandro Ribeiro <[email protected]>
Tested-by: Iago Toral Quiroga <[email protected]>
Tested-by: Alejandro Piñeiro <[email protected]>
Backport-to: 23.3
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26205>
(cherry picked from commit 9b70096f5e9ab7be23abc9154c3fb83b710ccd6b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef07bc116ecaae9df9d144965947cf4f79645874
Author: Simon Ser <[email protected]>
Date: Wed Nov 15 12:51:57 2023 +0100
egl: extract EGLDevice setup in dedicated function
Extract the logic responsible for populating disp->Device via
_eglFindDevice(). This isn't much for now but will grow in a
following commit.
No functional changes.
Signed-off-by: Simon Ser <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Leandro Ribeiro <[email protected]>
Tested-by: Iago Toral Quiroga <[email protected]>
Tested-by: Alejandro Piñeiro <[email protected]>
Backport-to: 23.3
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26205>
(cherry picked from commit b4ec0b51ce47d87d21609444dddd50c91968f26d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f62a7df6d15dc74d0759feefc168fd3c68bbc24f
Author: Eric Engestrom <[email protected]>
Date: Thu Nov 16 17:44:50 2023 +0000
egl/dri2: increase NUM_ATTRIBS to fit all the attributes
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26234>
(cherry picked from commit f011410c1c480829dde58f285023a3768686c9ee)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a59318181965725353ab875e7f08af48cdc20824
Author: Rhys Perry <[email protected]>
Date: Wed Oct 18 15:35:03 2023 +0100
radv: enable radv_disable_trunc_coord for vkd3d-proton/DXVK
This fixes diagonal SSAO artifacts in some games.
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9253
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6395
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25911>
(cherry picked from commit 9e9eb87dd3a2ffe782ac85998a69623f59306caf)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ac2529959d6910137e93f34cd57e88087ed987d
Author: Rhys Perry <[email protected]>
Date: Wed Oct 18 15:34:45 2023 +0100
radv: add radv_disable_trunc_coord option
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25911>
(cherry picked from commit 4d2a3b95730c4781234096778043f987234b6a4c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=64dee1015cc8259aa83399db58d49831dfd571d1
Author: Lionel Landwerlin <[email protected]>
Date: Thu Nov 9 14:48:26 2023 +0200
anv: fix dirty state tracking for 3DSTATE_PUSH_CONSTANT_ALLOC
ANV_CMD_DIRTY_PIPELINE also includes reprogramming of
3DSTATE_PUSH_CONSTANT_ALLOC_* instructions.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 50f6903bd9 ("anv: add new low level emission & dirty state tracking")
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26247>
(cherry picked from commit 9689607f10bb150df0a75d189fc02b522410887f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f12ed0774bdeab69bc35eb2537de90e35b49b6d
Author: Lionel Landwerlin <[email protected]>
Date: Thu Nov 9 13:51:38 2023 +0200
anv: fix CC_VIEWPORT pointer dirty after blorp/simple-shaders
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 50f6903bd9 ("anv: add new low level emission & dirty state tracking")
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26247>
(cherry picked from commit 1257d08bcb9d7068ec24acbcf281a388e7ff015f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c972359d41c5e7032ed8615ef63f390260c4acae
Author: Boris Brezillon <[email protected]>
Date: Thu Oct 5 08:49:46 2023 +0200
panfrost: Flag the right shader when updating images
Fixes: fab1fabb4f0b ("panfrost: Dirty track fragment images")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Erik Faye-Lund <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26221>
(cherry picked from commit 8ed471a339543072e0683308ac1ee1a4faad41fb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=317998e30f155d57dcbadce4b3b6691a1d9bddd0
Author: Lionel Landwerlin <[email protected]>
Date: Sat Sep 9 06:30:52 2023 +0300
intel/nir/rt: fix reportIntersection() hitT handling
We're currently updating the hitT value in the traversal result with
the hitT value from reportIntersection(), but this is not correct.
First the hitT value of reportIntersection() should update the
gl_RayTmaxEXT value (maps to brw_nir_rt_mem_ray_defs::t_far).
Second the hitT determined by traversal should only be updated if the
reportIntersection() hitT value has updated the gl_RayTmaxEXT and that
the new gl_RayTmaxEXT is smaller than the determined hitT value from
traversal.
Reviewed-by: Ivan Briano <[email protected]>
Fixes: 303378e1dd ("intel/rt: Add lowering for combined
intersection/any-hit shaders")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25146>
(cherry picked from commit 4eb4197d27aed6f5e71195a971145b2945d78330)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f80e96eb26def1862020f669e2ca4e7cf9061431
Author: Lionel Landwerlin <[email protected]>
Date: Thu Nov 16 21:24:31 2023 +0200
intel/fs: rerun divergence analysis prior to convert_from_ssa
Signed-off-by: Lionel Landwerlin <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9964
Cc: mesa-stable
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26235>
(cherry picked from commit 6dbb5f1e07b11be0cc6ac764bf1b51feaa7fa623)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=402553152f2c15d0c8003f7637fe8c9c3cfe747a
Author: José Expósito <[email protected]>
Date: Thu Nov 16 12:18:29 2023 +0100
zink: allow software rendering only if selected
In environments where 3D acceleration is not available, like in a VM,
the behavior before commit 8cd44b884387 ("egl: add automatic zink
fallback loading between hw and sw drivers") was to fallback to swrast.
This was the output of `eglinfo` in that situation:
$ eglinfo
[...]
Wayland platform:
EGL driver name: swrast
OpenGL core profile renderer: llvmpipe (LLVM 17.0.4, 256 bits)
However, after commit 8cd44b884387 ("egl: add automatic zink fallback
loading between hw and sw drivers") Zink support is tested before
falling back to swrast.
Since the system doesn't support 3D acceleration, Zink + software
rendering is used instead of swrast causing issues like the ones
described in #10146.
In this case, `eglinfo` prints:
$ eglinfo
[...]
Wayland platform:
EGL driver name: zink
OpenGL core profile renderer: zink Vulkan 1.3(llvmpipe (LLVM 17.0.4,
256 bits) (MESA_LLVMPIPE))
This patch ensures that Zink + software rendering is used only when the
user opts-in by setting `LIBGL_ALWAYS_SOFTWARE` or `D3D_ALWAYS_SOFTWARE`
and swrast is used otherwise.
After the patch, the output of `eglinfo` is identical to the one before
the regression:
$ eglinfo
[...]
Wayland platform:
EGL driver name: swrast
OpenGL core profile renderer: llvmpipe (LLVM 17.0.4, 256 bits)
Resolves: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10146
Fixes: 8cd44b884387 ("egl: add automatic zink fallback loading between
hw and sw drivers")
Reviewed-by: Michel Dänzer <[email protected]>
Signed-off-by: José Expósito <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26220>
(cherry picked from commit 2a71f06f2938678d89d5ed1372cda6a7b55d964d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e218edda5777de21d8b82e9f3a565bf06c4327a
Author: Robert Mader <[email protected]>
Date: Wed Nov 8 00:18:41 2023 +0100
panfrost: Support parameter queries for main planes
In order to return correct offsets, strides and possibly other
parameters. This is relevant for formats like NV12 and P010 where
the second plane, when produced by the V4L2 decoder, uses the
same FD like the first one, but with an offset.
Analogous to 7a7e577d.
Also use the new helper to get the number of planes.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10094
Cc: mesa-stable
Reviewed-by: Italo Nicola <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26109>
(cherry picked from commit 5f4253e096de76651d3bd2bbd447abb1e9cb624f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5542b17f7241e5ef581251e84dc6299741a85f4f
Author: Robert Mader <[email protected]>
Date: Wed Nov 8 15:23:48 2023 +0100
util: Add new helpers for pipe resources
They will be handy for drivers supporting multi-planar formats.
Cc: mesa-stable
Reviewed-by: Italo Nicola <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26109>
(cherry picked from commit d679154dc021feb1333bf7207d8a26d9db75b921)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a238bece942c3c8c97e426466b0675c8434da86
Author: Tatsuyuki Ishi <[email protected]>
Date: Tue Nov 14 16:30:24 2023 +0900
zink: Fix waiting for texture commit semaphores.
The commit was always being treated as failed...
Fixes: d1456a6b0ad ("zink: add semaphore handling for sparse binds")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26171>
(cherry picked from commit 94e867e4a682305e28efbacafc01551172f5a11a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c573f2437dfe040ed993ed44f8a9fd6aa00466b7
Author: Tatsuyuki Ishi <[email protected]>
Date: Mon Nov 13 17:39:20 2023 +0900
zink: Fix missing sparse buffer bind synchronization.
goto oopsies.
Fixes: d1456a6b0ad ("zink: add semaphore handling for sparse binds")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26171>
(cherry picked from commit 3ee283e45557066c29fdb2000f7627d8996aeed0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=61bd4b332b1b6f9da01e6efee0ff0700e0680fd6
Author: José Expósito <[email protected]>
Date: Fri Nov 10 10:01:46 2023 +0100
zink: fix dereference before NULL check
The `sv->image_view` pointer is dereference before checking whether it's
NULL or not.
Check for NULL before dereferencing it to avoid a possible crash.
Fixes: 9de455bc4323 ("zink: check for sampler view existence during
zink_rebind_all_images()")
Reviewed-by: Dave Airlie <[email protected]>
Signed-off-by: José Expósito <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26140>
(cherry picked from commit 83ed419cd0a55fc0ee9f5ccce8f7ac03711bbf71)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8c975a64232d6d9b1217d57a6eafa9e62f754c0
Author: Samuel Pitoiset <[email protected]>
Date: Wed Nov 15 15:06:12 2023 +0100
radv: add a missing async compute workaround for Tonga/Iceland
After digging into PAL code again, I figured that Tonga/Iceland are
both affected by a hw bug related to async compute dispatches.
The solution is to change the "threadgroup" dimension mode to the
"thread" dimension mode unconditionally.
This should fix a bunch of issues related to RADV_DEBUG=nocompute on
these GPUs.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7551
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6334
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4679
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26207>
(cherry picked from commit ec82b4294432aa6da40517655a4f8af2767176a2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd46e0b6d3331070be2b0b04f481bf37ffa548a8
Author: Samuel Pitoiset <[email protected]>
Date: Tue Nov 7 10:30:43 2023 +0100
radv: fix a descriptor leak with debug names and host base descriptor set
vk_object_base_finish() needs to be called on the descriptor set in
order to free the debug names.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10098
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26088>
(cherry picked from commit 4239e13ff658f7e4746779b8b4c4954b9437533c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5952462ecf1783f2d56998b643e1408c31dc6ee1
Author: Chia-I Wu <[email protected]>
Date: Tue Nov 7 13:19:52 2023 -0800
radv: fix image view extent override for astc
When doing ASTC decoding, the image has format VK_FORMAT_ASTC_*, the
internal plane 1 has format VK_FORMAT_R8G8B8A8_UNORM, and the view has
format VK_FORMAT_R8G8B8A8_UINT. It does not need the override for
compressed formats.
Fixes: f97b449e9e3 ("radv: integrate meta astc compute decoder to radv")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26106>
(cherry picked from commit 2533d0a0e29cb85e98aaaf44e665e091bf36d980)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ecb0ec428d3f8ca4df844bb096d865d047420a0
Author: Tapani Pälli <[email protected]>
Date: Mon Nov 13 09:56:25 2023 +0200
anv/drirc: add option to disable FCV optimization
There are rendering issues with FCV on DG2 and Unreal engine 5.1,
patch adds option to disable fcv in drirc.
Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Rohan Garg <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26169>
(cherry picked from commit 01046cd6add64323a2914ddffa2277f63d92b73e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c0233497b066dd861f87da3d4c807bd91cbf88b
Author: Eric Engestrom <[email protected]>
Date: Sat Nov 18 21:10:57 2023 +0000
.pick_status.json: Update to f05688aa3299a27430119b27e45181a6f415bff8