summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-03-22vc4/ci: add another `spec@arb_vertex_buffer_object@vbo-subdata-many draw` flakeEric Engestrom1-0/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28333>
2024-03-22vc4/ci: add another `spec@!opengl 1.1@depthstencil-default_fb-drawpixels` flakeEric Engestrom1-2/+2
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28333>
2024-03-22v3d/ci: mark spec@ext_framebuffer_blit@fbo-blit-check-limits as fixedEric Engestrom1-1/+0
It looks like it has been fixed for many drivers yesterday, but apparently not vc4. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28333>
2024-03-18vc4/ci: add flakeEric Engestrom1-0/+3
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/56377699 https://gitlab.freedesktop.org/mesa/mesa/-/jobs/56392947 https://gitlab.freedesktop.org/mesa/mesa/-/jobs/56421981 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28238>
2024-03-02rpi3/ci: update expectations for vc4-rpi3-gl-piglit-full:arm32 2/4Eric Engestrom1-1/+0
This job very often hangs (hence why it's split into 4), but it managed to finish once and failed because this test is now skipped instead of failing: https://gitlab.freedesktop.org/mesa/mesa/-/jobs/55772960 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27934>
2024-02-07vc4/ci: update expected listJuan A. Suarez Romero1-0/+3
Add new piglit failure Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27503>
2024-02-07Revert "v3d/ci: update expected list"Juan A. Suarez Romero1-3/+0
This reverts commit 31c9e17bf2a5e3ff73fce7a2cf14db121c5bbc90. The added failure happens actually in the vc4 driver, not v3d. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27503>
2024-01-12Revert "v3d: show warning on creating a v3d screen on real hw"Juan A. Suarez Romero2-12/+0
There are paths were a v3d screen can be created instead of vc4 screen, in a real rpi4 hardware. For instance, in the CI itself. So assuming that it was only possible with the simulator was wrong. This reverts commit c31be1f4bacde88ccd7177af26cb554c35472573. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27047>
2024-01-12v3d/vc4/ci: reset the list of timeout testsJuan A. Suarez Romero5-39/+173
Check all the timeout tests in the skip list to remove those that are not timeout anymore, and add new ones. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27027>
2024-01-11v3d: show warning on creating a v3d screen on real hwJuan A. Suarez Romero2-0/+12
Rpi4 and beyond uses vc4 hardware to handle the display. When forcing `MESA_LOADER_DRIVER_OVERRIDE=v3d` on it, it will try to create a screen through v3d hardware, which does not exist, and thus fail. This is intended to be used with the simulator on x86 hardware, so let's print a warning in case of trying to use it with real rpi. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27001>
2024-01-04ci/vc4/v3d: remove some flakesJuan A. Suarez Romero2-7/+0
Remove some flakes not seen in the last 7 months. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26893>
2023-12-19ci/v3d/vc4: remove explicit modules to loadJuan A. Suarez Romero1-4/+0
These are now loaded through the initramfs image. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26720>
2023-11-24vc4/resource: Support offset query for multi-planar planesRobert Mader1-2/+7
This is required in order to return the correct value for `gbm_dri_bo_get_offset()` for e.g. the second plane of a NV12 image. Use the newly introduced `util_resource` helper and, while on it, also add support for `gbm_bo_get_plane_count()`. Cc: mesa-stable Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26283>
2023-11-21vc4: use pipe_shader_from_nirAlyssa Rosenzweig1-12/+3
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26272>
2023-11-19v3dv: Rework to remove drm authentication for wsiErico Nunes3-367/+11
For Wayland wsi allocations, v3dv used the wl_drm protocol, which is now being phased out in favor of dmabuf feedback. wl_drm is used to figure out the display device (in v3dv assumed to be vc4) and then to authenticate with the Wayland compositor in order to allocate scanout-able buffers (in this case, dumb buffers) directly at the display device. Recent commit 88c03ddd34 changed the behavior of the wsi code, and wl_drm is now passing the render device instead, which broke Wayland wsi. It turns out that the authentication code is not really needed and since we would like to remove wl_drm usage and the master device is assumed to be vc4 anyway, we can just remove some unneeded device-specific wsi code and get Vulkan Wayland wsi back to work. Fixes: 88c03ddd345 ("egl/drm: get compatible render-only device fd for kms-only device") Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26200>
2023-11-06vc4/ci: add piglit "full run" variant of vc4-rpi3-gl:arm32 as a manual jobEric Engestrom2-0/+17
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25975>
2023-11-06vc4/ci: add manual variant of .vc4-rulesEric Engestrom1-1/+10
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25975>
2023-11-04vc4/ci: comment why piglit is disabledJuan A. Suarez Romero1-0/+2
We disabled piglit testsuite some time ago because it is causing GPU hangs from time to time, and we didn't find out yet what are the tests causing such issue. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26021>
2023-11-02vc4: Stop assuming glsl_get_length() returns 0 for vectorsFaith Ekstrand1-8/+5
Instead, check if it's a vector or scalar and use 1 explicitly. In FS output case where we were only using it assert we don't have any arrays, assert that directly. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22580>
2023-11-02broadcom/cle: rename xml filesAlejandro Piñeiro4-10/+9
This has been confusing for some time, as from a xml file with the suffix v33 (so suggesting just one version) we were generating the headers for v33, v40, v41 and v71. So now there is a header for the vc4 driver, and one header for the v3d/v3dv (so v3d "platform") drivers. FWIW, this means that now the name of the original xml and the header files generated doesn't maintain a so similar pattern, but again the equivalence were not there anyway. Acked-by: Emma Anholt <emma@anholt.net> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25851>
2023-10-24v3d/vc4/ci: add new fails/timeoutJuan A. Suarez Romero3-0/+18
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25868>
2023-09-27vc4: Fix mask RGBA validation at YUV blitJose Maria Casanova Crespo1-1/+1
Solves regression on video players using GPU for video decoding that just displays the video in green. Fixes: d13da7782cd80 ("vc4: call blit paths in chain") Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25412>
2023-09-19vc4: mark buffers as initialized at vc4_texture_subdataJose Maria Casanova Crespo2-41/+44
This fixes several tests when the initially uploaded buffer from CPU was being ignored because vc4_texture_subdata was not marking the resource as written/initialized. The usage flags management available at vc4_resource_transfer_map is generalized into vc4_map_usage_prep and reused at vc4_resource_transfer_map. This makes vc4 implementation more similar to v3d. This fixes 7 text in the following subgroups: -dEQP-GLES2.functional.fbo.render.texsubimage.* -dEQP-GLES2.functional.texture.specification.basic_copytexsubimage2d.* -spec@arb_clear_texture@arb_clear_texture-* Cc: mesa-stable Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25297>
2023-08-19vc4: drop duplicate .lower_ldexpEric Engestrom1-1/+0
It's set 3 lines above already. Fixes: 2a33ea95d66cd7ba83e2 ("glsl: Retire ldexp lowering in favor of the nir lowering flag.") Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24786>
2023-08-14vc4: Stop passing around nir_destFaith Ekstrand1-55/+55
We want to get rid of nir_dest so back-ends need to stop storing it in structs and passing it through helpers. Acked-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24674>
2023-08-08vc4/ci: update expected resultsJuan A. Suarez Romero1-1/+3
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24550>
2023-08-03vc4,broadcom/compiler: Drop write_mask handlingAlyssa Rosenzweig2-22/+8
There's no legacy register support so we ncessarily write a contiguous vector. In other words, the write_mask is of the form `(1 << x) - 1`. Meanwhile this code asserts the write mask is of the form (1 << x)`. Putting it together the write mask is necessarily always 0x1, writing out a single scalar. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24471>
2023-08-02broadcom/ci: reduce vc4-rpi3-gl timeout to 30min (instead of 1h)Eric Engestrom1-0/+1
This means that when things go wrong, we don't hold the runner (and Marge) for as long, while still having a 2x margin over the usual run time. Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24402>
2023-07-25vc4: Convert to new-style NIR registersFaith Ekstrand1-19/+38
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24153>
2023-07-12broadcom/ci: add the renderonly folder to things that can affect v3d & vc4Eric Engestrom1-2/+4
Also, move the v3d/vc4 lines together so it's clearer. Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24105>
2023-07-10vc4: implement clear_render_target and clear_depth_stencilItalo Nicola1-2/+9
Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23735>
2023-07-07vc4/ci: fix skipping of gles3 piglit testsEric Engestrom1-1/+1
This is a regex, not a glob, so `spec@!opengl es 3*` matched all of `spec@!opengl es `. Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24018>
2023-07-04vc4: Convert to use nir_foreach_function_impl when possibleYonggang Luo3-16/+11
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23988>
2023-07-03vc4: Use nir_builder_atKonstantin Seurer1-6/+2
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23883>
2023-06-29vc4: use imm-helpersErik Faye-Lund3-51/+38
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23855>
2023-06-26vc4/v3d/ci: update expected resultsJuan A. Suarez Romero3-7/+17
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23862>
2023-05-31vc4: Replace usage of mtx_t with simple_mtx_t in vc4/vc4_simulator.cYonggang Luo1-17/+18
This is a prepare for removing _MTX_INITIALIZER_NP. Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Acked-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21284>
2023-05-29v3dv/vc4/ci: update expected resultsJuan A. Suarez Romero3-10/+18
Remove passing tests, and add new failures and timeouts. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23303>
2023-05-29vc4: add specific stencil blit pathJuan A. Suarez Romero2-16/+74
This implementation reinterprets the stencil data as a RGBA8888 texture. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23136>
2023-05-29vc4: allow tile-based blit for Z/SJuan A. Suarez Romero2-37/+52
Besides blitting color-based buffer, we can use the tile buffers to blit also depth and stencil buffers. This also fixes several piglit tests. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23136>
2023-05-29vc4: call blit paths in chainJuan A. Suarez Romero1-30/+38
Let each of the different blit paths to decide if they need to do the blit operation based on the blit mask, and update the mask once the operation is done. This allows to call all the different versions without needing to check if they success or not. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23136>
2023-05-29vc4: set blit mask correctlyJuan A. Suarez Romero1-1/+1
Drivers expect either color or stencil/depth blit to be done, but not both at the same time. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23136>
2023-05-25vc4: remove unused tgsi includesThomas H.P. Andersen1-1/+0
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22838>
2023-05-12vc4/ci: re-enable VC4 testingJuan A. Suarez Romero2-7/+7
But keeps piglit's quick_gl disabled, as it contains the test causing the GPU resets. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22982>
2023-05-09vc4/ci: disable VC4 jobsJuan A. Suarez Romero1-1/+1
Some test is causing a GPU reset, which blocks merge requests. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22927>
2023-05-09vc4/ci: skip unsupported test versionsJuan A. Suarez Romero1-1/+4
Skip all OpenGL[ES] and GLSL tests that are not supported. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22919>
2023-05-03vc4: use util_unreference_framebuffer_state to unref fb stateMike Blumenkrantz1-2/+1
Fixes: f5bde99cbdd ("gallium: plumb resolve attachments through from frontends -> pipe_framebuffer_state") Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22673>
2023-04-05vc4/ci: add another sync flakeEric Engestrom1-0/+1
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/39377396 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22312>
2023-04-04vc4/ci: add arm64 failure to flakes as it works on armhfEric Engestrom1-0/+3
Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22297>
2023-03-30ci/broadcom: consolidate vc4-rpi3* jobs into a single vc4-rpi3-gl:armhfEric Engestrom6-54/+40
Without reducing the coverage and using 4 runners instead of 9, most runs take 10-13 minutes instead of 12-13 minutes for the egl job, 9-11 minutes for the piglit job, and 6-8 minutes for the deqp job. Stress-tested over 40+ runs. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21902>