-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add proper AMD Integrated Graphics detection. #97
Merged
Merged
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2e1816b
Change AMD iGPU detection
Zormeister 1d0b5f7
Merge branch 'acidanthera:master' into master
Zormeister a53c1bb
Merge branch 'acidanthera:master' into master
Zormeister e455f32
Merge branch 'acidanthera:master' into master
Zormeister 17c3c6c
Proper Device ID detection rather than just marking all AMD devices a…
Zormeister 9ac77d1
remove the etxra 0x9800 check
Zormeister 3f0191b
Merge branch 'acidanthera:master' into master
Zormeister 363b2a6
Merge branch 'acidanthera:master' into master
Zormeister 2417095
Fixup typo
Zormeister 8f688b5
revert formatting changes from the first iGPU detection change commit
Zormeister 52f9370
convert generic integers to constants
Zormeister 76e4505
Merge branch 'acidanthera:master' into master
Zormeister File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we end up having this code, these numbers must become named constants, so that it is clear which id belongs to which family.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As for this, the &ing makes the Device ID range more generic so there isn’t a million cases.
0x1500 is commonly associated with AMD’s Raven line, 0x1600 catches devices from Renoir, Van Gogh and Rembrandt
0x1300 catches Kaveri (Spectre) and a certain Granite Ridge iGPU (0x13C0)
0x9800 catches Carrizo, Mullins (Godavari), Kabini (Kalindi) and Stoney
0x9600 and 0x9900 catch some of the legacy TeraScale iGPUs such as Trinity and Richland iirc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This information must be in the code, not in the comments to the review. Unnamed numeric literals are plain bad, make them named constants.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was going to do this already, got caught up in other things
pushed out the changes now
lmk if the names need changing at all