Repository navigation
docs/testing.md: Known problems row for the RADV host-pointer import of a section view - #9224
Closed
GustawMatuszewski wants to merge 1 commit into
Closed
GustawMatuszewski wants to merge 1 commit into
GustawMatuszewski wants to merge 1 commit into
Conversation
…of a section view On RADV the slot-133 host-VA import of a pagefile-backed section view (`MEM_MAPPED`) fails at the kernel level: `AMDGPU_GEM_USERPTR_ANONONLY` makes `amdgpu_ttm_tt_get_user_pages()` answer `-EPERM` for a file-backed userptr, Mesa 26.0.8 maps that to `VK_ERROR_UNKNOWN` (MR !40574 only normalises the code), and the layer falls back to an ordinary buffer that loses the title's VA. The row names the cause, the upstream MR and ItsNotRexed#8225's shadow fallback, verified on RDNA3.5 and RDNA4. Item: new docs item, claimed on ItsNotRexed#9065. AI-assisted (Claude Code).
|
Tested cd8c4ae on Linux, Python 3.14.4: docs tests pass, one question test_docs_repo_paths, repeated_lines, table_rows, table_ids: OK The row names a check main doesn't have yet: d3d12_existing_heap_test.cpp on main is 88 lines with no slot-133 case, and "vulkan slot-133 buffer" and "could not import its pages" only exist in #7218 and #8225, both open. Add Depends on: #7218, or hold the row until it lands? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item: new docs item (claim on #9065). Docs only, one row.
What
A Known problems row in
docs/testing.mdfor the RADV side of the slot-133 host-VA work, from the kernel-level finding first posted on #7218 (comment).d3d12_existing_heapexits 1 on itsvulkan slot-133 buffer line 186check while its other cases pass: a slot-133 resource placed at a host address, or anOpenExistingHeapFromAddressheap, whose pages are aMEM_MAPPEDpagefile-backed section view comes back as an ordinary buffer (the layer logscould not import its pagesandE_OUTOFMEMORY). Measured on an RX 9060 XT (RDNA4) and a Radeon 890M (RDNA3.5).amdgpuuserptr withAMDGPU_GEM_USERPTR_ANONONLY;amdgpu_ttm_tt_get_user_pages()answers-EPERMfor a VMA with avm_file(amdgpu_ttm.c, kernel 7.0 lines 743-746), so a file-backed section view cannot be imported at all. Mesa 26.0.8 maps every error but-EINVALtoVK_ERROR_UNKNOWN; Mesa MR !40574 (merged 2026-03-27) only normalises the code, so the pre-MR driver surfacesVK_ERROR_UNKNOWNand the layer turns it into a failed allocation.vkGetMemoryHostPointerPropertiesEXTaccepts any pointer, so the refusal only shows atvkAllocateMemorytime. Ranges from a plainVirtualAlloc(MEM_PRIVATE) do import.Why a new row
The table's RADV rows name fixture failures (
cs_w32_salu64,cs_signed_zero_nan); nothing there covers the D3D12 runtime's host-pointer import path, and #7218 / #8225 are the only places this was measured. The row is a documentation fix for the ordinary-buffer fallback's consequence, not a change to the runtime.Checks
python3 -Ion everytests/test_docs_*.py: same three pre-existing reds asmain867d922f0(test_docs_cli_flags,test_docs_design_rows,test_docs_links, all indocs/embedded_shaders.md/README.md/docs/dev-tools.md), everything else OK, includingtest_docs_table_rows,test_docs_repo_pathsandtest_docs_table_ids.tests/test_check_no_game_data.pyOK. Docs only; no game files, no runtime code.AI-assisted (Claude Code).