6.19/misc: BC-250 40 CU unlock (gfx1013 harvest bypass)#159
Open
duggasco wants to merge 3 commits into
Open
Conversation
Re-enable all 40 harvested CUs on the AMD BC-250 (gfx1013 / Cyan Skillfish) via CC_GC_SHADER_ARRAY_CONFIG + SPI_PG_ENABLE_STATIC_WGP_MASK writes during amdgpu CU enumeration. Controlled by module parameter amdgpu.bc250_cc_write_mode=3 (default off). Guarded by PCI device ID 0x13FE (BC-250 only). Verified 1.61x compute scaling at 1500MHz (pp512: 230 -> 372 tok/s). Reference: https://github.com/duggasco/bc250-40cu-unlock Signed-off-by: duggasco <duggasco@gmail.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses amdgpu_gfx_parse_disable_cu + mutex_lock as context anchors instead of absolute line numbers. Applies cleanly across kernel versions. Added to 6.17 and 6.18 in addition to 6.19. Signed-off-by: duggasco <duggasco@gmail.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fixes "malformed patch" error on CachyOS kernel builds. Signed-off-by: duggasco <duggasco@gmail.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Add a patch to re-enable all 40 harvested CUs on the AMD BC-250 (gfx1013 / Cyan Skillfish / salvaged PS5 APU).
The BC-250 ships with 24 of 40 RDNA2 CUs active. This patch writes two hardware registers during
gfx_v10_0_get_cu_info()to unlock all 40:Both are required — neither alone produces compute scaling. Controlled by
amdgpu.bc250_cc_write_mode=3(default off). Guarded by PCI device ID0x13FE.Verified Results
4-state A/B test (same board, same model, Vulkan llama-bench pp512):
At 1500MHz/900mV sweet spot: 230 → 372 tok/s = 1.61x with 83C peak.
Safety
bc250_cc_write_mode=0)0x13FE= BC-250 only)Reference