Rob Clark
736a07155f
Revert "ci: freedreno farm is down"
...
They seem to be responding again.
This reverts commit 551442b53e
.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17110 >
2022-06-17 16:11:37 +00:00
Lionel Landwerlin
03e543a422
intel/validator: validate dst/src types against devinfo support
...
v2: deal with src3_a1/src3_a16 instruction types (Curro)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16985 >
2022-06-17 15:43:05 +00:00
Ken Johnson
2866ae32da
mesa/main: Correct alloca() use without #include "c99_alloca.h"
...
Fixes: d231f95591
("mesa: add hw select name stack code path")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17073 >
2022-06-17 14:24:47 +00:00
Roman Stratiienko
45267d5181
Android.mk: Fix c11-related build failures
...
When building with Android.mk we are ending-up with:
gcc ..... -std=gnu99 .... -std=c11 .... target.o
^^^^^^^^^^ ^^^^^^^^
| |
_______________^_____ _____^___________
AOSP/KATI GENERATED MESON GENERATED
Some compilers uses first -std=gnu99 option and ignores second,
which results:
c99 implicit declaration of function static_assert()
This patch filters-out the first '-std=gnu99' from the cflags obtained
from AOSP/KATI dummy target output to avoid such kind of errors.
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Mauro Rossi <issor.oruam@gmail.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17078 >
2022-06-17 12:28:46 +00:00
Martin Roukala (né Peres)
4824396572
ci/valve: uprev boot2container
...
The latest version of the initramfs brings in the latest podman, but
most importantly brings in the usage of collapsed sections, thus
reducing the amount of scrolling up necessary when wanting to find out
the list of failures/flakes.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17051 >
2022-06-17 11:31:36 +00:00
Daniel Stone
551442b53e
ci: freedreno farm is down
...
Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17104 >
2022-06-17 09:27:53 +01:00
Mike Blumenkrantz
d275765630
zink: print runtime warning on missing EXT_border_color_swizzle
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17029 >
2022-06-17 01:32:25 +00:00
Mike Blumenkrantz
46b4017b37
zink: use VK_EXT_border_color_swizzle
...
if borderColorSwizzleFromImage isn't supported, assume the border color
must be pre-swizzled
fixes #6651
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17029 >
2022-06-17 01:32:25 +00:00
Mike Blumenkrantz
1effd3be67
zink: hook up VK_EXT_border_color_swizzle
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17029 >
2022-06-17 01:32:25 +00:00
Mike Blumenkrantz
be4f120476
zink: be a little selective about BAR fallback memory type
...
some resources MUST be host-visible, so use the appropriate heap for them
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17093 >
2022-06-17 01:14:45 +00:00
Mike Blumenkrantz
5750050432
zink: move BAR allocation demotion up the stack
...
having this so far down in the BO allocation path meant that slabs were
getting demoted to device-local and then stored as BAR in the pb cache,
which broke the cache pretty badly
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17093 >
2022-06-17 01:14:45 +00:00
Mike Blumenkrantz
d63e04e583
zink: store and reuse memory heap flags for buffer placement
...
the flags in vk_domain_from_heap() are the MINIMUM required flags for
the heap, but there may be other flags present, so ensure those are picked
up as expected
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17093 >
2022-06-17 01:14:45 +00:00
Mike Blumenkrantz
ce5aa07db1
zink: fix buffer transfer flushes with offsets
...
the src and dst ofsets need to be adjusted by the base map offset
in order to flush the correct region
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17095 >
2022-06-17 00:56:33 +00:00
Mike Blumenkrantz
28d23c9e26
zink: use only the extents for buffer unmap flushes
...
flush_region is relative to the map, so passing in the offsets again
breaks the flush (if the flush hook is implemented correctly)
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17095 >
2022-06-17 00:56:33 +00:00
Mike Blumenkrantz
2645430b06
zink: unify actual map calls in buffer mapping
...
make this a bit easier to debug by moving the calls to one place
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17095 >
2022-06-17 00:56:33 +00:00
Mike Blumenkrantz
dd5d215c62
zink: rename a variable
...
make this a little clearer to read
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17095 >
2022-06-17 00:56:32 +00:00
Yiwei Zhang
b37d97bb86
venus: resolve YV12 AHB to VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM
...
YV12 is a 3-plane format with minigbm. This change mitigates the crash
of testGLViewLargerHeightDecodeAccuracy[4], and successfully creates the
host side image and imports the memory.
vk_format(1000156002) drm_fourcc(842094169)
offsets(0, 27648, 34560, 0)
strides(256, 128, 128, 0)
modifier(0)
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16913 >
2022-06-17 00:40:10 +00:00
Brian Paul
a7911faa95
gallivm: use enum types instead of unsigned in lp_bld_sample.[ch]
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
86c9f3f034
draw: asst. clean-up in draw_vbuf.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
63457cb63d
draw: asst. clean-up in draw_pt_vsplit.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
f0dfc05660
draw: asst. clean-up in draw_pt_util.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
9586a38e39
draw: asst. clean-up in draw_pt_fetch_shader_pipeline.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
fcdbf7112c
draw: asst. clean-up in draw_pt_fetch_shader_emit.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
2eabffdd86
draw: asst. clean-up in draw_pt.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
a8cb20339c
draw: asst. clean-up in draw_pt.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
824ccace17
draw: asst. clean-up in draw_private.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
91a21fb519
draw: asst. clean-up in draw_pipe_validate.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
49a115e86c
draw: asst. clean-up in draw_pipe.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
7e1a1e898a
draw: asst. clean-up in draw_gs.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
14d4fe286b
draw: asst. clean-up in draw_context.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
b2d9be8627
draw: s/unsigned/enum pipe_prim_type/
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
e20664cbc3
llvmpipe: asst. clean-ups in lp_state_fs.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
c5521d5af1
gallivm: asst. clean-ups in lp_bld_logic.
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
eef5e6ac7c
llvmpipe: s/unsigned/enum pipe_compare_func/
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
9c19ed1b88
llvmpipe: use enum blend types instead of unsigned
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Brian Paul
cde8d3479e
llvmpipe: minor clean-up in lp_state_blend.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17064 >
2022-06-16 23:46:23 +00:00
Dylan Baker
c00281903b
docs: Extend calendar entries for 22.1 by 3 releases.
...
This gives us a last release of the 22.1 series lining up with 22.2.1,
assuming that the 22.1.0 is on time.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17090 >
2022-06-16 23:41:23 +00:00
Dylan Baker
77c7caa6bb
docs: Add calendar entries for 22.2 release candidates.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17090 >
2022-06-16 23:41:23 +00:00
Dylan Baker
8b5d4fa54b
docs: drop 22.1.4 calendar entry.
...
We're done with the 22.1 series, so lets not have it on the calendar
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17090 >
2022-06-16 23:41:23 +00:00
Mike Blumenkrantz
8987e266e4
kmsro: add error message on drm ioctl failure
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16949 >
2022-06-16 23:15:09 +00:00
Mike Blumenkrantz
c24d8ba316
drisw: probe kms if fd is passed
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16949 >
2022-06-16 23:15:09 +00:00
Jesse Natalie
7a9617b869
dzn: Skip another test that times out occasionally
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17089 >
2022-06-16 23:00:27 +00:00
Dave Airlie
6e5d126a65
llvmpipe: disable alpha test branch if multisample is enabled.
...
If multisample is enabled and alpha testing happens, the
branch can jump out of the fragment shader before the other
samples are generated. Just don't take the branch optimisation
post alpha test if multisample is enabled.
This should fix some rendering bugs in kicad with multisample
enabled.
Cc: mesa-stable
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17049 >
2022-06-16 22:45:13 +00:00
Mike Blumenkrantz
18585cac04
zink: radv baseline updates
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17088 >
2022-06-16 22:28:27 +00:00
Yonggang Luo
ada1baddce
docs: Update windows build requirement with Visual Studio
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17044 >
2022-06-16 21:49:54 +00:00
Yonggang Luo
d39553da10
ci/vs2019: Upgrade Windows 10 SDK version to 20348
...
This comes with stdalign.h for more C11 conformance
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17044 >
2022-06-16 21:49:54 +00:00
Yonggang Luo
c17a0d956a
meson/clover: Getting clover can be built with no-rtti llvm in mingw
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17055 >
2022-06-16 20:38:35 +00:00
Yonggang Luo
86f87dbe21
meson/rtti: Using get_argument_syntax to check msvc compatible compiler
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17055 >
2022-06-16 20:38:35 +00:00
Yonggang Luo
2d934ac110
meson: Use cc.get_argument_syntax instead cc.get_id when possible.
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17065 >
2022-06-16 19:59:58 +00:00
Yonggang Luo
1173c0f33a
meson: Using get_argument_syntax as the `--compiler_id` option for gen_vs_module_defs.py
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17065 >
2022-06-16 19:59:58 +00:00