gfx10: align 4-byte display swizzle row with GFX10.3 RbPlus (x2y2) #3789
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3789
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3787"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Holastor on GitHub · 2026-12-01 22:06 UTC · original
Holastor:gfx10/rbplus-4byte-display-swizzle→main· +1423 −100 · 17 files · 22 commits · draftDepends on #1469
Aligns the 4-byte
_D/displayswizzle row with GFX10.3 / RDNA2 RbPlus (----x0x1y0y1x2y2) across bothsrc/startup_stubs/gfx10_texture.handsrc/startup_stubs/gfx10_layout.h, and restores the corresponding Mesa 25.1.0 AddrLib (supportRbPlus = 1) pins.Changes
src/startup_stubs/gfx10_texture.handsrc/startup_stubs/gfx10_layout.h: update 4-byte_D/displaypattern to----x0x1y0y1x2y2.tests/startup_gfx10_layout_check.cpp: update 4-byte display equations (0x102,0x106,0x10a) to... Y0 Y1 X2 Y2 ....tests/startup_xg_gfx10_check.pyandtests/xg_swizzle_select_check.cpp: restore RbPlus pins (R32 64x64 1m 256B_DAddrLib comparison).docs/startup-runtime.mdanddocs/experiments.md: document that the 4-byte display row uses GFX10.3 RbPlusx2y2and differs from the 4-byte standard rowy2x2.Verification (
release)ctest --preset release --no-tests=error -R ^(startup_xg_.*|xg_.*|startup_gfx10_layout.*)$ -V: 20/20 passeddocs_links_check.py,bidi_controls_check.py,gfx10_texture_roundtrip_check.py: PASSBackground & Rationale
src/amd/addrlib/src/gfx10/gfx10SwizzlePattern.h), GFX10.3 / RDNA2 hardware withsupportRbPlus = 1selectsGFX10_SW_256_D_RBPLUS_PATINFO(andSW_4K_D_RBPLUS/SW_64K_D_RBPLUS), which uses pattern index 39 (----x0x1y0y1x2y2: bit 6 =x2, bit 7 =y2) for 4-byte elements, whereas non-RbPlus Navi1x uses pattern index 2 (----x0x1y0y1y2x2).#3787lets#1469merge first with a single consistent equation acrossgfx10_texture.handgfx10_layout.h, while updating both headers, pins, and docs atomically here once @R0Y00 confirms the GFX10.3 RbPlus row.mainand marked ready for review right after#1469lands.c3cae611) into textures/gfx10-tiling-runtime 17d4ef6687View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.