Mike Blumenkrantz
b0d0c1971c
glx: delete releaseTexBuffer
...
this is always null, so none of the code is ever executed
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
0341623f39
dri: delete __DRI_COPY_SUB_BUFFER
...
bye-bye
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
945fe0ef4a
glx: inline DRI_COPY_SUB_BUFFER
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
998d0e3993
drisw: declare DRI_COPY_SUB_BUFFER as PUBLIC
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
34912cc8d1
glx: rename driswCopySubBuffer
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
62847d14b5
glx: delete DRI_KOPPER
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
192febfbbf
glx: switch kopper check for setting up swapinterval/bufferage functions
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
850b0694d6
glx: use local var for LIBGL_KOPPER_DISABLE check
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
2157108e11
dri: declare DRI_KOPPER as PUBLIC
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
38529171d6
dri: delete driCreateNewScreen2
...
unused
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
5d72058556
glx: inline DRI_DRI2
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
5019481a16
dri: delete __DRImesaCoreExtensionRec::createNewScreen
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
63937eca78
glx: inline DRI_SWRAST
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
f5dd5e4b44
glx: delete __DRImesaCoreExtension usage
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
5dba565ada
glx: inline createNewScreen3
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
66e0d12627
glx: inline DRI_CORE functions
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
87720ab42b
loader/dri3: inline DRI_CORE
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
029ec1a20b
dri: declare DRI_CORE functions public
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
e95a462d1f
glx: inline IMAGE_DRIVER functions
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
49c3814cd1
dri: declare IMAGE_DRIVER symbols PUBLIC
...
this is a temporary hackaround for a linker issue where dri frontend
functions need to be called directly by (glx/egl/gbm) but can't due
to linkage/visibility
eventually all of these frontends will be a single linkage into a single
library, which will avoid the intermediate linking and solve the problem
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
f9f8652445
loader: split out dri3 into subdir
...
this fixes dependency hell
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
36aaaa968a
meson: move glx subdir after gallium build
...
more dependency hell
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
4095fac72b
loader: move some common dri3 functions out of dri3 loader
...
fixing dependency hell
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Lionel Landwerlin
eebb6cd236
anv: stop using 3DSTATE_WM::ForceThreadDispatchEnable
...
Documentation says we should leave this field to the default value
(Normal). Instead we set 3DSTATE_PS_EXTRA::PixelShaderHasUAV when we
see that a fragment shader has side effects.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30408 >
2024-07-31 18:18:14 +00:00
Rhys Perry
c818de7360
aco: combine DPP into v_cvt_f16_f32
...
The label_f2f16 was interfering with the label_dpp.
fossil-db (navi31):
Totals from 36 (0.05% of 79395) affected shaders:
Instrs: 70998 -> 70875 (-0.17%); split: -0.18%, +0.00%
CodeSize: 373184 -> 372244 (-0.25%)
Latency: 1266807 -> 1266752 (-0.00%); split: -0.01%, +0.01%
InvThroughput: 131618 -> 131566 (-0.04%); split: -0.04%, +0.00%
SClause: 1947 -> 1944 (-0.15%)
Copies: 5194 -> 5208 (+0.27%)
VALU: 41019 -> 40921 (-0.24%); split: -0.24%, +0.00%
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30425 >
2024-07-31 17:26:05 +00:00
Eric Engestrom
39f045aaa6
docs: add sha256sum for 24.1.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30445 >
2024-07-31 17:18:05 +00:00
Eric Engestrom
a6a7e00b36
docs: update calendar for 24.1.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30445 >
2024-07-31 17:18:05 +00:00
Eric Engestrom
d0d0036fc9
docs: add release notes for 24.1.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30445 >
2024-07-31 17:18:05 +00:00
Karol Herbst
f7f343796f
meson: centralize checking for new enough meson for rust support
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:43 +00:00
Karol Herbst
b3a9c91d9b
meson: centralize bindgen version check
...
It's entirely duplicated and every rust user also wants to use bindgen
anyway. This way bindgen won't show up multiple times in the meson log
as well.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:43 +00:00
Karol Herbst
5290a09d2a
docs: move rust update policy
...
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:43 +00:00
Karol Herbst
03ecda08de
meson: centralize rust handling
...
This bumps the req for everything, but I think that's fine, because one
part restricting to a lower rust version doesn't make much sense as we are
also not doing it generally for C or C++.
This also makes it easier for packagers to know what requires rust.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:43 +00:00
Karol Herbst
7ff2513c28
rusticl/icd: use ptr::addr_eq
...
It got stabilized with 1.76
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:43 +00:00
Karol Herbst
19c66754df
rusticl: use ptr::from_ref and ptr::from_mut
...
This is considered safer as it prevents changing the type the pointer
points to.
It got stabilized with 1.76
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:43 +00:00
Karol Herbst
11e4793b41
rusticl: replace some raw pointer casts
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:42 +00:00
Karol Herbst
66f7e3a4b2
rusticl: use pointer byte offset API
...
It allows us to be more explicit about the intent here and avoids casting
to u8 or c_void pointers.
It got stabilized with 1.75
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:42 +00:00
Karol Herbst
40072f57b0
rusticl: use next_multiple_of
...
It got stabilized with 1.73
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:42 +00:00
Karol Herbst
fb82c253da
rusticl: use div_ceil
...
It got stabilized with 1.73
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:42 +00:00
Karol Herbst
cc37ecc7ba
rusticl: bump rust req to 1.76
...
Current FireFox ESR requires 1.76, so this is an update according to our
rust update policy.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414 >
2024-07-31 16:22:42 +00:00
Rob Clark
e2de72f71f
tu: Random non-consequential fixes
...
Few whitespace and harmless , when ; was meant fixes
Reported-by: Steev Klimaszewski <steev@kali.org >
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30431 >
2024-07-31 15:11:48 +00:00
Rob Clark
87c889cd8a
freedreno/drm/virtio: Fix issues with 16k (or larger) page sizes
...
Signed-off-by: Rob Clark <robdclark@chromium.org >
Fixes: e6b2785811
("freedreno/drm/virtio: Use userspace IOVA allocation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30431 >
2024-07-31 15:11:48 +00:00
Rob Clark
7fe3529715
tu: Fix issues with 16k (or larger) page sizes
...
The iova allocations need to be CPU page aligned. (The GPU itself
always supports 4k mappings regardless of the smallest CPU page size,
but GEM buffer allocations must be an integer number of CPU pages.)
Signed-off-by: Rob Clark <robdclark@chromium.org >
Fixes: 63904240f2
("tu: Re-enable bufferDeviceAddressCaptureReplay")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30431 >
2024-07-31 15:11:48 +00:00
Karmjit Mahil
745ad42bb0
freedreno: Enable the A735
...
Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30379 >
2024-07-31 13:38:52 +00:00
Juan A. Suarez Romero
52e7f2ca08
v3d/ci: update number of rpi5 available for testing
...
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30438 >
2024-07-31 11:50:47 +00:00
Juan A. Suarez Romero
fa0a8b8d2c
v3d/ci: add new flakes in rpi5
...
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30438 >
2024-07-31 11:50:47 +00:00
Juan A. Suarez Romero
07cd860b52
broadcom/ci: annotate some of the failures
...
We already know the reason of some of the failures. Let's include the
reason.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30438 >
2024-07-31 11:50:47 +00:00
Eric R. Smith
21ac210ab2
panfrost: make PAN_MESA_DEBUG=dump really show all GPU memory
...
The flag is advertised to dump all GPU memory, but really only dumps
mapped memory, so some significant pieces (like textures) are left out.
Change this by mapping as much as possible when the dump flag is given.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30411 >
2024-07-31 11:25:09 +00:00
Karol Herbst
801078cbf8
nouveau: handle realloc failure inside cli_kref_set
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11477
Fixes: 821f4c8d99
("nouveau: import libdrm_nouveau")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30374 >
2024-07-31 11:01:09 +00:00
Konstantin Seurer
f8bf9f07b6
aco: print s_delay_alu INSTSKIP>3 correctly
...
INSTSKIP has 3 bits.
Fixes: 94958e6
("aco: improve printing of s_delay_alu")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30401 >
2024-07-31 08:09:52 +00:00
Eric Engestrom
38ede4334f
rpi/ci: shorten the boot timeout to 90 seconds
...
5 minutes is too long and doesn't leave enough time after the retry to
still complete the job, especially if two boots fail in a row, removing
10 out of the worst-case 20 minutes allowed.
90 seconds is more than enough, the boot output normally starts after
~40-45 seconds.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30409 >
2024-07-31 09:01:32 +02:00