Emma Anholt
25edfcdb2a
perfetto: Add the intel data sources to system.cfg.
...
Now I don't need to remember different perfetto setups depending on which
system I'm profiling.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20658 >
2023-01-12 20:21:03 +00:00
Emma Anholt
dbd6031c06
docs/perfetto: Fix the name of the i915 render stages data sources.
...
Fixes: ef27399bca ("docs: update perfetto with the latest status")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20658 >
2023-01-12 20:21:03 +00:00
Adam Jackson
b4d3d11e43
ci: build hasvk if we're building anv
...
!19355 should never have happened, but we didn't bother to add build
coverage for hasvk when we split it out from anv.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19356 >
2023-01-12 18:48:21 +00:00
Konstantin Seurer
329e017300
vulkan/rmv: Only trace on the n-th frame
...
This makes it stop dumping on every n-th frame. It also uses a simple
increment, since the function is locked.
Fixes: defed48 ("vulkan: Add common RMV tracing infrastructure")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20635 >
2023-01-12 18:24:49 +00:00
Friedrich Vock
0b081731cb
radv/rmv: Capture names of pipelines but not command buffers
...
For command buffers, only scratch/upload bos are logged which cannot be attributed to command buffer handles.
Fixes: 5611ab25 ("radv: Add RMV tracing layer")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20647 >
2023-01-12 16:42:22 +00:00
Friedrich Vock
681871ade1
radv/rmv: Fix resource ids for name tokens
...
Fixes: 5611ab25 ("radv: Add RMV tracing layer")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20647 >
2023-01-12 16:42:22 +00:00
Pierre-Eric Pelloux-Prayer
ab9a9f702a
hud: fix values printing
...
Oops...
Fixes: 595079c37c ("hud: extract float printf modifer selection logic to helper")
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20643 >
2023-01-12 16:52:23 +01:00
Pierre-Eric Pelloux-Prayer
63203f94e8
util: add a return value to util_sprintf
...
The regular sprintf is expected to return the number of char writter,
so let's do the same in our version.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20643 >
2023-01-12 16:52:19 +01:00
Filip Gawin
fa227969a3
nv30: add nv49 results
...
Acked-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19696 >
2023-01-12 15:11:01 +00:00
Filip Gawin
2b7b0868de
r300: don't cache abs in fragment shader
...
Currently this ends up with unneeded move.
fixes: 63f353b456
Reviewed-by: Pavel Ondračka <pavel.ondracka@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20625 >
2023-01-12 14:58:22 +00:00
Simon Ser
2e2775c11b
zink: fix PIPE_RESOURCE_PARAM_NPLANES with format modifier
...
Some format modifiers change the number of planes used by an image.
For instance AMD DCC modifiers uses 2 or 3 planes. However the
format modifier was ignored in the PIPE_RESOURCE_PARAM_NPLANES
get_param hook.
Fix this by using get_dmabuf_modifier_planes() instead of
util_format_get_num_planes().
This fixes wlroots-based compositors under zink.
Signed-off-by: Simon Ser <contact@emersion.fr >
Fixes: c025cb9ee9 ("zink: fix dmabuf plane returns")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20395 >
2023-01-12 14:40:30 +00:00
Eric Engestrom
b3f517b988
gen_release_notes: include links in relnotes.rst when generating the new release note
...
This is required to allow the docs to build, which in turn is required
if we want to allow merge requests against release (staging) branches.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20460 >
2023-01-12 14:34:59 +00:00
Eric Engestrom
13af997567
gen_release_notes: allow using the script from another checkout
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20459 >
2023-01-12 14:32:10 +00:00
Eric Engestrom
4a2635153c
gen_release_notes: avoid crashing when none of the commits mention closing an issue
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20459 >
2023-01-12 14:32:10 +00:00
Eric Engestrom
b114debffb
gen_release_notes: stop the script if we can't generate the release note
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20459 >
2023-01-12 14:32:10 +00:00
Thong Thai
2f70f001a8
frontends/va/postproc: yuv422 to nv12
...
Signed-off-by: Thong Thai <thong.thai@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Tested-by: Suresh Guttula <suresh.guttula@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19915 >
2023-01-12 14:04:48 +00:00
Thong Thai
56eac722bd
gallium/auxiliary/vl: compute shaders for progressive yuv
...
v2: Add a one line offset to the compute shader, to get the
correct output, as suggested by Suresh <Suresh.Guttula@amd.com >.
v3: Add `FALLTHROUGH` to fix a compilation error
Signed-off-by: Thong Thai <thong.thai@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Tested-by: Suresh Guttula <suresh.guttula@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19915 >
2023-01-12 14:04:48 +00:00
Thong Thai
49f36f4658
frontends/va/postproc: default to weave when deinterlacing
...
Signed-off-by: Thong Thai <thong.thai@amd.com >
Tested-by: Marcus Seyfarth <m.seyfarth@gmail.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19915 >
2023-01-12 14:04:48 +00:00
Thong Thai
4c46e4a5da
gallium/auxiliary/vl: fix scale and translate parameters
...
Fixes the scale and translate portion of the code to allow for
scale and crop to work properly.
Signed-off-by: Thong Thai <thong.thai@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Tested-by: Marcus Seyfarth <m.seyfarth@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19915 >
2023-01-12 14:04:48 +00:00
Corentin Noël
d4f759fefb
docs: utilities: Update list of development utilities
...
Explicitly mention supported APIs and add GFXReconstruct for
Vulkan tracing and debugging.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20474 >
2023-01-12 13:57:41 +00:00
Corentin Noël
9d9f8a4812
docs: debugging: Fix path to dlist.c
...
This file has now long being moved to another directory.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20474 >
2023-01-12 13:57:41 +00:00
Rhys Perry
9112fe3c76
radv/gfx11: increase radeon_check_space for occlusion query begin
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20652 >
2023-01-12 13:37:42 +00:00
Corentin Noël
bee771412c
dri: Free the already allocated optionCache and optionInfo on failure
...
These fields are allocated as they have to be taken into account for initScreen.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20663 >
2023-01-12 13:11:31 +00:00
Corentin Noël
7e61696de9
dri: Do not free the given screen in initScreen implementation
...
The given screen is already freed by the caller in case a NULL-pointer is
returned by the implementation.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20663 >
2023-01-12 13:11:31 +00:00
Corentin Noël
237e73ecca
gbm: Avoid leaks on screen creation failures
...
Some of the code paths were not freeing the allocated strings,
also remove the unused ret variable as we are always returning -1 on failure.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Simon Ser <contact@emersion.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20667 >
2023-01-12 12:39:37 +00:00
Erico Nunes
b9835fe6aa
lima/ci: add deqp-egl run to the deqp suite
...
Both wayland and X backends are covered by headless weston, with
X enabled through weston Xwayland.
Signed-off-by: Erico Nunes <nunes.erico@gmail.com >
Acked-by: Vasily Khoruzhick <anarsoul@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20392 >
2023-01-12 10:21:13 +00:00
Erico Nunes
2a4a6aa76f
lima/ci: change lima jobs to use deqp-runner suite
...
Align it with the state of other drivers' ci and make it
easier to enable more tests later.
Signed-off-by: Erico Nunes <nunes.erico@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20392 >
2023-01-12 10:21:13 +00:00
Gert Wollny
1af39eda6e
r600: Request that state validation is emitted for all changed states
...
Restricting the state change only to newly used states results in problems,
because SSBOs, Images, and the framebuffers make use of the same limited
set of resources, and not properly unbinding un-used resoureces leads to
invalid rendering and GPU hangs.
Fixes: aaa4b0e6
st/mesa: move check_program_state code into _mesa_update_state
v2: use new cap name and switched meaning
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7969
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20493 >
2023-01-12 08:34:49 +00:00
Gert Wollny
153af03b94
gallium: Add cap to request state validation for all dirty state
...
With aaa4b0e6 state validation is no longer called for all changed states,
but only for states that will be active with a new shader program.
Not all drivers support this and might prefer if the state validation
is emitted for all states that might be changed. So add a cap that the
driver can signal one or the other preference, and default to the new
behavior.
Fixes: aaa4b0e6
st/mesa: move check_program_state code into _mesa_update_state
v2: - Rename cap and and invert its meaning, query the cap
only once and store it in st, handle the mask update
when updating the shader i.e. not in st_validate_state (Marek)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20493 >
2023-01-12 08:34:49 +00:00
Erik Faye-Lund
e3e74a4402
docs: move note on other drivers to the bottom
...
This was always meant to be at the bottom of the page. To reduce the
risk of more driver-specific environment variables being added below,
let's add a horizontal rule to mark the difference. This should make it
more clear that this paragraph doesn't belong to the previous heading.
Fixes: c70c5ecd2e ("docs: move generic gallium envvars to root doc")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20644 >
2023-01-12 08:11:30 +00:00
Qiang Yu
c412b21d85
ac/nir/ngg: implement 16bit output streamout
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Qiang Yu
cd22bf90e7
ac/nir/ngg: refine nogs outputs handling
...
Gather outputs in advance to save both output data and type. Output data
is used for streamout and gfx11 param export. Output type is used for
streamout latter.
The output info will also be used for nir vertex export in the future.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Singed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Qiang Yu
69d11b6926
ac/nir/ngg: fix gs 16bit output uninitialized channel when gfx11
...
Fixes: abe2e99e9e ("ac/nir/ngg: gs support 16bit outputs")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Qiang Yu
3c26fbc934
ac/nir/ngg: fix gs store output for no param offset slot when gfx11
...
When slot has no param offset, we should not emit store output for
them on gfx11.
Fixes: abe2e99e9e ("ac/nir/ngg: gs support 16bit outputs")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Qiang Yu
b4695f78ad
ac/nir/ngg: always reset output when gs emit vertex
...
Follow the spec, all outputs even not this stream need to be
reset after emit vertex.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Qiang Yu
82f45dd5d4
ac/nir/ngg: assert no offset for nogs/gs output handling
...
As we does not support nogs/gs indirect output, so the offset
is always 0.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Qiang Yu
4b0ace2585
ac/nir/ngg: gs store output use nir_ssa_def instead of nir_variable
...
Because we called nir_lower_io_to_temporaries which ensure the
store output and emit vertex in the same block.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Qiang Yu
0224741ef6
ac/nir/ngg: gs save data type of outputs
...
Prepare to support 16bit streamout and remove nir_variable output.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20350 >
2023-01-12 03:47:01 +00:00
Dave Airlie
417c51a511
lavapipe: fix one more descriptor set reference issue
...
I thought I'd fixed this already, must have gotten lost in a rebase.
fixes
dEQP-VK.pipeline.pipeline_library.graphics_library.misc.bind_null_descriptor_set.1010
Fixes: 20902d1ed6 ("lavapipe: fix descriptor set layout reference counting in layout merge")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20662 >
2023-01-12 13:19:12 +10:00
Dave Airlie
f008a9baa7
ci/lvp: cleanup asan fails
...
cleanup the remaining file for what actually fails in CI now.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20630 >
2023-01-12 01:46:26 +00:00
Dave Airlie
3ec428bb32
vk_cmd_queue: add a callback to free push descriptors set khr
...
This should clean this up properly.
Fixes: eb7eccc76f ("lavapipe: Use generated command queue code")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20630 >
2023-01-12 01:46:26 +00:00
Dave Airlie
ff0433b8cb
llvmpipe: unref images correctly in the fragment shader path
...
fixes a memory leak seen in lavapipe asan tests
dEQP-VK.robustness.robustness2.bind.template.rg32f.unroll.nonvolatile.storage_buffer.readwrite.no_fmt_qual.null_descriptor.samples_1.1d.frag
Fixes: 2909c654b0 ("llvmpipe: add fragment shader image support")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20630 >
2023-01-12 01:46:26 +00:00
Dave Airlie
474965adb3
lavapipe: fix merged layout ref counting
...
When creating a merged layout, don't use ralloc, just use the
correct reference counting, also only reference a layout if the
pipeline uses it.
Fixes: d4d5a7abba ("lavapipe: implement EXT_graphics_pipeline_library")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20630 >
2023-01-12 01:46:26 +00:00
Dave Airlie
20902d1ed6
lavapipe: fix descriptor set layout reference counting in layout merge
...
When taking the descriptor set layouts from the pipeline layout, make
sure to take references
Fixes: d4d5a7abba ("lavapipe: implement EXT_graphics_pipeline_library")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20630 >
2023-01-12 01:46:26 +00:00
Dave Airlie
abd7ea2a88
lavapipe: drop unused macro
...
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20630 >
2023-01-12 01:46:26 +00:00
Emma Anholt
0accbe03e8
gallium: Allow copy_region blits with matching formats.
...
If the blit formats match and the resource formats match, then that's a
memcpy whether or not the blit's view of the resource matches the
resource's format.
Improves perf of portal-2-v2's last frame on zink+anv by 1.33212% +/-
0.302829% (n=5), where there's a blit that is viewing the RGBA8_UNORM
src/dst resources as RGBA8_SRGB.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20594 >
2023-01-12 01:04:45 +00:00
Emma Anholt
673837bb8b
gallium: Add a unit test for util_can_blit_via_copy_region().
...
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20594 >
2023-01-12 01:04:45 +00:00
Nico Cortes
29adbb132f
Revert "intel/compiler: fine-grained control of dispatch widths"
...
This reverts commit bed18ab3e2 .
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8063
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20654 >
2023-01-12 00:33:25 +00:00
David Heidelberg
a3b0300ef1
ci: make wget even more robust
...
The future is the curl or wget2, but today we have some issues to kill.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20626 >
2023-01-11 23:07:43 +00:00
David Heidelberg
93994f365e
ci: propagete robust wgetrc into lava rootfs
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20626 >
2023-01-11 23:07:43 +00:00