Lionel Landwerlin
3d4e09973c
nir/divergence: add missing load_printf_buffer_address
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Cc: mesa-stable
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Ivan Briano <ivan.briano@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25814 >
(cherry picked from commit 8d336f069e
)
2024-05-20 10:46:22 +02:00
Lionel Landwerlin
a0d2b531e0
anv: fix push constant subgroup_id location
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 7c76125db2
("anv: use 2 different buffers for surfaces/samplers in descriptor sets")
Reviewed-by: Ivan Briano <ivan.briano@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25814 >
(cherry picked from commit 3716bd704f
)
2024-05-20 10:46:20 +02:00
Eric Engestrom
c00fd82705
.pick_status.json: Update to b2282e3a57
2024-05-20 10:46:12 +02:00
Sergi Blanch Torne
d9857b2745
ci: identify and label S3 buckets
...
As for the S3 bucket where the kernel image is stored has been identified and
labeled, the other buckets in use can also be identified and labeled.
cc: mesa-stable
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Co-developed-by: Guilherme Gallo <guilherme.gallo@collabora.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28979 >
(cherry picked from commit 72b3c2e4ba
)
2024-05-15 15:37:05 +02:00
Sergi Blanch Torne
30a8e6b2f6
ci: kernel stored in a different s3 bucket
...
Due to the expiration time in `mesa-lava` (1m), the kernel used in mesa is now
using `mesa-rootfs` (1y). Due to this change, a fresh kernel image has been
prepared and mesa has also a few changes to adapt to this redirection.
cc: mesa-stable
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Co-developed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28979 >
(cherry picked from commit cc6bd04dd7
)
2024-05-15 15:37:05 +02:00
Guilherme Gallo
86e3e447a8
ci: Use id_tokens for JWT auth
...
Fixes : #9180
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28916 >
(cherry picked from commit 7101aecc53
)
2024-05-15 15:37:05 +02:00
Guilherme Gallo
b36299c5a9
ci: Add S3 id_token for all jobs
...
id_tokens will replace $CI_JOB_TOKEN predefined variable in GitLab 18.0
See:
https://docs.gitlab.com/ee/update/deprecations.html#default-cicd-job-token-ci_job_token-scope-changed
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28916 >
(cherry picked from commit 2639c91052
)
2024-05-15 15:37:05 +02:00
Paulo Zanoni
6f912e9829
isl: add ISL_TILING_64_XE2 to isl_tiling_to_name()
...
Fixes: c69650a95e
("isl,blorp,anv: introduce ISL_TILING_64_XE2 for Xe2+ platforms")
Reviewed-by: Rohan Garg <rohan.garg@intel.com >
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27306 >
(cherry picked from commit 66b6671d3c
)
2024-05-15 15:18:24 +02:00
Yiwei Zhang
23ba879b88
turnip: virtio: fix racy gem close for re-imported dma-buf
...
Similar to the prior fix for msm. On the dmabuf import path, tu_bo_init
can be outside of the vma lock, but left inside for code simplicity.
Fixes: f17c5297d7
("tu: Add virtgpu support")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29093 >
(cherry picked from commit 43bb989070
)
2024-05-15 15:18:24 +02:00
Yiwei Zhang
bf9cd27575
turnip: virtio: fix iova leak upon found already imported dmabuf
...
There's a success path on found dmabuf while the iova won't be cleaned
up. This change defers iova alloc till lookup miss and also to prepare
for later racy dmabuf re-import fix.
Also documented a potential leak on error path due to unable to tell
whether a gem handle should be closed or not without refcounting.
Fixes: f17c5297d7
("tu: Add virtgpu support")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29093 >
(cherry picked from commit 6ca192f586
)
2024-05-15 15:18:24 +02:00
Yiwei Zhang
8013c8fe3e
turnip: virtio: fix error path in virtio_bo_init
...
Fixes: f17c5297d7
("tu: Add virtgpu support")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29093 >
(cherry picked from commit 585a87ae53
)
2024-05-15 15:18:24 +02:00
David Rosca
3e455f9d3a
frontends/va: Only increment slice offset after first slice parameters
...
Fixes slice offset if app submits exactly one data buffer followed by
parameter buffers.
Fixes: 6746d4df6e
("frontends/va: Fix AV1 slice_data_offset with multiple slice data buffers")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11133
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11138
Tested-by: Marcus Seyfarth <m.seyfarth@gmail.com >
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29124 >
(cherry picked from commit b33bb4077d
)
2024-05-15 15:18:24 +02:00
Karol Herbst
cbb030e829
event: break long dependency chains on drop
...
This prevents stack overflows on drop without making it expensive to read
from dependencies (e.g. my attempt to use Weak instead).
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29190 >
(cherry picked from commit 48c752d3e0
)
2024-05-15 15:18:24 +02:00
Eric Engestrom
7f095e142b
.pick_status.json: Mark a45f199086
as denominated
2024-05-15 15:18:23 +02:00
Eric Engestrom
d999eda0eb
.pick_status.json: Update to aa9244c8f6
2024-05-15 15:15:35 +02:00
Robert Mader
2351b02736
egl/x11: Allow all RGB visuals to match 32-bit RGBA EGLConfigs
...
Drop the limitation to 24 or 30 bit configs. It was an abritrary
compromise to usually give apps what they wanted, but now we are about
to get a clean solution for alpha-blending on X11.
Based on a patch by Freya Gentz <zegentzy@protonmail.com >, see
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2376
Signed-off-by: Robert Mader <robert.mader@posteo.de >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9989 >
(cherry picked from commit 8a02ca1b2e
)
2024-05-15 15:15:35 +02:00
Robert Mader
680ed1609f
egl: Implement EGL_MESA_x11_native_visual_id
...
EGL 1.5 specification requires to not match on EGL_NATIVE_VISUAL_ID.
EGL_MESA_x11_native_visual_id extension allows us to remove this
restriction for X11, where we need to match EGL_NATIVE_VISUAL_ID to find
visuals which allow blending.
The reasoning is that on X11, compositors use the visual as "magic bit"
to decide whether to alpha-blend surface contents.
Unlike on most (all?) other windowing systems, requesting an alpha channel
for the config alone does not already imply blending on the compositor
level.
Thus, in order to allow clients to explicitly request configs with
"magic bit" and, similar to GLX, to order configs in a way so clients
not requesting alpha-blending do not get it by accident, do match
visual ids.
Note that one consequence of this is that more configs get
reported to clients.
Based on a patch by Freya Gentz <zegentzy@protonmail.com >, see
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2376
Signed-off-by: Robert Mader <robert.mader@posteo.de >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9989 >
(cherry picked from commit 9bdab38424
)
2024-05-15 15:15:35 +02:00
David Heidelberg
f2d36e3d6e
egl/x11: Move RGBA visuals in the second config selection group
...
This ensures that alpha-blended windows are at the bottom of the visuals
list, so they don't get picked up accidentally.
Based on: "egl-X11: Put RGBA visuals in the second config selection group"
Suggested-by: Freya Gentz <zegentzy@protonmail.com > # original concept
Co-authored-by: Robert Mader <robert.mader@posteo.de >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9989 >
(cherry picked from commit 3736c9997c
)
2024-05-15 15:15:35 +02:00
Robert Mader
981703aac9
egl: Implement EGL_EXT_config_select_group
...
It allows us to influence the order of EGL configs for arbitrary
reasons, which will be used in the following commit.
Based on a patch by Freya Gentz <zegentzy@protonmail.com >, see
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2376
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Signed-off-by: Robert Mader <robert.mader@posteo.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9989 >
(cherry picked from commit 0d90415625
)
2024-05-15 15:15:35 +02:00
David Heidelberg
e46605c109
ci/deqp: correct EGL_EXT_config_select_group detection
...
It's now a display extension, not an client one.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29145 >
(cherry picked from commit 9f42a34625
)
2024-05-15 15:15:35 +02:00
Faith Ekstrand
90ad5fc6e2
zink: Set workarounds.can_do_invalid_linear_modifier for NVK
...
This fixes most of the egl_image_dma_buf* piglit tests. The remaining
fails are YCbCr tests which are likely unrelated to core dma-buf
import/export.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 8bc694223e
)
2024-05-15 15:15:35 +02:00
Faith Ekstrand
9e27390d68
nvk/wsi: Advertise modifier support
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit e6f77defec
)
2024-05-15 15:15:35 +02:00
Faith Ekstrand
dc1dd72de5
nvk: Advertise VK_EXT_image_drm_format_modifier
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9636
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9480
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit cd428e01d7
)
2024-05-15 15:15:35 +02:00
Faith Ekstrand
1f2b11a564
nvk: Advertise VK_EXT_queue_family_foreign
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit d8e200c0d9
)
2024-05-15 15:15:35 +02:00
Mohamed Ahmed
b182fe0a60
nvk: enable rendering to DRM_FORMAT_MOD_LINEAR images
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit bca2f13dd8
)
2024-05-15 15:15:35 +02:00
Faith Ekstrand
bbdfab5c8c
nvk: Implement DRM format modifier queries
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 224d9a514a
)
2024-05-15 15:15:35 +02:00
Faith Ekstrand
623c7df22c
nvk: Set tile mode and PTE kind on dedicated dma-buf BOs
...
This is our compromise to make NVK and nouveau GL play nice when it
comes to modifiers. The old GL driver depends heavily on the PTE kind
and tile mode, even for images with modifiers. While it correctly
encodes the PTE kind and tile mode in the modifiers it advertises, it
may ignore the modifier and just trust what's set on the BO when it
imports a dma-buf image. This is partly because it doesn't support
VM_BIND and partly because of preexisting bugs in the modifiers
implementation. In either case, we can't fix it retroactively.
To work around this, NVK also sets the PTE kind and tile mode on the BO
when it's a dedicated allocation created for a DRM format modifiers
image. If DRM format modifiers are used without dedicated allocations,
things may still break but that's getting into vanishingly unlikely
scenarios.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 4ad79bfef4
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
96fdc7faba
nvk: Support image creation with modifiers
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit f1fdffa1b2
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
f887e1fdf6
nouveau/winsys: Add back nouveau_ws_bo_new_tiled()
...
This reverts commit ce1cccea98
. In this
new version, we also add a query for whether or not tiled BOs are
supported by nouveau.ko.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 3bb531d245
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
727e86c06d
drm-uapi: Sync nouveau_drm.h
...
Taken from drm-misc-next-fixes:
commit 959314c438caf1b62d787f02d54a193efda38880
Author: Mohamed Ahmed <mohamedahmedegypt2001@gmail.com >
Date: Thu May 9 23:43:52 2024 +0300
drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 03c4a46fe5
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
8307d829e0
nvk: Allow VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 8cce121da4
)
2024-05-15 15:15:34 +02:00
Mohamed Ahmed
11ff1834a6
nil: Support creating images with DRM modifiers
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 6063f96c61
)
2024-05-15 15:15:34 +02:00
Mohamed Ahmed
73f3805da3
nil: Add some helpers for DRM format modifiers
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit e1bd4127f3
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
797b25e43d
nil: Default to NV_MMU_PTE_KIND_GENERIC_MEMORY on Turing+
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit b7773f96f9
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
b7f177ceae
nvk: Set color/Z compression based on nil_image::compressed
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 603389f7a3
)
2024-05-15 15:15:34 +02:00
Mohamed Ahmed
395cd831b3
nil: Add a nil_image::compressed bit
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 873a044cb3
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
bed6fba7c8
nil: Use the right PTE kind for Z32 pre-Turing
...
This got lost in the Rust rewrite.
Fixes: 426553d61d
("nil: Re-implement nil_image in Rust")
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 73c87dbc0c
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
1adce876ce
nvk: Allow GART for dma-bufs
...
We also allow dma-bufs to be imported into arbitrary heaps because we
relly don't know where they'll come from.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 71d1fa129a
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
f49045e281
nouveau/winsys: Make BO_LOCAL and BO_GART separate flags
...
It's sometimes useful to specify both to allow migration.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 6cd58de4eb
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
dac5e319b0
nouveau/winsys: Take a reference to BOs found in the cache
...
Fixes: c370260a8f
("nouveau/winsys: Add dma-buf import support")
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 19b143b7bc
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
ce203e13f7
nvk: Improve the GetMemoryFdKHR error
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit d63f015d0b
)
2024-05-15 15:15:34 +02:00
Friedrich Vock
f8d7ef05b3
aco/spill: Insert p_start_linear_vgpr right after p_logical_end
...
If p_start_linear_vgpr allocates a VGPR that is already blocked, RA
will try moving the blocking VGPR somewhere else. If
p_start_linear_vgpr is inserted right before the branch, that move will
be inserted after exec has been overwritten, which might cause the move
to be skipped for some threads.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28041 >
(cherry picked from commit 590ea76104
)
2024-05-15 15:15:34 +02:00
Friedrich Vock
5f5ebee70b
aco/tests: Insert p_logical_start/end in reduce_temp tests
...
Linear VGPR insertion will depend on a p_logical_end existing in the
blocks the VGPR is inserted in.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28041 >
(cherry picked from commit 84c1870b65
)
2024-05-15 15:15:34 +02:00
Marek Olšák
1145007a43
util: shift the mask in BITSET_TEST_RANGE_INSIDE_WORD to be relative to b
...
so that users don't have to shift it at every use. It was supposed to be
like this from the beginning.
Fixes: fb994f44d9
- util: make BITSET_TEST_RANGE_INSIDE_WORD take a value to compare with
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29187 >
(cherry picked from commit 5502ecd771
)
2024-05-15 15:15:34 +02:00
Dave Airlie
4d53dba4fa
radv/video/encode: fix quality params on v2 hw.
...
This should have the extra dword as well.
Fixes: 54d499818c
("radv/video: add initial support for encoding with h264.")
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29098 >
(cherry picked from commit 2f02af39b3
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
175c92890d
vulkan/wsi: Bind memory planes, not YCbCr planes.
...
Reviewed-by: Joshua Ashton <joshua@froggi.es >
Fixes: f5433e4d6c
("vulkan/wsi: Add modifiers support to wsi_create_native_image")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10176
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 >
(cherry picked from commit 28342a581f
)
2024-05-15 15:15:34 +02:00
Faith Ekstrand
4bf6af791a
nvk/upload_queue: Only upload one line of data
...
This only doesn't blow up beause we set multi_line_enable = FALSE.
Fixes: 2074e28a0d
("nvk: Add an upload queue")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29183 >
(cherry picked from commit 9b098209b9
)
2024-05-15 15:15:34 +02:00
David Heidelberg
87e5487d88
freedreno/ci: move the disabled jobs from include to the main file
...
Accidentally moved.
Fixes: 9442571664
("ci: separate hiden jobs to -inc.yml files")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29155 >
(cherry picked from commit d9a0373a65
)
2024-05-15 15:15:34 +02:00
Yiwei Zhang
66b5cea130
turnip: msm: fix racy gem close for re-imported dma-buf
...
For dma-buf, if the import and finish occur back-2-back for the same
dma-buf, zombie vma cleanup will unexpectedly close the re-imported
dma-buf gem handle. This change fixes it by trying to resurrect from
zombie vmas on the dma-buf import path.
Fixes: 63904240f2
("tu: Re-enable bufferDeviceAddressCaptureReplay")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29173 >
(cherry picked from commit a1392394ba
)
2024-05-15 15:15:34 +02:00
Yiwei Zhang
aaa8b36237
turnip: msm: clean up iova on error path
...
Fixes: e23c4fbd9b
("tu: Switch to userspace iova allocations if kernel supports it")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29173 >
(cherry picked from commit 3909803849
)
2024-05-15 15:15:34 +02:00