Gurchetan Singh
f0fc91acff
gfxstream: vulkan-docs: add cereal generator
...
This adds custom the cereal generator as an option to genvk.py
gfxstream specific options like "-registryGfxstream" are also
added.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
bd8eb080ff
gfxstream: vulkan-docs: track feature type
...
The newest version of Vulkan docs doesn't have this, and it
needs to be patched in.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
82ff5f769f
gfxstream: vulkan-Docs: import the cerealgenerator
...
This imports the cereal generator into the next gen
Vulkan docs.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
c10d78e61e
gfxstream: import Vulkan-docs from 463f8c
...
This is based on 463f8c ("Change log for October
20, 2023 Vulkan 1.3.269 spec update").
Right now, the current version of vulkan-docs seems to
be 2021. Need to update. Import here without
modifications so we can track the changes that were
needed to support cereal.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
C Stout
21b028e0c9
Reapply "[guest] Check that the singleton VirtGpuDevice matches desired capset"
...
This reverts commit e5040938cd3947d0efaa287b2a509b879bee56bb.
Add special handling for kCapsetNone: return a device that was created
with any capset.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
b0d19974f5
Revert "[guest] Check that the singleton VirtGpuDevice matches desired capset"
...
This reverts commit e08334cde39bbb8142caf42e716a5e11f772ce1a.
Reason for revert: breaks dEQP testing b/309836674
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
C Stout
ade1fcea63
[guest] Check that the singleton VirtGpuDevice matches desired capset
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
822c88f173
VkImageCreateInfo should ignore queeu family indices in some situation
...
The spec says indices pointer should be ignored when sharingMode is not
VK_SHARING_MODE_CONCURRENT.
We need to explicitly set index count to 0 and index pointer to null,
otherwise encoder will still try to encode it.
Spec:
https://registry.khronos.org/vulkan/specs/1.3/html/vkspec.html#VUID-VkBufferCreateInfo-sharingMode-00913
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
00d26a31fa
gfxstream/guest: pass through Android process names
...
This allows complex process names such as "com.android.systemui"
and "android.hardware.graphics.composer3-service.ranchu" to be
be the debug name via the virtio-gpu interface.
This uses the CONTEXT_INIT ioctl to pass through the name. Due
to TASK_COMM_LEN and the fact we initialize many times using
"RenderThread", the process name wasn't always propagated through
before.
This is useful for debugging and a host composition flow as well.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
28d5e2d777
Fix dEQP-VK.wsi.android.maintenance1
...
- There is a bug in the wait implementation.
- We should not send VK_IMAGE_LAYOUT_MAX_ENUM to host.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
c5a8e9bee4
Disable compatible handle types for semaphore timeline
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Andrew Woloszyn
66d9bf1a8c
Fix for dynamic rendering.
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
a43de793fc
Parse more ext structs in vkAllocateMemory and vkCreateBuffer
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
ba5cb9b65c
Create sync device before calling goldfish_sync_queue_work
...
dEQP-VK.wsi.android.maintenance1.* becomes flaky (instead of hard
failure) after the fix.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Andrew Woloszyn
1019e5d4d8
Added some fixes for zircon tests in the Android CTS.
...
We shouldn't have been trying to run the tests in the first place
but vkGetPhysicalDevice*Properties was returning true for these
handles even on Android.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
d9e47cb1e0
Add some vk 1.3 extension strings
...
Note: nVidia has a driver bug with vkGetPrivateData. But swiftshader
works fine.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
8d7e6cbf6e
gfxstream: fix meson build system issues
...
- Fix aemu_logging pkg-config dependency after
aosp/2754786
- Fix path to virtio-gpu-gfxstream-renderer.h after
aosp/2755688
- Fix dependencies on <GL/gl.h> in both guest and host
builds.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
df2b17c4b8
gfxstream: nuke ResourceTracker::Impl
...
The big giant Vulkan singleton might have an underlying
implementation. However, it's unlikely we'll have more than
impl since it it's pretty giant. Nuke ResourceTracker::Impl
to reduce the number of layers one must traverse to modify
things.
Since this was mega-change, clang-format was also applied.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
0e8582d6da
Move SyncHelper to platform
...
... upcoming changes will add promote the emulated virtio gpu
stack as a proper platform backend which will include the
SyncHelper.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
f321c3e997
gfxstream: don't use renderControlEnc for Vulkan
...
Based on host caps.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
280eef5b65
gfxstream: simplify VK_HOST_CONNECTION macro
...
Try to do most of the work in SetupInstance.
vulkaninfo Linux guest
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
22eba755ad
gfxstream: nuke unused functions
...
These functions are unused.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
a026b5d20f
gfxstream/guest: use GetRingParamsFromCapset
...
Use the previously mentioned GetRingParamsFromCapset function.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
13946ba27b
gfxstream/guest: add GetRingParamsFromCapset function
...
Every capset provides ASG ring metadata. Have a function for
that.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
7bfcb8d0e0
gfxstream: query non-Vulkan caps from the guest
...
In case the guest starts asking for them. Will likely be added in
the future.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
a4ff4b058d
gfxstream: gfxstreamCapset --> vulkanCapset
...
We couple everything as one giant gfxstream capset, and also have
a renderControl path for versioning.
Long term, it makes sense to nuke renderControl path (which controls
many legacy GLES bits) and rely on a virtgpu-style versioning scheme
[each context type gets it's one capset].
Some capability sets are experimental. For example, GFXSTREAM_COMPOSER.
However, Fuchsia for example does rip out parts of HostConnection
and use in it's display controller. Probably have a cross-platform
API that performs that functions would a long-term clean solution.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Joshua Duong
a5c7ce4dda
For goldfish pipe, compute colorBufferMemoryIndex the same as host.
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
5856a73b99
Implement vkQueueSubmit2 in the same way as vkQueueSubmit
...
This commit rewrites vkQueueSubmit as a template so that the
implementation can be used by vkQueueSubmit and vkQueueSubmit2.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
89c74a010b
Update VirtioGpuPipeStream to use VirtGpu abstraction
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
02283f7bf0
Wrap AHardwareBuffer_* interactions into Gralloc interface
...
... so that upcoming end2end tests can mock out AHBs.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
72d2f698fc
Enable building guest Gfxstream components on host
...
... so that upcoming end2end tests can use the GL/VK ICDs.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
8d72255062
Update iostream namespace to gfxstream::guest
...
... to avoid conflicts with
hardware/google/gfxstream/include/render-utils/IOStream.h
when the guest is built for the host
for end2end tests.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
43732bb54c
Update namespace in libandroidemu to gfxstream::guest
...
... to avoid conflicts when the guest is built for the host
for end2end tests.
In the future, the differences between libandroidemu and
hardware/google/aemu/base/ should be consolidated and there
should be a single shared library as there isn't really
anything guest/host specific about either of these copies.
cvd start --gpu_mode=gfxstream_guest_angle_host_swiftshader
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
7acf5eaa88
Wrap interactions with sync fds in an interface
...
... so that upcoming end2end tests can set up a mock impl for
emulating sync fds in single process tests.
cvd start --gpu_mode=gfxstream_guest_angle_host_swiftshader
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
fec8e296a3
Make VirtGpu* interfaces
...
... so that upcoming end2end tests can set up a mock impl that
interacts with the host within-process.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
a133a31a7b
Add support for descriptor with inline uniform block
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Gurchetan Singh
985b412ece
gfxstream: use ASG for Vulkan streams only
...
Audio glitches are observed with gfxstream GLES if ASG is used.
ASG is a Vulkan thing anyways, so use pipe steams for Ranchu
HWC or gfxstream GLES.
Note this caused clang-format to over-format in a few places.
launch_cvd --gpu_mode=gfxstream_guest_angle
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Yahan Zhou
728fbfb62b
Fix testAndroidBaselineProfile2021Support for host swiftshader
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:58 +00:00
Jason Macnak
c9ef93e498
Add error logging to aid debugging
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Yahan Zhou
a8f4a62650
Update vk.xml and code generator
...
This commit updates vk.xml and code generator to make them backward
compatible. The updates in code generator includes:
1. Parse "protect" properly.
2. Ignore "optional" if the "optional" was added in newer vk.xml.
- This is done by having an extra table for related fields.
3. Parse latexmath properly.
4. Parse "supported" properly.
5. Skip parameters and members if they are not for Vulkan API.
6. VkNativeBufferANDROID diverged from upstream, keep the old one.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Gurchetan Singh
38673c5537
gfxstream-guest: add precise virtio-gpu capabilities
...
We need separate virtio-gpu capabilities for this features, for
separate versioning. As of right now, versioning is done via
rcGetHostExtensionsString, which calls rcGetGLString host side.
We should probably aim for separate versioning for GLES, Vulkan,
Magma -- with the possibilty of a common decoder agnostic values
for ASG.
The benefit of the virtio-gpu capabilities is they are also cached
per VM instance, so probably a bit faster than the
rcGetHostExtensionsString method.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Gurchetan Singh
680820af95
gfxstream: fix Linux guest build
...
After the move, various fixes are needed.
- Need to re-order directories in top-level meson file
- Need to add certain include dirs
- Use internal Vulkan headers. These unforunately define
Android extensions even on Linux guests, so we need a
(LINUX_GUEST_BUILD) guard until we can fix that.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Jason Macnak
66562d7c79
Move guest/shared/* to guest/*
...
python android/build/python/cmake.py --feature no-rust
python android/build/python/cmake.py --feature no-rust --gfxstream
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Jason Macnak
a19ef0a2eb
Move platform into guest
...
... as this is currently only used in the guest.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Jason Macnak
0fa40cfc7c
Handle AHB and swapchain info in VkBindImageMemoryInfo
...
... in order to help handle deferred AHB binding.
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Merged-In: I3d5e65be8331980ce544078f81f1937cfbcf520f
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Jason Macnak
9106e8c3c5
Rename imported system directory to guest
...
Reviewed-by: Aaron Ruby <aruby@blackberry.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246 >
2024-09-19 20:05:57 +00:00
Job Noorman
757d38a682
ir3/legalize: resolve WAR hazards for stc
...
Just like scalar ALU, stc writes to the local buffer and needs (ss) to
resolve WAR hazards on its sources.
Signed-off-by: Job Noorman <jnoorman@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31257 >
2024-09-19 19:30:05 +00:00
Jose Maria Casanova Crespo
6c46890325
v3d: avoid load/store of tile buffer on invalidated framebuffer
...
With the information of the invalidated framebuffer we avoid the stores
of the results of tile buffer rendering that are not going to be used
again or the loads of the tile buffer when the buffer data can be ignored
as it would be never read.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30341 >
2024-09-19 18:57:19 +00:00
José Roberto de Souza
89c6fa1883
anv: Fix condition to clear query pool with blorp
...
The comment above says it all, only when queue is not protected that
it is possible to clear query pool with blorp but it was checking
the opposite.
Fixes: d5b0526507 ("anv: propagate protected information for blorp operations")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31239 >
2024-09-19 17:54:24 +00:00
José Roberto de Souza
0ced5663e2
anv: Improve readbility of khr_perf_query_availability_offset() and khr_perf_query_data_offset()
...
No changes in behavior expected here.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31239 >
2024-09-19 17:54:24 +00:00