- Feb 01, 2023
-
-
Dylan Baker authored
-
- Jan 31, 2023
-
-
This bumps the meson requierement to 1.0 because it requires https://github.com/mesonbuild/meson/pull/11024 Closes: #7688 Fixes: 20c90fed ("rusticl: added") Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <!19778> (cherry picked from commit 4b841cfe) Conflicts: .gitlab-ci/image-tags.yml Stable: - Create a custom CI tag for 23.0, as we're lacking some patches necessary to use the same CI images as main, and I don't want to pull that many CI changes into the stable branch
-
This was used by the tracing jobs, which we are not running on Mesa anymore. Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <mesa/mesa!20956> (cherry picked from commit d7f429cc)
-
at some point this was correct, but refactoring has since occurred, and this ends up leaking storage image objects cc: mesa-stable Part-of: <mesa/mesa!20867> (cherry picked from commit d745e3b0)
-
templates[ZINK_DESCRIPTOR_TYPE_UNIFORMS] needs to be deleted, which requires a larger iterator cc: mesa-stable Part-of: <mesa/mesa!20867> (cherry picked from commit dd733034)
-
avoid trying to create dmabuf-exportable resources too cc: mesa-stable Part-of: <mesa/mesa!20791> (cherry picked from commit 01d2e7af)
-
This should be set for linear colorspace only. Ported from RadeonSI. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!20982> (cherry picked from commit c8a575eb)
-
Based on RadeonSI/PAL. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!20982> (cherry picked from commit 47852b9f)
-
ac/surface puts the raw pip_bank_xor there, which needs the extra shift for the actual tile_swizzle. (I think long term we should refactor this in ac/surface but for now lets fix like radeonsi to avoid race conditions.) CC: mesa-stable Part-of: <mesa/mesa!20979> (cherry picked from commit b0a9772c)
-
Might cause hangs according to comments. Syncs with radeonsi/PAL. Fixes: e210ffb4 ("radv: update framebuffer registers on GFX11") Part-of: <mesa/mesa!20979> (cherry picked from commit d321bc13)
-
list_is_linked() isn't the right function to use in order to check if the BO is on a cache bucket or the zombie list, as this checks if the next pointer of the list isn't NULL. This is always the case with the BO list item as it's always initialized, so the next pointer points to the list head itself when the BO isn't on any list. Use list_is_empty() to check if the BO is actually linked into one of the deferred destroy lists. Fixes: 1b1f8592 ("etnaviv: drm: properly handle reviving BOs via a lookup") Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <mesa/mesa!20940> (cherry picked from commit 196882a1)
-
CC: mesa-stable Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <mesa/mesa!20940> (cherry picked from commit c5936900)
-
Free the both arrays tracking BOs when the etna_cmd_stream is destroyed. CC: mesa-stable Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <mesa/mesa!20940> (cherry picked from commit 3156b15f)
-
When writing descriptor with a null buffer/image we expect that writing 0 will point to the null surface. For that to work the null surface has to be in the bindless surface heap. This fixes some new failures in dEQP-VK.robustness.* tests once rewritten from the NV_ray_tracing to KHR_ray_tracing extension. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 4ceaed78 ("anv: split internal surface states from descriptors") Closes: mesa/mesa#7762 Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!20953> (cherry picked from commit 0d7f8aa2)
-
cc: mesa-stable Part-of: <mesa/mesa!20912> (cherry picked from commit ac339d97)
-
it's illegal to mix-and-match DB and non-DB descriptor usage, so disable this until I finish the implementation cc: mesa-stable Part-of: <mesa/mesa!20912> (cherry picked from commit 6f7b752f)
-
all types of descriptors may use buffer-type descriptors, even samplers cc: mesa-stable Part-of: <mesa/mesa!20912> (cherry picked from commit cc9fa060)
-
this needs to be populated for other places in the driver that need it cc: mesa-stable Part-of: <mesa/mesa!20912> (cherry picked from commit 3c562cfc)
-
cc: mesa-stable Part-of: <mesa/mesa!20912> (cherry picked from commit c545300f)
-
This reverts commit a3552048. on some drivers this catches qbos, which then hits the below assert. needs more investigation Fixes: a3552048 ("zink: allow direct memory mapping for any COHERENT+CACHED buffer") Part-of: <mesa/mesa!20912> (cherry picked from commit 07809c45)
-
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Fixes: 192486b7 ("aco/gfx11: export mrtz in discard early exit for non-color shaders") Part-of: <mesa/mesa!20937> (cherry picked from commit 695cf752)
-
Dylan Baker authored
-
- Jan 28, 2023
-
-
Thong Thai authored
Add the progressive shader to the vl_compositor_cs_cleanup_shaders function. Signed-off-by: Thong Thai <thong.thai@amd.com> Closes: mesa/mesa#8086 Closes: mesa/mesa#8088 Tested-by: Mark Herbert <mark.herbert42@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commit bb003d40) Fixes: 56eac722 ("gallium/auxiliary/vl: compute shaders for progressive yuv") Part-of: <mesa/mesa!20971>
-
- Jan 27, 2023
-
-
This game seems to incorrectly set the render area and since we switched to full dynamic rendering, the framebuffer dimensions is no longer used. Forcing the render area to be the framebuffer dimensions restore the previous logic and it fixes rendering issues. Fixes: c7d0d328 ("radv: Set the window scissor to the render area, not framebuffer") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!20900> (cherry picked from commit 1a93cd15)
-
The JIT generated FS shader has logic to obey sample mask when: multisample is enabled, or multisample is disabled but FS writes sample mask and pipe_rasterizer_state::no_ms_sample_mask_out. However it did not handle the case where multisample was disabled, FS did not write sample_mask, and sample mask was zero. Instead it relied upon the setup to discard the primitives, but that went away with commit da5840f3. We could restore the discard on zero mask behavior, but we would again blurring the semantics of rasterization discard. Instead this change adds logic to primitive setup to cull the primitives when sample mask is zero. Fixes: da5840f3 ("llvmpipe: Faithfully honour pipe_rasterizer_state::rasterizer_discard flag") Part-of: <mesa/mesa!20934> (cherry picked from commit 77092ca8)
-
RRGetScreenInfo re-probes connector status, which may result in an EDID transfer for every output, which according to Adam Jackson can be on the order of 100ms for a single EDID block. So our previous implementation of this eglGetMscRateANGLE was blocking for excessive periods of time instead of being a quick query of the refresh rate like users expect. This changes our eglGetMscRateANGLE implementation from using RRGetScreenInfo to RRGetScreenResourcesCurrent and RRGetCrtcInfo. This obtains the same monitor info without re-probing connectors. Fixes a severe performance regression in Chromium WebGL performance. While we're re-implementing the extension, we also implement proper multi-monitor support: if there are multiple active CRTCs, we determine which contains the largest portion of the surface, as specified in the EGL_ANGLE_sync_control_rate extension. We also now report fractional refresh rates correctly rather than rounding to the nearest Hz. Fixes: 47526556 ("egl/x11: implement ANGLE_sync_control_rate") Closes: mesa/mesa#6996 Closes: mesa/mesa#7038 Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!20665> (cherry picked from commit 41d5f0ee)
-
This provides a cached view of the current screen resources, with the coordinates and refresh rate for every active CRTC. It's currently only implemented for X11/XCB. Fixes: 47526556 ("egl/x11: implement ANGLE_sync_control_rate") Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!20665> (cherry picked from commit 3170b633)
-
Fixes: 5f1b8b3e ("dzn: Use DXGI swapchains") Part-of: <mesa/mesa!20939> (cherry picked from commit 2010b915)
-
Dylan Baker authored
-
- Jan 26, 2023
-
-
add a special tracker here to set the state only when necessary Fixes: 659c39fa ("zink: rework primitive rasterization type logic") Part-of: <mesa/mesa!20886> (cherry picked from commit 06a12594) Conflicts: src/gallium/drivers/zink/ci/zink-lvp-validation-settings.txt Stable: - removed CI file taht doesn't exist in 23.0 branch
-
The given screen is already freed by the caller in case a NULL-pointer is returned by the implementation. Cc: mesa-stable Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20933> (cherry picked from commit dd3730f8)
-
If a shader stage is already imported from a library it should be properly ignored. Fixes recent CTS dEQP-VK.pipeline.fast_linked_library.misc.unused_shader_stages*. Fixes: c8765c52 ("radv: ignore shader stages that don't need to be imported with GPL") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!20899> (cherry picked from commit b97fee43)
-
The shifting was off-by-one compared to how it is done in the kernel. Also, excess_length needs to be casted to uint64_t to prevent zeroing everything except the 5 LSBs. Fixes: abf3bcd6 ("radv: Add RMV resource tracking") Part-of: <mesa/mesa!20820> (cherry picked from commit e07729e8)
-
Fixes: abf3bcd6 ("radv: Add RMV resource tracking") Part-of: <mesa/mesa!20820> (cherry picked from commit 292d7b95)
-
Fixes: 8d0e6c02 ("radv: Add RMV tracing utilities") Part-of: <mesa/mesa!20820> (cherry picked from commit 2d5d2472)
-
Sometimes it seems like this field contains the correct pid instead. Fixes: 8d0e6c02 ("radv: Add RMV tracing utilities") Part-of: <mesa/mesa!20820> (cherry picked from commit 2dec10c2)
-
Some compositor like KWin do not return the render node. v2: Make sure we test if only drm_info.hasPrimary is true (Jason) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: db42ed1e ("vulkan/wsi/wl: correctly find whether the compositor uses the same GPU") Closes: mesa/mesa#8139 Reviewed-by: Simon Ser <contact@emersion.fr> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!20914> (cherry picked from commit e27d217f)
-
The ACP entries created by copy propagation to track the implied copies of LOAD_PAYLOAD instructions don't model the behavior of LOAD_PAYLOAD correctly, since (as of 41868bb6) header moves are implicitly retyped to UD and the destination of non-header copies implicitly uses the same type as the corresponding source, even though the ACP entries created for such copies could incorrectly represent a type conversion, which can lead to mis-optimization of the program. According to Marcin, this fixes the func.mesh.ext.workgroup_id.task.q0 crucible test. Fixes: 41868bb6 ("i965/fs: Rework the fs_visitor LOAD_PAYLOAD instruction") Reported-by: Marcin Ślusarz <marcin.slusarz@intel.com> Tested-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <mesa/mesa!18980> (cherry picked from commit 7b5e9336)
-
ChromeOS still uses Python 3.6, but the glsl2spirv script uses module '__future__.annotations', introduced in Python 3.7. Fix the build by removing module, but otherwise preserve the type annotations. Fixes: 949c3b55 ("util/glsl2spirv: add type annotations") Acked-by: Eric Engestrom <eric@igalia.com> Part-of: <mesa/mesa!20237> (cherry picked from commit bca22a65)
-
`count` should not be incremented before the check, because it causes the modifiers array to be filled starting from position 1 instead of 0. This bug causes one less format modifier to be available than would otherwise be expected, which could then lead to a dmabuf query failing in situations where a supported modifier wouldn't be advertised. It also causes garbage data to be advertised as a modifier in position 0 of the array, although this is not very likely to cause issues. Fixes: 2a121751 ("panfrost: Implement panfrost_query_dmabuf_modifiers") Cc: mesa-stable Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <mesa/mesa!20879> (cherry picked from commit 6c446377)
-