[pr-fix][startup][AMD] Correct the Resizable BAR notice for Radeon RX 5000 #381
Loading…
Reference in a new issue
No description provided.
Delete branch "andrewpozdnakov7-jpg/Darner:fix/374-rx5000-bar-notice"
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?
Contributor role (optional)
What it changes
Refs #374.
On main, the name match for the Radeon RX 500 series also catches RX 5500 XT, RX 5600 XT and RX 5700 XT. Darner then says the card has no Resizable BAR. AMD documents Smart Access Memory for RX 5000 on supported platforms, so that notice is too strong. Match the three-digit RX 500 models while keeping RX 5000 out of the legacy group.
When Direct3D cannot offer GPU upload heaps, the general notice now asks the player to check driver support and Resizable BAR. The capability check does not report whether the BIOS setting itself is off. No change to the upload-heap check or memory path. AMD compatibility DirectX capability check
How it was tested
7688e35onf3840d73.rustc --testfixture compiled the exact name classifier from main and the patch and ran the existing name test. All three RX 5000 false matches were removed, and nine other adapter names kept their previous classification. Both fixture tests passed.cargo clippy -p darner-gpu --lib --locked -- -D warnings,cargo xtask policy(555 files) andgit diff --checkpassed.Checklist
The change is in the startup message. A physical RX 5000 was unavailable.
Checked for overlap
e69c0f77passed.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.