António Monteiro
3b98e2a556
gallium/util: Remove dirty flags class
...
Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428 >
2022-11-04 23:20:02 +00:00
António Monteiro
707d5b5b02
math: drop invert_matrix_perpective
...
Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428 >
2022-11-04 23:20:02 +00:00
Samuel Pitoiset
06adf6ad11
radv: invalidate L2 instead of only writeback L2 when using DCC stores
...
It seems INV_L2 is the right thing to do, especially for RDNA2 chips
with non-coherent RBs (NAVI22 is one of these). This fixes DCC
corruption.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6476
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7507
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19516 >
2022-11-04 22:40:11 +00:00
Samuel Pitoiset
26c8fedc1b
radv: make the GDS/GDS OA buffer objects resident
...
GDS is used for NGG queries/streamout (GFX10+ only) and the BOs were
only added to the graphics queue because compute doesn't need them.
Though, the kernel emits a GDS switch when a queue submission doesn't
use GDS. That means that submitting jobs on the compute queue without
GDS can reset the state of the graphics queue and lead to GPU hangs.
The only viable solution for now is to make the GDS BOs resident to
avoid resetting the state between queues. This shouldn't introduce
more syncs between queues because GDS BOs are similar for both.
This fixes a GPU hang with Warhammer Chaosbane during loading time and
possibly some spurious random GPU hangs. Note that this GPU hang was
workarounded on the Steam side with RADV_DEBUG=nongg.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19466 >
2022-11-04 21:52:35 +00:00
Yonggang Luo
cdc1abad7b
util: include gles header instead of hand crafted macros
...
Now the glapi/glapi_dispatch.c are cleaned up because of this
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19509 >
2022-11-04 19:28:19 +00:00
Eric Engestrom
02d61c1b31
docs/amber: fix link to docs on amber branch
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19533 >
2022-11-04 19:22:45 +00:00
Sathishkumar S
f1ea0bc18a
gallium/vl: return the buffer plane order for yuv444p format
...
plane order is expected when trying to render yuv surfaces, update it for yuv444p
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19445 >
2022-11-04 18:35:13 +00:00
Sathishkumar S
61c487719d
radeonsi/vcn: enable yuv formats supported on jpeg 2.5.0 and 2.6.0
...
decode of yuv444 yuv400 and yuv422 is supported on JPEG ip version 2.5.0 and 2.6.0.
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19445 >
2022-11-04 18:35:13 +00:00
Sathishkumar S
581220aa54
radeonsi/vcn: enable yuv422 jpeg decode
...
add yuv422 to supported decode format on asics that support it.
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19445 >
2022-11-04 18:35:13 +00:00
Boris Brezillon
1c567ae3a2
dzn: Hook-up format-casting
...
This was only partially supported, with not way to cross D3D12
old compatibility boundary. With the RelaxedFormatCastingSupported
feature, we can cast any format to any other format with the same
block size, which maps pretty well to how Vulkan see things.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339 >
2022-11-04 17:39:46 +00:00
Boris Brezillon
bda14ae998
dzn: Try to get a ID3D12Device10 object
...
Will be needed to support format casting.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339 >
2022-11-04 17:39:46 +00:00
Boris Brezillon
457e9deee1
vulkan: Provide a vk_image_create_get_format_list() helper
...
Some drivers need to know the full list of formats that can be used
when VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT or
VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT is set (dozen needs
that at least). While VkImageFormatListCreateInfo is a nice way to
get the actual of formats the user intends to use at view creation time,
this paramter is optional, and when it's missing, we need to know the
full list of compatible formats if we want things to work properly.
Provide a helper that hides all the complexity and return a format list
even when VkImageFormatListCreateInfo is missing.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339 >
2022-11-04 17:39:46 +00:00
Boris Brezillon
d65f439661
vulkan: Automatically generate helpers to retrieve format information
...
In Vulkan, formats are classified in compatible groups, allowing
formats to be cast to other formats in the same group. Some drivers
might need to have access to the full compatible format list, so let's
auto-generate helpers to allow that.
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339 >
2022-11-04 17:39:46 +00:00
Boris Brezillon
bbc4b4f59a
dzn: Query D3D12_FEATURE_DATA_D3D12_OPTIONS12
...
Needed to detect whether relaxed format casting is supported or not.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339 >
2022-11-04 17:39:46 +00:00
Erik Faye-Lund
40bd7b4307
docs: use code-block
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Erik Faye-Lund
ebf33212ed
docs: eg -> e.g.
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Erik Faye-Lund
e082cff56b
docs/gallium: glsl -> GLSL
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Erik Faye-Lund
45b4f82091
docs/gallium: fixup broken markup
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Erik Faye-Lund
1d947e8f7f
docs: remove spurious backtick
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Erik Faye-Lund
8458451180
docs: fix a couple of links
...
This was broken RST syntax, and lead to a couple of rogue cite-tags in
the rendered HTML.
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Erik Faye-Lund
5525d0b196
docs: use inline-code instead of default role
...
A single backtick escaped string in Sphinx refers to the "default role"
which is vague, and in practice ends up producing the HTML cite-element.
That's almost certainly not what these uses wanted.
A bunch of these would probably be better served using appropriate roles
instead of inline-code markup, but this is almost certainly what was
meant here instead. Let's not let perfect be the enemy of good here, and
just do what was intended. Using the right roles everywhere is a big
task.
I usually don't do changes like these to the relnotes, but in this case
there were a *single* article that had these mistakes. I assume that was
an early bug in the script that generateg the relnotes. Let's patch it,
so we don't get misrendering if we change the default-role.
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Erik Faye-Lund
779b4639b7
docs: consistently use single-quotes in config
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494 >
2022-11-04 16:38:06 +00:00
Tomeu Vizoso
7c5c181694
ci: Uprev kernel to 6.0
...
And also enable some kconfigs needed by existing Qualcomm-based
Chromebooks and also a new model: kingoftown.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19069 >
2022-11-04 14:51:24 +00:00
Eric Engestrom
ef5f9c99e0
VERSION: fix version as it will be a new year
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19529 >
2022-11-04 14:30:55 +00:00
David Heidelberg
e9b81c663d
Revert "ci: Collabora farm maintanance"
...
Farm is up again.
This reverts commit e0c577d5227fa6aaa061b3f388711fb24d6fc146.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19515 >
2022-11-04 12:22:17 +00:00
Benjamin Tissoires
67cee534a8
CI: convert to use the new S3 server instead of the legacy minio
...
We don't need to login anymore, but we can't use plain minio commands
now. `ci-fairy` got a helper as `s3cp` to keep an almost identical
API.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076 >
2022-11-04 11:41:42 +00:00
Guilherme Gallo
a04ed2f971
ci: Update ci-fairy in CI, rootfs and containers
...
ci-fairy is pulverized in possible different versions at Mesa CI.
This commit updates all of them to the version that migrates minio to
s3.
Also, trigger the build of base and test containers, as both uses
ci-fairy as well
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076 >
2022-11-04 11:41:42 +00:00
Guilherme Gallo
a108e4f70c
ci: Update piglit-traces tests expectations
...
Found some:
- crashes in zink, softpipe
- fails in a630-restricted
- unexpectedpass in broadcom
- fixed by https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/730
More details in the test expectations files comments.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076 >
2022-11-04 11:41:42 +00:00
Guilherme Gallo
70ce1dcacc
ci: Update piglit with s3 support
...
With new S3 support, we can use JWT-only server interaction via the
removal of `role-session` and `minio-host` arguments from PIGLIT_ARGS in
YAML.
This parameter change will come in a later commit.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076 >
2022-11-04 11:41:42 +00:00
Benjamin Tissoires
96e251aa86
ci: re-enable scheduled pipelines for git cache
...
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076 >
2022-11-04 11:41:42 +00:00
Martin Roukala (né Peres)
d7ad9e7014
zink/ci: add another subtest to the list of known failures for radv
...
This test as a whole does not seem to work anywhere, even lavapipe, but
one particular subtest was passing until a recent change
(!19438 - zink: polygon mode fixes?).
After consideration by @kusma, it appears that the subtest was passing
by accident due to zink generating the wrong values. Given that this is
not something that users would ever experience as a regression, we
simply document this new failure along with all the others for this
test.
Fixes: 53721827ea ("zink: correct depth-bias enable condition")
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19517 >
2022-11-04 11:23:16 +00:00
Iago Toral Quiroga
c7150ad8e6
broadcom/compiler: drop unused v3d_compile parameter for nir pass
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19519 >
2022-11-04 09:58:10 +00:00
Iago Toral Quiroga
22789d34be
v3dv: use vk_alloc instead of malloc
...
Fixes: e6884df088 ('v3dv: fix event synchronization')
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19518 >
2022-11-04 09:22:05 +00:00
Iago Toral Quiroga
36ef75b6eb
v3dv: vkCmdWaitEvents2 takes an array of VkDependencyInfo
...
We have been incorrectly assuming there was just one for all the
events, apparently CTS never uses more than one event.
Fixes: e6884df088 ('v3dv: fix event synchronization')
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19518 >
2022-11-04 09:22:05 +00:00
Martin Roukala (né Peres)
dc08875415
zink/ci: mark another test as fixed after the frontend caching series
...
Just like on Lavapipe, Emma Anholt's !19124 also fixed the
restore-sso-program test on RADV.
Fixes: 4e14da056d ("zink: Enable mesa/st frontend shader caching.")
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19468 >
2022-11-04 07:18:35 +00:00
Samuel Pitoiset
224f774e61
ci: uprev vkd3d-proton to v2.7
...
For up-to-date vkd3d-proton testsuite.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19499 >
2022-11-04 06:52:17 +00:00
Samuel Pitoiset
e891e84f4b
radv: fix setting MIN_LOD for texture descriptors on GFX11
...
Found by inspection because the MIN_LOD bits were moved.
Cc: 22.3 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19496 >
2022-11-04 06:43:04 +00:00
David Heidelberg
617e48ecda
ci: Collabora farm maintanance
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19511 >
2022-11-04 05:09:32 +00:00
Jesse Natalie
798aa43b6b
microsoft/spirv2dxil: Lower sample pos for fragment shaders
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19471 >
2022-11-04 01:40:17 +00:00
Jesse Natalie
1399f37a3b
d3d12: Move lower_sample_pos to microsoft/compiler
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19471 >
2022-11-04 01:40:17 +00:00
Marek Olšák
ca29d9a67c
ac: fix IB parsing for Stoney
...
We need to pass the family to register parsing functions.
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419 >
2022-11-04 00:42:08 +00:00
Marek Olšák
a54c8cdaf2
ac/gpu_info: simplify how has_accelerated_dot_product is set
...
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419 >
2022-11-04 00:42:08 +00:00
Marek Olšák
a338a2da58
amd/registers: regenerate gfx11 headers from amd-staging-drm-next
...
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419 >
2022-11-04 00:42:08 +00:00
Marek Olšák
b361ecc0da
amd/registers: describe allowed register ranges better
...
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419 >
2022-11-04 00:42:08 +00:00
Marek Olšák
ff4cd2133d
amd/registers: fix parse_kernel_headers.py warnings by adding missing enums
...
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419 >
2022-11-04 00:42:07 +00:00
Marek Olšák
c4104482c8
ac/llvm: remove unnecessary gfx11 condition for nir_intrinsic_store_buffer_amd
...
ac_build_buffer_store_dword is responsible for this.
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419 >
2022-11-04 00:42:07 +00:00
Jesse Natalie
d79da61ffa
dzn: Set Agility SDK parameters and update test expectations
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178 >
2022-11-03 23:54:45 +00:00
Jesse Natalie
a954ed2a70
d3d12: Set Agility SDK parameters and update test expectations
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178 >
2022-11-03 23:54:45 +00:00
Jesse Natalie
e4025c4712
ci/windows: Bump test image tag
...
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com >
Reviewed-by: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178 >
2022-11-03 23:54:45 +00:00
Jesse Natalie
3cd2b8d0c9
ci/windows: Enable developer mode for test container
...
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com >
Reviewed-by: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178 >
2022-11-03 23:54:45 +00:00