Marek Olšák
843f2eb3c8
radeonsi/ci: update gfx1100 results
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25484 >
2023-10-17 00:31:07 +00:00
Marek Olšák
8211635c44
winsys/amdgpu: don't send CP_GFX_SHADOW chunk if shadow address is not set
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25484 >
2023-10-17 00:31:07 +00:00
Marek Olšák
6224630e43
radeonsi: disable register shadowing without SR-IOV to fix bad performance
...
Fixes: f71607c8d3 - radeonsi/gfx11: enable register shadowing by default
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25484 >
2023-10-17 00:31:07 +00:00
Marek Olšák
865cab6a1c
ac/gpu_info: don't allow register shadowing with SR-IOV due to bad performance
...
This is only for gfx11.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25484 >
2023-10-17 00:31:07 +00:00
Adam Jackson
6e20f820c6
docs: Mention 'meson devenv' in the pre-install test instructions
...
Also immunize ourselves against section renumbering.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25686 >
2023-10-17 00:08:44 +00:00
Iván Briano
abf5eb5753
anv: advertise VK_KHR_global_priority_queue
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25758 >
2023-10-16 23:39:58 +00:00
Friedrich Vock
f8eec4c4e3
radv/rt: Reject hits within 10ULP of previous hits in emulated RT
...
This is an alternative workaround that fixes double hits on shared edges
failing some watertightness CTS tests.
Fixes: e034ba1c44 ("radv/rt: Miss rays that hit the triangle's v edge")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24093 >
2023-10-16 23:10:20 +00:00
Lionel Landwerlin
f900b763b1
anv: workaround Gfx11 with optimized state emission
...
No real explanation so far.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 50f6903bd9 ("anv: add new low level emission & dirty state tracking")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9781
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25750 >
2023-10-16 19:48:28 +00:00
Marek Olšák
d8a41a27b9
winsys/amdgpu: pad gfx and compute IBs with only 1 NOP
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:34 +00:00
Marek Olšák
87e9fafaa8
winsys/amdgpu: correctly pad noop IBs for RADEON_NOOP=1
...
We need to use ib_pad_dw_mask, not ib_alignment.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:34 +00:00
Marek Olšák
e6d4552b67
winsys/amdgpu: properly pad the IB in amdgpu_submit_gfx_nop
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:34 +00:00
Marek Olšák
5a5629f766
ac/gpu_info: set gfx and compute IB padding to only 8 dwords
...
This is what the kernel reports and what PAL seems to be doing.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:34 +00:00
Marek Olšák
395b7ce364
ac/gpu_info: conservatively decrease IB alignment and padding to 256B
...
This should be large enough for all engines.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:34 +00:00
Marek Olšák
42aedd627e
ac/gpu_info: drop the hack unifying all IB alignments
...
We overalign it anyway, so there is no change in behavior.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:34 +00:00
Marek Olšák
5edc0da8ec
ac/gpu_info: move ib_pad_dw_mask into ip[]
...
No change in behavior.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:34 +00:00
Marek Olšák
e0813c5477
ac/gpu_info: split ib_alignment as ip[type].ib_alignment
...
No change in behavior. The previous overalignment is preserved.
It sets ib_pad_dw_mask sooner.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25578 >
2023-10-16 16:16:33 +00:00
Thong Thai
cba898a530
frontends/va/config: report max width and height for encoding/decoding
...
Signed-off-by: Thong Thai <thong.thai@amd.com >
Reviewed-by: Sil Vilerino <sivileri@microsoft.com >
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25716 >
2023-10-16 15:14:48 +00:00
Gert Wollny
3fae614286
r600/sfn: When simplifying src vec4 pinnings, also check all uses
...
If a value would be used e.g. as Rn.x___ and also as Rn.xy__, in two
different instructions , then the first use was removing the group
property if Rn.x, which then broke the use in the second case, because
RA didn't see anymore, that Rn.x and Rn.y must be allocated with the
same register ID "n".
Fixes: c23604324b (r600/sfn: copy-propagate single source texture values)
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9998
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25741 >
2023-10-16 14:21:01 +00:00
Gert Wollny
e9c21952aa
r600/sfn: Don't override a chgr pinning during copy propagation
...
Fixes: c0b6c59e0 (r600/sfn: Copy propagate into TEX source)
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9998
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25741 >
2023-10-16 14:21:01 +00:00
Faith Ekstrand
7fb561eff2
vulkan/wsi: Allow for larger linear images
...
For images of size 32768 × 32768 (which NVK allows), the linear image
ends up being 4GB which overflows the uint32_t size as well as some of
our alignment calculations.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25729 >
2023-10-16 13:02:14 +00:00
Faith Ekstrand
7a83109835
nvk: Clean up the disk cache on physical device create fail path
...
Fixes: a4f8fd9dd5 ("nvk: Hook up the disk cache")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25749 >
2023-10-16 05:58:58 -05:00
Faith Ekstrand
922e6e5423
nvk: Handle unbinding images and buffers
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25747 >
2023-10-16 09:40:59 +00:00
Faith Ekstrand
0c84c55972
nvk: Add an nvk_shader_finish() helper
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25747 >
2023-10-16 09:40:59 +00:00
Faith Ekstrand
112be1901b
nvk: Free the disk cache
...
Fixes: a4f8fd9dd5 ("nvk: Hook up the disk cache")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25747 >
2023-10-16 09:40:59 +00:00
Faith Ekstrand
16725e4d70
nvk: Use nouveau_ws_bo_unmap() instead of munmap()
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25747 >
2023-10-16 09:40:59 +00:00
Hannes Mann
7881874847
vulkan/wsi/wayland: Fix detection of tearing control protocol
...
Fixes: 5ceba97c2e ("vulkan/wsi/wayland: add support for IMMEDIATE")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25689 >
2023-10-16 09:06:24 +00:00
Erik Faye-Lund
a4845e9c43
bin/gen_release_notes: escape at-symbols
...
If we don't do this, we end up with email-alike strings to be turned
into mailto links. This is not what we want.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25712 >
2023-10-16 08:59:07 +00:00
Erik Faye-Lund
9a3bd255b6
docs/relnotes: escape some at-symbols
...
These are not e-mail addresses, and shouldn't have mailto links...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25712 >
2023-10-16 08:59:07 +00:00
Erik Faye-Lund
42a1940a9f
docs/ci: escape at-symbols
...
These aren't email addresses, so let's not format them as if they were.
Fixes: 9314950726 ("ci: Add docs for Linux Kernel uprevs")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25712 >
2023-10-16 08:59:06 +00:00
Erik Faye-Lund
570306e7b9
docs/relnotes: remove cruft from end of lines
...
We don't include the full commit message here, so let's drop all of this
cruft. Not sure how this happened in the first place.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25712 >
2023-10-16 08:59:06 +00:00
Eric Engestrom
042d256c1e
util/xmlconfig: inline datadir
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21808 >
2023-10-16 07:59:38 +00:00
Eric Engestrom
44b0764930
util/xmlconfig: drop driInjectDataDir() now that DRIRC_CONFIGDIR is always supported
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21808 >
2023-10-16 07:59:38 +00:00
Erik Faye-Lund
128c2bdf73
meson: add src/util to the drirc search path
...
With this, we pick up new in-tree defaults for driconfig variables
when using meson devenv. This is useful for testing new config
variables.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21808 >
2023-10-16 07:59:38 +00:00
Erik Faye-Lund
6c5a9ede64
util/xmlconfig: add an env-var for overriding drirc search dir
...
This adds an environment variable that can be used to override the
global drirc serach directory. This can be useful for debugging, and
meson devenv, as used in the following commit.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21808 >
2023-10-16 07:59:38 +00:00
Karol Herbst
ccdea7bbeb
rusticl/format: disable all sRGB formats
...
Fixes: 714e11fe04 ("rusticl/format: enable all trivial to support optional image formats")
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25739 >
2023-10-15 21:28:15 +00:00
Karol Herbst
bdd255bd04
rusticl/memory: use PIPE_BUFFER for IMAGE1D_BUFFER images
...
Fixes samplerless 1Dbuffer tests with Zink.
Fixes: 20c90fed5a ("rusticl: added")
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25739 >
2023-10-15 21:28:15 +00:00
Karol Herbst
e79d9a9cc8
rusticl/device: restrict 1Dbuffer images for RGB and RGBx
...
Fixes: 20c90fed5a ("rusticl: added")
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25739 >
2023-10-15 21:28:15 +00:00
Karol Herbst
832efd097c
nir/lower_mem_access_bit_sizes: fix invalid shift bit_size
...
Shifts always need 32 bit for their second source.
Fixes: c70d94a889 ("nir_lower_mem_access_bit_sizes: Support unaligned stores via a pair of atomics")
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25740 >
2023-10-15 16:19:36 +00:00
Danylo Piliaiev
b3043434d9
freedreno: Fix field size of A6XX_TEX_CONST[3].ARRAY_PITCH
...
We silently dropped higher bits of layer size, which was not
caught by CTS because it requires image to be big.
Fixes rendering in shadowmappingcascade Vulkan demo.
Cc: mesa-stable
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25717 >
2023-10-15 13:58:50 +00:00
Karol Herbst
3fb822dbab
zink: properly emit PhysicalStorageBufferAddresses cap
...
The PhysicalStorageBuffer64 addressing model requires this cap. Fixes
vulkan validation error.
Fixes: ddc5c30489 ("zink: handle global and scratch vars")
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25736 >
2023-10-15 12:19:05 +00:00
Karol Herbst
74363973ff
zink: implement load_global_constant
...
This is just like load_global, just that the memory pointed to won't
change.
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25736 >
2023-10-15 12:19:05 +00:00
Lucas Stach
04260c3654
mesa: enable NV_texture_barrier in GLES2+ (again)
...
This re-enables NV_texture_barrier in GL ES2+ contexts. This had
previously been tried, but caused CI issues and thus had been
reverted.
c7da969f8f ("mesa: Enable NV_texture_barrier in GLES2+") was
buggy, as it added the es2 annotation to the category instead of
the function in the XML, which lead to the extension being
advertised, but calling glTextureBarrierNV in a GLES context
only yielded a GL_INVALID_OPERATION instead of the desired
barrier operation.
Signed-off-by: Lucas Stach <dev@lynxeye.de >
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/25728 >
2023-10-15 10:33:47 +00:00
LingMan
8b6b405a01
rusticl/core: don't take a lock while dropping Context
...
We have exclusive access in Drop, so we can use `get_mut` instead of having to `lock`.
Since that borrows `self` mutably but `call` also needs to borrow `self`, we `take` the Vec with
callbacks out of `self` so the mutable borrow can end before running `call`.
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:11 +00:00
LingMan
54c74164a8
rusticl: drop an #[allow(dead_code)] marker
...
These aliases are all in use.
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:11 +00:00
LingMan
b10e750199
rusticl: mark the fields of callback structs private
...
These details are supposed to be inaccessbile and were only made pub during the initial
implementation phase.
Add an `#[allow(dead_code)]` marker since the CreateContextCB isn't hooked up yet which would cause
a warning about unused fields otherwise.
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:11 +00:00
Karol Herbst
503d084d01
rusticl/api: remove cl_closure macro
...
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:11 +00:00
LingMan
cda52a04e3
rusticl/api: drop a few include paths
...
`c_void` is already imported at the top of the file.
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:10 +00:00
LingMan
0b9c926dd2
rusticl: add a safe abstraction to execute a ProgramCB
...
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:10 +00:00
LingMan
b1b0ca1acb
rusticl: add a safe abstraction to execute a CreateContextCB
...
Since running CreateContextCBs isn't implemented yet, it's unused for now.
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:10 +00:00
LingMan
6e2ba679ff
rusticl: add a safe abstraction to execute an SVMFreeCb
...
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669 >
2023-10-15 00:17:10 +00:00