Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R4-PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Sum without M12: 48 d; with: 55 d. M0-M2 give the early "DXVK instance creates"
## R4-M1 status (2026-11-17)
- Done offline (fake v11+v13, `vk/check.sh` all OK, commit "R4-M1: Vulkan 1.3 device"): `MALI_DEVICE_API_VERSION` 1.3; Vulkan11/12/13 properties filled (subgroupSize/min/max 16, no subgroup ops advertised, driverID MESA_PANVK as nearest sibling, conformanceVersion 0.0.0.0 = no claim, UUIDs, maxPerSetDescriptors 1024, maxMemoryAllocationSize/maxBufferSize 1 GiB, float-controls independence NONE).
- Features true (each probed by `vk/tests/t_vk_info.c`, any other bit fails the test): timelineSemaphore, textureCompressionBC, hostQueryReset, synchronization2, dynamicRendering (draw coverage t_vk_draw), maintenance4, privateData. All others false; geometryShader rejected at CreateDevice.
- Limits stay at the 1.0 minima (never above what we exercise); t_vk_info checks them against spec minimum and the PanVK-on-Poco ceiling (R4-ORACLE).
- maxUniformBufferRange is 1 MiB (was 16 KiB): the PanVK-on-Poco value, proven on this HW with the same Buffer descriptor; DXVK/vkd3d want 64 KiB. Not raised to 128 MiB because no test binds a UBO that large. Other limits stay at the 1.0 minima (never above what we exercise); t_vk_info checks them against spec minimum and the PanVK-on-Poco ceiling (R4-ORACLE).
- New stubs: GetBufferOpaqueCaptureAddress, GetDeviceMemoryOpaqueCaptureAddress, GetDeviceImageSparseMemoryRequirements (rest of the 1.0-1.3 device entrypoints come from vk_common_*; t_vk_info checks ~75 names via vkGetDeviceProcAddr).
- Guest (Poco) verification: see below once done.
- Guest verification (Poco G925, 2026-11-17): real `vulkaninfo --summary` and full `vulkaninfo` (540 lines, rc 0, no error/VUID/invalid lines) load our ICD, `apiVersion = 1.3.363`, driverID PANVK, conformanceVersion 0.0.0.0; `t_vk_info` passes on the real device (incl. QueueSubmit2 + timeline wait, host query reset, privateData); dump saved as `vk/R4-ORACLE/vulkaninfo-ours-poco-r4m1.txt`; guest script `vk/tests/r4m1guest.sh` via `scripts/quick/qdrv`.
Expand Down
2 changes: 1 addition & 1 deletion vk/src/mali_physical_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mali_get_properties(const struct mali_gpu_info *gpu, struct vk_properties *p)
.maxImageDimensionCube = 4096,
.maxImageArrayLayers = 256,
.maxTexelBufferElements = 65536,
.maxUniformBufferRange = 16384,
.maxUniformBufferRange = 1u << 20, /* 1 MiB = PanVK-on-Poco ceiling (R4-ORACLE vulkaninfo-panvk-poco.txt), the largest UBO range proven on this HW with the same generic 32-bit-size Buffer descriptor (mali_pack_buffer). Larger values are not exercised by any test; see R4-PLAN.md */
.maxStorageBufferRange = 1u << 27,
.maxPushConstantsSize = 128,
.maxMemoryAllocationCount = 4096,
Expand Down
1 change: 1 addition & 0 deletions vk/tests/t_vk_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ main(int argc, char **argv)
CHECK(L->maxImageDimension2D >= 4096 && L->maxFramebufferWidth >= 4096 && L->maxColorAttachments >= 4, "image minimums");
CHECK(L->maxPushConstantsSize >= 128 && L->maxPushConstantsSize <= 256, "push constants");
CHECK(L->maxUniformBufferRange >= 16384 && L->maxUniformBufferRange <= 1048576, "ubo range");
CHECK(L->maxUniformBufferRange <= L->maxStorageBufferRange && L->maxUniformBufferRange <= m4.maxBufferSize, "ubo range bindable: <= storage range and maxBufferSize");
CHECK(L->maxBoundDescriptorSets >= 4 && L->maxBoundDescriptorSets <= 7, "bound sets");
CHECK(L->maxComputeWorkGroupInvocations >= 128 && L->maxComputeWorkGroupInvocations <= 1024, "wg invocations");
CHECK(L->maxComputeSharedMemorySize >= 16384 && L->maxComputeSharedMemorySize <= 32768, "shared mem");
Expand Down